AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agxOSG::SoilParticleSystemDrawable Class Reference

Internal drawable class for drawing the Voxel grid structure. More...

#include <SoilParticleSystemDrawable.h>

+ Inheritance diagram for agxOSG::SoilParticleSystemDrawable:

Public Member Functions

 SoilParticleSystemDrawable (agxTerrain::Terrain *terrain)
 
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 merged bodies. More...
 
bool getEnable () const
 
bool isInitialized () const
 
virtual bool isSameKindAs (const osg::Object *obj) const
 
virtual const char * libraryName () const
 
void onAddNotification (agxSDK::Simulation *simulation)
 
void onRemoveNotification (agxSDK::Simulation *simulation)
 
void setEnable (bool enable)
 

Protected Member Functions

virtual ~SoilParticleSystemDrawable ()
 

Protected Attributes

bool m_enable
 
osg::Group * m_group
 
agx::TaskGroupRef m_renderTask
 
agxTerrain::TerrainRef m_terrain
 

Detailed Description

Internal drawable class for drawing the Voxel grid structure.

Definition at line 38 of file SoilParticleSystemDrawable.h.

Constructor & Destructor Documentation

agxOSG::SoilParticleSystemDrawable::SoilParticleSystemDrawable ( agxTerrain::Terrain *  terrain)
virtual agxOSG::SoilParticleSystemDrawable::~SoilParticleSystemDrawable ( )
protectedvirtual

Member Function Documentation

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

Definition at line 55 of file SoilParticleSystemDrawable.h.

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

Definition at line 52 of file SoilParticleSystemDrawable.h.

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

Definition at line 51 of file SoilParticleSystemDrawable.h.

virtual osg::BoundingBox agxOSG::SoilParticleSystemDrawable::computeBound ( ) const
virtual

Compute the bounding box around Drawables's geometry.

virtual void agxOSG::SoilParticleSystemDrawable::drawImplementation ( osg::RenderInfo &  renderInfo) const
virtual

The actual draw method for the merged bodies.

bool agxOSG::SoilParticleSystemDrawable::getEnable ( ) const
bool agxOSG::SoilParticleSystemDrawable::isInitialized ( ) const
Returns
true when the render task has been added to the simulation
virtual bool agxOSG::SoilParticleSystemDrawable::isSameKindAs ( const osg::Object *  obj) const
inlinevirtual

Definition at line 53 of file SoilParticleSystemDrawable.h.

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

Definition at line 54 of file SoilParticleSystemDrawable.h.

void agxOSG::SoilParticleSystemDrawable::onAddNotification ( agxSDK::Simulation *  simulation)
void agxOSG::SoilParticleSystemDrawable::onRemoveNotification ( agxSDK::Simulation *  simulation)
void agxOSG::SoilParticleSystemDrawable::setEnable ( bool  enable)

Member Data Documentation

bool agxOSG::SoilParticleSystemDrawable::m_enable
protected

Definition at line 82 of file SoilParticleSystemDrawable.h.

osg::Group* agxOSG::SoilParticleSystemDrawable::m_group
protected

Definition at line 80 of file SoilParticleSystemDrawable.h.

agx::TaskGroupRef agxOSG::SoilParticleSystemDrawable::m_renderTask
protected

Definition at line 81 of file SoilParticleSystemDrawable.h.

agxTerrain::TerrainRef agxOSG::SoilParticleSystemDrawable::m_terrain
protected

Definition at line 79 of file SoilParticleSystemDrawable.h.


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