Simox
2.3.74.0
|
Public Member Functions | |
Visualization (const VisualizationNodePtr visualizationNode) | |
Visualization (const std::vector< VisualizationNodePtr > &visualizationNodes) | |
virtual | ~Visualization () |
virtual bool | highlight (VisualizationNodePtr visualizationNode, bool enable) |
virtual bool | highlight (unsigned int which, bool enable) |
virtual void | colorize (VisualizationFactory::Color c) |
virtual void | setTransparency (float transparency) |
virtual bool | isVisualizationNodeRegistered (VisualizationNodePtr visualizationNode) |
virtual VisualizationPtr | clone () |
virtual int | getNumFaces () |
get total number of faces (i.e. triangles) of all visualizations that are stored in this object More... | |
std::vector< VisualizationNodePtr > | getVisualizationNodes () |
Static Public Member Functions | |
static std::string | getFactoryName () |
Protected Attributes | |
std::vector< VisualizationNodePtr > | visualizationNodes |
VirtualRobot::Visualization::Visualization | ( | const VisualizationNodePtr | visualizationNode | ) |
VirtualRobot::Visualization::Visualization | ( | const std::vector< VisualizationNodePtr > & | visualizationNodes | ) |
|
virtualdefault |
|
virtual |
Reimplemented in VirtualRobot::CoinVisualization.
|
virtual |
Colorize this visualization.
c | The color to apply. To disable the colorization apply Color::None() |
Reimplemented in VirtualRobot::CoinVisualization.
|
inlinestatic |
|
virtual |
get total number of faces (i.e. triangles) of all visualizations that are stored in this object
|
inline |
|
virtual |
Highlight a visualization node.
visualizationNode | This node must be part of this visualization, passed to the constructor. |
enable | Do/Undo highlighting. |
Reimplemented in VirtualRobot::CoinVisualization.
|
virtual |
Highlight a visualization node.
which | The index of the visualionNodes, passed to the constructor. |
enable | Do/Undo highlighting. |
Reimplemented in VirtualRobot::CoinVisualization.
|
virtual |
|
virtual |
Colorize this visualization, but just set the transparency flag (no additional colorization is performed).
transparency | The transparent value in [0..1]. |
Reimplemented in VirtualRobot::CoinVisualization.
|
protected |