VisualizationMesh Struct Reference

#include <RobotAPI/components/ArViz/Coin/VisualizationMesh.h>

+ Inheritance diagram for VisualizationMesh:

Public Types

using ElementType = data::ElementMesh
 
- Public Types inherited from TypedElementVisualization< SoSeparator >
using NodeType = SoSeparator
 

Public Member Functions

bool update (ElementType const &element)
 
 VisualizationMesh ()
 
- Public Member Functions inherited from TypedElementVisualization< SoSeparator >
 TypedElementVisualization ()
 
 ~TypedElementVisualization ()
 
- Public Member Functions inherited from ElementVisualization
 ElementVisualization ()
 
void updateBase (data::Element const &element)
 
virtual ~ElementVisualization ()=default
 

Public Attributes

SoCoordinate3 * coords
 
std::vector< int32_t > faces
 
SoIndexedFaceSet * faceSet
 
std::vector< SbColor > matColor
 
SoMaterial * materials
 
std::vector< int32_t > matInx
 
std::vector< floattransp
 
std::vector< SbVec3f > vertexPositions
 
- Public Attributes inherited from TypedElementVisualization< SoSeparator >
NodeTypenode
 
- Public Attributes inherited from ElementVisualization
SoMaterial * material
 
SoSeparator * separator
 
SoSwitch * switch_
 
SoTransform * transform
 
SoUnits * units
 
bool visible = true
 
bool wasUpdated = true
 

Detailed Description

Definition at line 15 of file VisualizationMesh.h.

Member Typedef Documentation

◆ ElementType

using ElementType = data::ElementMesh

Definition at line 17 of file VisualizationMesh.h.

Constructor & Destructor Documentation

◆ VisualizationMesh()

VisualizationMesh ( )
inline

Definition at line 19 of file VisualizationMesh.h.

Member Function Documentation

◆ update()

bool update ( ElementType const &  element)
inline

Definition at line 41 of file VisualizationMesh.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ coords

SoCoordinate3* coords

Definition at line 120 of file VisualizationMesh.h.

◆ faces

std::vector<int32_t> faces

Definition at line 126 of file VisualizationMesh.h.

◆ faceSet

SoIndexedFaceSet* faceSet

Definition at line 121 of file VisualizationMesh.h.

◆ matColor

std::vector<SbColor> matColor

Definition at line 123 of file VisualizationMesh.h.

◆ materials

SoMaterial* materials

Definition at line 119 of file VisualizationMesh.h.

◆ matInx

std::vector<int32_t> matInx

Definition at line 127 of file VisualizationMesh.h.

◆ transp

std::vector<float> transp

Definition at line 124 of file VisualizationMesh.h.

◆ vertexPositions

std::vector<SbVec3f> vertexPositions

Definition at line 125 of file VisualizationMesh.h.


The documentation for this struct was generated from the following file: