#include <DrawColoredMesh.h>

Public Attributes | |
| friend | BaseDrawColoredMesh |
Public Attributes inherited from sofa::core::visual::BaseDrawColoredMesh< DrawElementColoredMesh< sofa::geometry::Tetrahedron > > | |
| SReal | elementSpace |
Static Public Attributes | |
| static constexpr std::size_t | NumberTrianglesInTetrahedron = 4 |
Public Member Functions | |
| template<class PositionContainer , class IndicesContainer , class ColorContainer > | |
| void | doDraw (sofa::helper::visual::DrawTool *drawTool, const PositionContainer &position, sofa::core::topology::BaseMeshTopology *topology, const IndicesContainer &elementIndices, const ColorContainer &nodesColors) |
Public Member Functions inherited from sofa::core::visual::BaseDrawColoredMesh< DrawElementColoredMesh< sofa::geometry::Tetrahedron > > | |
| virtual | ~BaseDrawColoredMesh ()=default |
| void | drawAllElements (sofa::helper::visual::DrawTool *drawTool, const PositionContainer &position, sofa::core::topology::BaseMeshTopology *topology, const ColorContainer &nodesColors) |
| void | drawSomeElements (sofa::helper::visual::DrawTool *drawTool, const PositionContainer &position, sofa::core::topology::BaseMeshTopology *topology, const IndicesContainer &elementIndices, const ColorContainer &nodesColors) |
Additional Inherited Members | |
Protected Attributes inherited from sofa::core::visual::BaseDrawColoredMesh< DrawElementColoredMesh< sofa::geometry::Tetrahedron > > | |
| std::vector< sofa::type::Vec3 > | renderedPoints |
| std::vector< sofa::type::RGBAColor > | colors |
Protected Member Functions inherited from sofa::core::visual::BaseDrawColoredMesh< DrawElementColoredMesh< sofa::geometry::Tetrahedron > > | |
| PositionType | applyElementSpace (const PositionType &position, const PositionType &elementCenter) const |
Static Protected Member Functions inherited from sofa::core::visual::BaseDrawColoredMesh< DrawElementColoredMesh< sofa::geometry::Tetrahedron > > | |
| static sofa::type::RGBAColor | getColor (const ColorContainer &container, std::size_t elementId, std::size_t localId, std::size_t globalId) |
| static PositionContainer::value_type | elementCenter (const PositionContainer &position, const ElementType &element) |
| friend sofa::core::visual::DrawElementColoredMesh< sofa::geometry::Tetrahedron >::BaseDrawColoredMesh |
|
staticconstexpr |
|
inline |