|
AGXDynamics
2.31.1.0
|
#include <GranularMergedBodyDrawable.h>
Inheritance diagram for agxOSG::GranularMergedBodyDrawable:Public Member Functions | |
| GranularMergedBodyDrawable (agxSDK::Simulation *simulation, osg::Group *root=nullptr) | |
| void | addRigidBodyCallback (agxSDK::Simulation *, agx::RigidBody *body) |
| virtual const char * | className () const |
| virtual osg::Object * | clone (const osg::CopyOp &) const |
| virtual osg::Object * | cloneType () const |
| virtual osg::BoundingBox | computeBound () const |
| Compute the bounding box around Drawables's geometry. More... | |
| virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
| The actual draw method for the particle system. More... | |
| bool | getEnable () const |
| agxSDK::Simulation * | getSimulation () |
| virtual bool | isSameKindAs (const osg::Object *obj) const |
| virtual const char * | libraryName () const |
| void | removeRigidBodyCallback (agxSDK::Simulation *, agx::RigidBody *body) |
| void | setEnable (bool enable) |
| void | updateMergedBodyDrawable () |
Protected Member Functions | |
| virtual | ~GranularMergedBodyDrawable () |
Protected Attributes | |
| agxSDK::Simulation::RigidBodyEvent::CallbackType | m_addRigidBodyCallback |
| agx::HashTable< agx::RigidBody *, osg::Group * > | m_createdBodies |
| bool | m_enable |
| agxSDK::Simulation::RigidBodyEvent::CallbackType | m_removeRigidBodyCallback |
| agx::TaskGroupRef | m_renderTask |
| osg::Group * | m_root |
| agxSDK::SimulationObserver | m_simulation |
Definition at line 36 of file GranularMergedBodyDrawable.h.
| agxOSG::GranularMergedBodyDrawable::GranularMergedBodyDrawable | ( | agxSDK::Simulation * | simulation, |
| osg::Group * | root = nullptr |
||
| ) |
|
protectedvirtual |
| void agxOSG::GranularMergedBodyDrawable::addRigidBodyCallback | ( | agxSDK::Simulation * | , |
| agx::RigidBody * | body | ||
| ) |
|
inlinevirtual |
Definition at line 46 of file GranularMergedBodyDrawable.h.
|
inlinevirtual |
Definition at line 43 of file GranularMergedBodyDrawable.h.
|
inlinevirtual |
Definition at line 42 of file GranularMergedBodyDrawable.h.
|
virtual |
Compute the bounding box around Drawables's geometry.
|
virtual |
The actual draw method for the particle system.
| bool agxOSG::GranularMergedBodyDrawable::getEnable | ( | ) | const |
Definition at line 94 of file GranularMergedBodyDrawable.h.
References m_enable.
| agxSDK::Simulation * agxOSG::GranularMergedBodyDrawable::getSimulation | ( | ) |
Definition at line 92 of file GranularMergedBodyDrawable.h.
References m_simulation.
|
inlinevirtual |
Definition at line 44 of file GranularMergedBodyDrawable.h.
|
inlinevirtual |
Definition at line 45 of file GranularMergedBodyDrawable.h.
| void agxOSG::GranularMergedBodyDrawable::removeRigidBodyCallback | ( | agxSDK::Simulation * | , |
| agx::RigidBody * | body | ||
| ) |
| void agxOSG::GranularMergedBodyDrawable::setEnable | ( | bool | enable | ) |
Definition at line 96 of file GranularMergedBodyDrawable.h.
References m_enable.
| void agxOSG::GranularMergedBodyDrawable::updateMergedBodyDrawable | ( | ) |
|
protected |
Definition at line 80 of file GranularMergedBodyDrawable.h.
|
protected |
Definition at line 89 of file GranularMergedBodyDrawable.h.
|
protected |
Definition at line 87 of file GranularMergedBodyDrawable.h.
Referenced by getEnable(), and setEnable().
|
protected |
Definition at line 81 of file GranularMergedBodyDrawable.h.
|
protected |
Definition at line 85 of file GranularMergedBodyDrawable.h.
|
protected |
Definition at line 84 of file GranularMergedBodyDrawable.h.
|
mutableprotected |
Definition at line 83 of file GranularMergedBodyDrawable.h.
Referenced by getSimulation().