Internal drawable class for drawing the Voxel grid structure.
virtual void drawImplementation(osg::RenderInfo &renderInfo) const
The actual draw method for the merged bodies.
agxTerrain::TerrainObserver m_terrain
virtual osg::BoundingBox computeBound() const
Compute the bounding box around Drawables's geometry.
void onAddNotification(agxSDK::Simulation *simulation)
virtual const char * libraryName() const
agx::ParticleSystem * getParticleSystem()
void onRemoveNotification(agxSDK::Simulation *simulation)
virtual bool isSameKindAs(const osg::Object *obj) const
virtual const char * className() const
void setEnable(bool enable)
SoilParticleSystemDrawable(agxTerrain::Terrain *terrain)
virtual osg::Object * clone(const osg::CopyOp &) const
agx::TaskGroupRef m_renderTask
virtual ~SoilParticleSystemDrawable()
virtual osg::Object * cloneType() const
bool isInitialized() const
A basic particle system that contains all the storages and buffers required for basic operation and a...