20 class DrawElementsUInt;
36 const osg::Vec4& color,
osg::Texture* tex,
float maxLength = 2000);
40 virtual void setTextureRepeat(
float textureRepeat);
47 virtual void addParticle(
const osg::Vec3d & left,
const osg::Vec3d & right,
51 virtual float currentSegmentLength();
54 virtual void extendCurrentSegment(osg::Vec3d
const& left,
55 osg::Vec3d
const& right,
double simTime);
58 virtual osg::Drawable* getDrawable();
61 virtual int particleIndexAtOffset(
int offset);
64 virtual void rotateDrawableIndices(
int amount);
67 virtual osg::Vec2 getTextureCoordinateFor(
int pointIndex,
float vScale);
70 virtual osg::Geode* createGeode();