AGX Dynamics  2.37.3.2
agxOSG::RigidBodySystemDrawable Class Reference

#include <RigidBodySystemDrawable.h>

+ Inheritance diagram for agxOSG::RigidBodySystemDrawable:

Public Types

typedef agx::HashTable< agxCollide::Geometry *, GeometryNode * > GeometryToNodeCache
 

Public Member Functions

 RigidBodySystemDrawable (agx::RigidBodyEmitter *emitter)
 
virtual const char * className () const
 
virtual osg::Object * clone (const osg::CopyOp &) const
 
virtual osg::Object * cloneType () const
 
void createRigidBodyInstance (agx::RigidBody *body)
 
virtual bool isSameKindAs (const osg::Object *obj) const
 
virtual const char * libraryName () const
 

Static Public Member Functions

static osg::Group * copyRigidBodyVisualChildren (agx::RigidBody *newBody, const RigidBodyRenderCache::RigidBodyVisualGroup &visualTemplateGroup)
 

Protected Member Functions

virtual ~RigidBodySystemDrawable ()
 
void addToBodyNodeCache (agx::RigidBody *body, RigidBodyRenderCache::RigidBodyVisualGroupRef group)
 
bool bodyCacheIsEmpty ()
 
const RigidBodyRenderCache::RigidBodyVisualGroup & getCachedBodyNode (agx::RigidBody *body) const
 
void initBodyCache (agx::RigidBodyEmitter *emitter)
 
void instanceCreated (agx::RigidBodyEmitter *emitter, agx::RigidBody *body, agx::RigidBodyEmitter::DistributionModel *model)
 

Detailed Description

Definition at line 36 of file RigidBodySystemDrawable.h.

Member Typedef Documentation

◆ GeometryToNodeCache

Constructor & Destructor Documentation

◆ RigidBodySystemDrawable()

agxOSG::RigidBodySystemDrawable::RigidBodySystemDrawable ( agx::RigidBodyEmitter *  emitter)

◆ ~RigidBodySystemDrawable()

virtual agxOSG::RigidBodySystemDrawable::~RigidBodySystemDrawable ( )
protectedvirtual

Member Function Documentation

◆ addToBodyNodeCache()

void agxOSG::RigidBodySystemDrawable::addToBodyNodeCache ( agx::RigidBody *  body,
RigidBodyRenderCache::RigidBodyVisualGroupRef  group 
)
protected

◆ bodyCacheIsEmpty()

bool agxOSG::RigidBodySystemDrawable::bodyCacheIsEmpty ( )
protected

◆ className()

virtual const char* agxOSG::RigidBodySystemDrawable::className ( ) const
inlinevirtual

◆ clone()

virtual osg::Object* agxOSG::RigidBodySystemDrawable::clone ( const osg::CopyOp &  ) const
inlinevirtual

Definition at line 45 of file RigidBodySystemDrawable.h.

◆ cloneType()

virtual osg::Object* agxOSG::RigidBodySystemDrawable::cloneType ( ) const
inlinevirtual

Definition at line 44 of file RigidBodySystemDrawable.h.

◆ copyRigidBodyVisualChildren()

static osg::Group* agxOSG::RigidBodySystemDrawable::copyRigidBodyVisualChildren ( agx::RigidBody *  newBody,
const RigidBodyRenderCache::RigidBodyVisualGroup &  visualTemplateGroup 
)
static

◆ createRigidBodyInstance()

void agxOSG::RigidBodySystemDrawable::createRigidBodyInstance ( agx::RigidBody *  body)

◆ getCachedBodyNode()

const RigidBodyRenderCache::RigidBodyVisualGroup& agxOSG::RigidBodySystemDrawable::getCachedBodyNode ( agx::RigidBody *  body) const
protected

◆ initBodyCache()

void agxOSG::RigidBodySystemDrawable::initBodyCache ( agx::RigidBodyEmitter *  emitter)
protected

◆ instanceCreated()

void agxOSG::RigidBodySystemDrawable::instanceCreated ( agx::RigidBodyEmitter *  emitter,
agx::RigidBody *  body,
agx::RigidBodyEmitter::DistributionModel *  model 
)
protected

◆ isSameKindAs()

virtual bool agxOSG::RigidBodySystemDrawable::isSameKindAs ( const osg::Object *  obj) const
inlinevirtual

Definition at line 46 of file RigidBodySystemDrawable.h.

◆ libraryName()

virtual const char* agxOSG::RigidBodySystemDrawable::libraryName ( ) const
inlinevirtual

Definition at line 47 of file RigidBodySystemDrawable.h.


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