AGX Dynamics  2.35.0.1
agxQt::GranularImpactsDrawable Class Reference

#include <GranularImpactsDrawable.h>

+ Inheritance diagram for agxQt::GranularImpactsDrawable:

Public Member Functions

 GranularImpactsDrawable (agx::ParticleSystem *particleSystem)
 
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
 
agx::Real getImpactRenderingCutoffEnergy () const
 
agx::RangeReal getImpactRenderingEnergyColoringRange () const
 
agx::Real getImpactRenderingStartTime () const
 
bool getRenderParticleGeometryImpacts () const
 
bool getRenderParticleParticleImpacts () const
 
agx::Real getRenderPointRadius () const
 
bool hasParticleSystem () const
 
virtual bool isSameKindAs (const osg::Object *obj) const
 
virtual const char * libraryName () const
 
void setEnable (bool enable)
 
void setImpactRenderingCutoffEnergy (agx::Real cutoffEnergy)
 
void setImpactRenderingEnergyColoringRange (const agx::RangeReal &range)
 
void setImpactRenderingStartTime (agx::Real cutoffTime)
 
void setRenderParticleGeometryImpacts (bool enable)
 
void setRenderParticleParticleImpacts (bool enable)
 
void setRenderPointRadius (agx::Real radius)
 
void setUseParticleColorForImpactColoring (bool enable)
 
void updateDrawable ()
 

Protected Member Functions

virtual ~GranularImpactsDrawable ()
 
void initColors ()
 

Protected Attributes

agxData::BufferRef m_colorBuffer
 
osg::ref_ptr< osgSim::ColorRange > m_colorRange
 
agx::Real m_contactRadius
 
agx::Real m_cutoffEnergy
 
bool m_enable
 
bool m_firstFrame
 
bool m_hasGranularLicense
 
agx::Real m_maxEnergy
 
agx::Real m_minEnergy
 
agx::ParticleSystemObserver m_particleSystem
 
agxData::BufferRef m_radiusBuffer
 
agx::Real m_renderingStartTime
 
bool m_renderParticleGeometry
 
bool m_renderParticleParticle
 
agx::TaskGroupRef m_renderTask
 
agxSDK::SimulationObserver m_simulation
 
bool m_useParticleColorForImpactColoring
 
agxData::BufferRef m_verticesBuffer
 

Detailed Description

Definition at line 36 of file GranularImpactsDrawable.h.

Constructor & Destructor Documentation

◆ GranularImpactsDrawable()

agxQt::GranularImpactsDrawable::GranularImpactsDrawable ( agx::ParticleSystem *  particleSystem)

◆ ~GranularImpactsDrawable()

virtual agxQt::GranularImpactsDrawable::~GranularImpactsDrawable ( )
protectedvirtual

Member Function Documentation

◆ className()

virtual const char* agxQt::GranularImpactsDrawable::className ( ) const
inlinevirtual

Definition at line 45 of file GranularImpactsDrawable.h.

◆ clone()

virtual osg::Object* agxQt::GranularImpactsDrawable::clone ( const osg::CopyOp &  ) const
inlinevirtual

Definition at line 42 of file GranularImpactsDrawable.h.

◆ cloneType()

virtual osg::Object* agxQt::GranularImpactsDrawable::cloneType ( ) const
inlinevirtual

Definition at line 41 of file GranularImpactsDrawable.h.

◆ computeBound()

virtual osg::BoundingBox agxQt::GranularImpactsDrawable::computeBound ( ) const
virtual

Compute the bounding box around Drawables's geometry.

◆ drawImplementation()

virtual void agxQt::GranularImpactsDrawable::drawImplementation ( osg::RenderInfo &  renderInfo) const
virtual

The actual draw method for the merged bodies.

◆ getEnable()

bool agxQt::GranularImpactsDrawable::getEnable ( ) const

Definition at line 128 of file GranularImpactsDrawable.h.

References m_enable.

◆ getImpactRenderingCutoffEnergy()

agx::Real agxQt::GranularImpactsDrawable::getImpactRenderingCutoffEnergy ( ) const

◆ getImpactRenderingEnergyColoringRange()

agx::RangeReal agxQt::GranularImpactsDrawable::getImpactRenderingEnergyColoringRange ( ) const

◆ getImpactRenderingStartTime()

agx::Real agxQt::GranularImpactsDrawable::getImpactRenderingStartTime ( ) const

Definition at line 140 of file GranularImpactsDrawable.h.

◆ getRenderParticleGeometryImpacts()

bool agxQt::GranularImpactsDrawable::getRenderParticleGeometryImpacts ( ) const

◆ getRenderParticleParticleImpacts()

bool agxQt::GranularImpactsDrawable::getRenderParticleParticleImpacts ( ) const

◆ getRenderPointRadius()

agx::Real agxQt::GranularImpactsDrawable::getRenderPointRadius ( ) const

Definition at line 134 of file GranularImpactsDrawable.h.

◆ hasParticleSystem()

bool agxQt::GranularImpactsDrawable::hasParticleSystem ( ) const

Definition at line 132 of file GranularImpactsDrawable.h.

◆ initColors()

void agxQt::GranularImpactsDrawable::initColors ( )
protected

◆ isSameKindAs()

