19 class DrawElementsUInt;
35 const osg::Vec4& color,
osg::Texture* tex,
float maxLength = 2000);
39 virtual void setTextureRepeat(
float textureRepeat);
46 virtual void addParticle(
const osg::Vec3d & left,
const osg::Vec3d & right,
50 virtual float currentSegmentLength();
53 virtual void extendCurrentSegment(osg::Vec3d
const& left,
54 osg::Vec3d
const& right,
double simTime);
57 virtual osg::Drawable* getDrawable();
60 virtual int particleIndexAtOffset(
int offset);
63 virtual void rotateDrawableIndices(
int amount);
66 virtual osg::Vec2 getTextureCoordinateFor(
int pointIndex,
float vScale);
69 virtual osg::Geode* createGeode();