18 class DrawElementsUInt;
40 const osg::Vec4& color,
osg::Texture* tex,
float maxLength);
55 virtual void setTextureRepeat(
float textureRepeat);
58 virtual void addParticle(
const osg::Vec3d & left,
const osg::Vec3d & right,
62 virtual float currentSegmentLength();
65 virtual void extendCurrentSegment(osg::Vec3d
const& left,
66 osg::Vec3d
const& right,
double simTime);
71 virtual void cleanupOldSegments(
double simTime);
74 virtual osg::Drawable* getDrawable();
77 virtual int particleIndexAtOffset(
int offset);
80 virtual void rotateDrawableIndices(
int amount);
83 virtual osg::Vec2 getTextureCoordinateFor(
int pointIndex,
float vScale);
86 virtual osg::Geode* createGeode();
124 const osg::Vec4& color,
osg::Texture* tex,
float maxLength = 2000);
Diagonal crossing liens.
Definition: DtTacticalGraphicUtilities.h:93
Definition: DtOsgDecalRibbon.h:104
Virtual base class.
Definition: DtVirtualBaseClass.h:22
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
bool myWrappingVertices
Definition: DtOsgDecalRibbon.h:95
Contains makVrv::DtVirtualBaseClass class.
std::string myTextureFilename
Definition: DtOsgDecalRibbon.h:96
osg::ref_ptr< osg::Geometry > myGeometry
Definition: DtOsgDecalRibbon.h:92
int myParticleIndex
Definition: DtOsgDecalRibbon.h:97
Base class for OSG ribbon implementations.
Definition: DtOsgRibbon.h:25
float myTextureRepeat
Definition: DtOsgDecalRibbon.h:98
osg::ref_ptr< osg::Vec2Array > myTextureCoordinates
Definition: DtOsgDecalRibbon.h:90
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
osg::ref_ptr< osg::Vec3Array > myPoints
Definition: DtOsgDecalRibbon.h:89
osg::ref_ptr< osg::DrawElementsUInt > myRibbon
Definition: DtOsgDecalRibbon.h:91
voidpf uLong offset
Definition: ioapi.h:42
OpenSceneGraph implementation of a textured ribbon Used to draw effects like tread tracks that follow...
Definition: DtOsgDecalRibbon.h:28
osg::ref_ptr< osg::Texture > myTexture
Definition: DtOsgDecalRibbon.h:93