virtual bool agxQt::GranularImpactsDrawable::isSameKindAs ( const osg::Object *  obj) const
inlinevirtual

Definition at line 43 of file GranularImpactsDrawable.h.

◆ libraryName()

virtual const char* agxQt::GranularImpactsDrawable::libraryName ( ) const
inlinevirtual

Definition at line 44 of file GranularImpactsDrawable.h.

◆ setEnable()

void agxQt::GranularImpactsDrawable::setEnable ( bool  enable)

Definition at line 130 of file GranularImpactsDrawable.h.

References m_enable.

◆ setImpactRenderingCutoffEnergy()

void agxQt::GranularImpactsDrawable::setImpactRenderingCutoffEnergy ( agx::Real  cutoffEnergy)

◆ setImpactRenderingEnergyColoringRange()

void agxQt::GranularImpactsDrawable::setImpactRenderingEnergyColoringRange ( const agx::RangeReal &  range)

◆ setImpactRenderingStartTime()

void agxQt::GranularImpactsDrawable::setImpactRenderingStartTime ( agx::Real  cutoffTime)

Definition at line 138 of file GranularImpactsDrawable.h.

◆ setRenderParticleGeometryImpacts()

void agxQt::GranularImpactsDrawable::setRenderParticleGeometryImpacts ( bool  enable)

◆ setRenderParticleParticleImpacts()

void agxQt::GranularImpactsDrawable::setRenderParticleParticleImpacts ( bool  enable)

◆ setRenderPointRadius()

void agxQt::GranularImpactsDrawable::setRenderPointRadius ( agx::Real  radius)

Definition at line 136 of file GranularImpactsDrawable.h.

◆ setUseParticleColorForImpactColoring()

void agxQt::GranularImpactsDrawable::setUseParticleColorForImpactColoring ( bool  enable)

◆ updateDrawable()

void agxQt::GranularImpactsDrawable::updateDrawable ( )

Member Data Documentation

◆ m_colorBuffer

agxData::BufferRef agxQt::GranularImpactsDrawable::m_colorBuffer
protected

Definition at line 124 of file GranularImpactsDrawable.h.

◆ m_colorRange

osg::ref_ptr<osgSim::ColorRange> agxQt::GranularImpactsDrawable::m_colorRange
protected

Definition at line 117 of file GranularImpactsDrawable.h.

◆ m_contactRadius

agx::Real agxQt::GranularImpactsDrawable::m_contactRadius
protected

Definition at line 115 of file GranularImpactsDrawable.h.

◆ m_cutoffEnergy

agx::Real agxQt::GranularImpactsDrawable::m_cutoffEnergy
protected

Definition at line 120 of file GranularImpactsDrawable.h.

◆ m_enable

bool agxQt::GranularImpactsDrawable::m_enable
protected

Definition at line 107 of file GranularImpactsDrawable.h.

Referenced by getEnable(), and setEnable().

◆ m_firstFrame

bool agxQt::GranularImpactsDrawable::m_firstFrame
mutableprotected

Definition at line 106 of file GranularImpactsDrawable.h.

◆ m_hasGranularLicense

bool agxQt::GranularImpactsDrawable::m_hasGranularLicense
protected

Definition at line 108 of file GranularImpactsDrawable.h.

◆ m_maxEnergy

agx::Real agxQt::GranularImpactsDrawable::m_maxEnergy
protected

Definition at line 118 of file GranularImpactsDrawable.h.

◆ m_minEnergy

agx::Real agxQt::GranularImpactsDrawable::m_minEnergy
protected

Definition at line 119 of file GranularImpactsDrawable.h.

◆ m_particleSystem

agx::ParticleSystemObserver agxQt::GranularImpactsDrawable::m_particleSystem
mutableprotected

Definition at line 103 of file GranularImpactsDrawable.h.

◆ m_radiusBuffer

agxData::BufferRef agxQt::GranularImpactsDrawable::m_radiusBuffer
protected

Definition at line 125 of file GranularImpactsDrawable.h.

◆ m_renderingStartTime

agx::Real agxQt::GranularImpactsDrawable::m_renderingStartTime
protected

Definition at line 121 of file GranularImpactsDrawable.h.

◆ m_renderParticleGeometry

bool agxQt::GranularImpactsDrawable::m_renderParticleGeometry
protected

Definition at line 111 of file GranularImpactsDrawable.h.

◆ m_renderParticleParticle

bool agxQt::GranularImpactsDrawable::m_renderParticleParticle
protected

Definition at line 110 of file GranularImpactsDrawable.h.

◆ m_renderTask

agx::TaskGroupRef agxQt::GranularImpactsDrawable::m_renderTask
protected

Definition at line 105 of file GranularImpactsDrawable.h.

◆ m_simulation

agxSDK::SimulationObserver agxQt::GranularImpactsDrawable::m_simulation
mutableprotected

Definition at line 102 of file GranularImpactsDrawable.h.

◆ m_useParticleColorForImpactColoring

bool agxQt::GranularImpactsDrawable::m_useParticleColorForImpactColoring
protected

Definition at line 113 of file GranularImpactsDrawable.h.

◆ m_verticesBuffer

agxData::BufferRef agxQt::GranularImpactsDrawable::m_verticesBuffer
protected

Definition at line 123 of file GranularImpactsDrawable.h.


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