16 #include <osg/Geometry>
20 class DrawElementsUInt;
40 const osg::Vec4& color,
float maxLength );
46 virtual void traverse( osg::NodeVisitor& nv );
51 virtual void setMaxSegments(
long segments );
56 virtual void addParticle( osg::Vec3d
const& left,
57 osg::Vec3d
const& right,
double simTime );
60 virtual float currentSegmentLength();
63 virtual void extendCurrentSegment( osg::Vec3d
const& left,
64 osg::Vec3d
const& right,
double simTime );
69 virtual osg::Drawable* getDrawable();
72 virtual int particleIndexAtOffset(
int offset );
76 virtual void update();
79 virtual void setColor(
const osg::Vec4& color );
85 virtual void updateBounds(
const osg::Vec3&
point);
97 virtual void expandBoundBy(
const osg::Vec3d& point)
99 _boundingBox.expandBy(point);