17 #ifndef AGXOSG_POINTSPRITEDRAWABLE_H
18 #define AGXOSG_POINTSPRITEDRAWABLE_H
23 #include <osg/Drawable>
24 #include <osg/Version>
51 # if OSG_VERSION_GREATER_OR_EQUAL(3,4,0)
52 virtual osg::BoundingSphere computeBound()
const;
53 virtual osg::BoundingBox computeBoundingBox()
const;
66 virtual const char*
className()
const {
return "PointSpriteDrawable"; }
Abstract representation of a data buffer.
Abstract representation of a value.
virtual osg::Object * clone(const osg::CopyOp &) const
virtual void drawImplementation(osg::RenderInfo &renderInfo) const
The actual draw method for the particle system.
virtual ~PointSpriteDrawable()
virtual const char * libraryName() const
virtual osg::Object * cloneType() const
void setColor(const agx::Vec4 &color)
virtual osg::BoundingBox computeBound() const
Compute the bounding box around Drawables's geometry.
PointSpriteDrawable(agxData::Buffer *positions, agxData::Buffer *rotations, agxData::Buffer *radii, agxData::Buffer *colors, agxData::Buffer *enableRendering, agxData::Value *bound, agx::Component *context)
virtual bool isSameKindAs(const osg::Object *obj) const
void setEnable(bool flag)
virtual const char * className() const
A component is an object containing other objects, enabling hierarchical structuring.
A class holding 4 dimensional vectors and providing basic arithmetic.
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
osg::ref_ptr< PointSpriteDrawable > PointSpriteDrawableRef