VisualizationObject Struct Reference

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

+ Inheritance diagram for VisualizationObject:

Public Types

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

Public Member Functions

void recreateVisualizationNodes (int drawStyle)
 
bool update (ElementType const &element)
 
- 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

LoadedObject loaded
 
int loadedDrawStyle = data::ModelDrawStyle::ORIGINAL
 
- 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 18 of file VisualizationObject.h.

Member Typedef Documentation

◆ ElementType

using ElementType = data::ElementObject

Definition at line 20 of file VisualizationObject.h.

Member Function Documentation

◆ recreateVisualizationNodes()

void recreateVisualizationNodes ( int  drawStyle)

Definition at line 211 of file VisualizationObject.cpp.

+ Here is the caller graph for this function:

◆ update()

bool update ( ElementType const &  element)

Definition at line 158 of file VisualizationObject.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ loaded

LoadedObject loaded

Definition at line 26 of file VisualizationObject.h.

◆ loadedDrawStyle

int loadedDrawStyle = data::ModelDrawStyle::ORIGINAL

Definition at line 27 of file VisualizationObject.h.


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