 |
AGXDynamics
2.35.0.3
|
Go to the documentation of this file.
45 virtual void addNotification();
78 Tree() : m_renderer( nullptr ), m_graphicsRoot( nullptr ) {}
80 virtual Tree* clone();
Derive from this class to implement a listener for simulation step events.
CylinderGeometryShaderRef m_cylinderGeometry
agx::ref_ptr< TreeRenderer > TreeRendererRef
void setColor(const agx::Vec4 &color)
Assign color to this tree.
A class holding 4 dimensional vectors and providing basic arithmetic.
Tree()
Use agxModel::Tree instead if you intend to use this constructor.
virtual void addNotification(agxSDK::Simulation *simulation)
Called when this assembly is added to a simulation (given that it not already is in the simulation).
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
osg::observer_ptr< osg::Group > m_graphicsRoot
osg::ref_ptr< osg::Group > m_node
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
Tree is a structure of Branch objects in a mathematical Tree structure where a Branch can have severa...
TreeRendererRef m_renderer
AGXCORE_EXPORT Component * root()
const agx::Vec4 getColor() const
agx::ref_ptr< Tree > TreeRef
osg::ref_ptr< CylinderGeometryShader > CylinderGeometryShaderRef