AGX Dynamics  2.37.2.0
agxOSG::RenderTaskDrawable Class Reference

#include <RenderTaskDrawable.h>

+ Inheritance diagram for agxOSG::RenderTaskDrawable:

Public Member Functions

 RenderTaskDrawable (agx::Task *renderTask)
 
 RenderTaskDrawable (const RenderTaskDrawable &c, const osg::CopyOp &copyOp)
 
virtual const char * className () const
 
virtual osg::Object * clone (const osg::CopyOp &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 particle system. More...
 
osg::Drawable * getDrawable ()
 Return the drawable that will be drawn for each particle. More...
 
virtual bool isSameKindAs (const osg::Object *obj) const
 
virtual const char * libraryName () const
 
void setDrawable (osg::Drawable *drawable)
 Set the drawable that will be drawn for each particle. More...
 

Protected Member Functions

virtual ~RenderTaskDrawable ()
 

Protected Attributes

osg::BoundingBox m_bbox
 
osg::ref_ptr< osg::Drawable > m_drawable
 
agx::observer_ptr< agx::Task > m_renderTask
 

Detailed Description

Definition at line 33 of file RenderTaskDrawable.h.

Constructor & Destructor Documentation

◆ RenderTaskDrawable() [1/2]

agxOSG::RenderTaskDrawable::RenderTaskDrawable ( agx::Task *  renderTask)

◆ RenderTaskDrawable() [2/2]

agxOSG::RenderTaskDrawable::RenderTaskDrawable ( const RenderTaskDrawable &  c,
const osg::CopyOp &  copyOp 
)

◆ ~RenderTaskDrawable()

virtual agxOSG::RenderTaskDrawable::~RenderTaskDrawable ( )
inlineprotectedvirtual

Definition at line 66 of file RenderTaskDrawable.h.

Member Function Documentation

◆ className()

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

Definition at line 50 of file RenderTaskDrawable.h.

◆ clone()

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

Definition at line 47 of file RenderTaskDrawable.h.

◆ cloneType()

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

Definition at line 46 of file RenderTaskDrawable.h.

◆ computeBound()

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

Compute the bounding box around Drawables's geometry.

◆ drawImplementation()

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

The actual draw method for the particle system.

◆ getDrawable()

osg::Drawable* agxOSG::RenderTaskDrawable::getDrawable ( )
inline

Return the drawable that will be drawn for each particle.

Definition at line 44 of file RenderTaskDrawable.h.

◆ isSameKindAs()

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

Definition at line 48 of file RenderTaskDrawable.h.

◆ libraryName()

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

Definition at line 49 of file RenderTaskDrawable.h.

◆ setDrawable()

void agxOSG::RenderTaskDrawable::setDrawable ( osg::Drawable *  drawable)
inline

Set the drawable that will be drawn for each particle.

Definition at line 41 of file RenderTaskDrawable.h.

Member Data Documentation

◆ m_bbox

osg::BoundingBox agxOSG::RenderTaskDrawable::m_bbox
mutableprotected

Definition at line 71 of file RenderTaskDrawable.h.

◆ m_drawable

osg::ref_ptr<osg::Drawable> agxOSG::RenderTaskDrawable::m_drawable
protected

Definition at line 69 of file RenderTaskDrawable.h.

◆ m_renderTask

agx::observer_ptr<agx::Task> agxOSG::RenderTaskDrawable::m_renderTask
mutableprotected

Definition at line 70 of file RenderTaskDrawable.h.


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