#include <DrawMesh.h>

Public Attributes | |
| friend | BaseDrawMesh |
Public Attributes inherited from sofa::core::visual::BaseDrawMesh< DrawElementMesh< sofa::geometry::Tetrahedron >, 4 > | |
| SReal | elementSpace |
Static Public Attributes | |
| static constexpr std::size_t | NumberTrianglesInTetrahedron = 4 |
| static constexpr ColorContainer | defaultColors |
Static Public Attributes inherited from sofa::core::visual::BaseDrawMesh< DrawElementMesh< sofa::geometry::Tetrahedron >, 4 > | |
| static constexpr std::size_t | NumberColors |
Additional Inherited Members | |
Protected Attributes inherited from sofa::core::visual::BaseDrawMesh< DrawElementMesh< sofa::geometry::Tetrahedron >, 4 > | |
| std::array< sofa::type::vector< sofa::type::Vec3 >, NumberColors > | renderedPoints |
| Pre-allocated point buffers for rendering different color channels. More... | |
Public Member Functions inherited from sofa::core::visual::BaseDrawMesh< DrawElementMesh< sofa::geometry::Tetrahedron >, 4 > | |
| void | drawAllElements (sofa::helper::visual::DrawTool *drawTool, const PositionContainer &position, sofa::core::topology::BaseMeshTopology *topology, const ColorContainer &colors=Derived::defaultColors) |
| Draws all elements of the mesh using provided colors. More... | |
| void | drawSomeElements (sofa::helper::visual::DrawTool *drawTool, const PositionContainer &position, sofa::core::topology::BaseMeshTopology *topology, const IndicesContainer &elementIndices, const ColorContainer &colors=Derived::defaultColors) |
| Draws a subset of elements of the mesh using provided colors. More... | |
Protected Member Functions inherited from sofa::core::visual::BaseDrawMesh< DrawElementMesh< sofa::geometry::Tetrahedron >, 4 > | |
| PositionType | applyElementSpace (const PositionType &position, const PositionType &elementCenter) const |
Static Protected Member Functions inherited from sofa::core::visual::BaseDrawMesh< DrawElementMesh< sofa::geometry::Tetrahedron >, 4 > | |
| static PositionContainer::value_type | elementCenter (const PositionContainer &position, const ElementType &element) |
|
staticconstexpr |
|
staticconstexpr |