AGX Dynamics 2.42.1.1
Loading...
Searching...
No Matches
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.
 
virtual void drawImplementation (osg::RenderInfo &renderInfo) const
 The actual draw method for the merged bodies.
 
bool getEnable () const
 
agx::ParticleSystemgetParticleSystem ()
 
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::TerrainObserver m_terrain
 

Detailed Description

Internal drawable class for drawing the Voxel grid structure.

Definition at line 37 of file SoilParticleSystemDrawable.h.

Constructor & Destructor Documentation

◆ SoilParticleSystemDrawable()

agxOSG::SoilParticleSystemDrawable::SoilParticleSystemDrawable ( agxTerrain::Terrain terrain)

◆ ~SoilParticleSystemDrawable()

virtual agxOSG::SoilParticleSystemDrawable::~SoilParticleSystemDrawable ( )
protectedvirtual

Member Function Documentation

◆ className()

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

Definition at line 54 of file SoilParticleSystemDrawable.h.

◆ clone()

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

Definition at line 51 of file SoilParticleSystemDrawable.h.

◆ cloneType()

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

Definition at line 50 of file SoilParticleSystemDrawable.h.

◆ computeBound()

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

Compute the bounding box around Drawables's geometry.

◆ drawImplementation()

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

The actual draw method for the merged bodies.

◆ getEnable()

bool agxOSG::SoilParticleSystemDrawable::getEnable ( ) const

◆ getParticleSystem()

agx::ParticleSystem * agxOSG::SoilParticleSystemDrawable::getParticleSystem ( )

◆ isInitialized()

bool agxOSG::SoilParticleSystemDrawable::isInitialized ( ) const
Returns
true when the render task has been added to the simulation

◆ isSameKindAs()

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

Definition at line 52 of file SoilParticleSystemDrawable.h.

◆ libraryName()

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

Definition at line 53 of file SoilParticleSystemDrawable.h.

◆ onAddNotification()

void agxOSG::SoilParticleSystemDrawable::onAddNotification ( agxSDK::Simulation simulation)

◆ onRemoveNotification()

void agxOSG::SoilParticleSystemDrawable::onRemoveNotification ( agxSDK::Simulation simulation)

◆ setEnable()

void agxOSG::SoilParticleSystemDrawable::setEnable ( bool  enable)

Member Data Documentation

◆ m_enable

bool agxOSG::SoilParticleSystemDrawable::m_enable
protected

Definition at line 83 of file SoilParticleSystemDrawable.h.

◆ m_group

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

Definition at line 81 of file SoilParticleSystemDrawable.h.

◆ m_renderTask

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

Definition at line 82 of file SoilParticleSystemDrawable.h.

◆ m_terrain

agxTerrain::TerrainObserver agxOSG::SoilParticleSystemDrawable::m_terrain
protected

Definition at line 80 of file SoilParticleSystemDrawable.h.


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