18 class DrawElementsUInt;
40 const osg::Vec4& color, osg::Texture* tex,
float maxLength);
55 virtual void setTextureRepeat(
float textureRepeat);
59 virtual void addParticle(
const osg::Vec3d & left,
const osg::Vec3d & right,
60 double simTime)
override;
63 virtual float currentSegmentLength()
override;
68 virtual void cleanupOldSegments(
double simTime)
override;
71 virtual void extendCurrentSegment(osg::Vec3d
const& left,
72 osg::Vec3d
const& right,
double simTime)
override;
75 virtual osg::Drawable* getDrawable()
override;
78 virtual osg::Geode* createGeode()
override;
81 virtual int particleIndexAtOffset(
int offset);
84 virtual void rotateDrawableIndices(
int amount);
87 virtual osg::Vec2 getTextureCoordinateFor(
int pointIndex,
float vScale)
const;
126 const osg::Vec4& color, osg::Texture* tex,
float maxLength = 2000);
Definition: DtOsgDecalRibbon.h:106
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
bool myWrappingVertices
Definition: DtOsgDecalRibbon.h:97
Contains makVrv::DtVirtualBaseClass class.
std::string myTextureFilename
Definition: DtOsgDecalRibbon.h:98
osg::ref_ptr< osg::Geometry > myGeometry
Definition: DtOsgDecalRibbon.h:94
int myParticleIndex
Definition: DtOsgDecalRibbon.h:99
Base class for OSG ribbon implementations.
Definition: DtOsgRibbon.h:25
float myTextureRepeat
Definition: DtOsgDecalRibbon.h:100
osg::ref_ptr< osg::Vec2Array > myTextureCoordinates
Definition: DtOsgDecalRibbon.h:92
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
osg::ref_ptr< osg::Vec3Array > myPoints
Definition: DtOsgDecalRibbon.h:91
osg::ref_ptr< osg::DrawElementsUInt > myRibbon
Definition: DtOsgDecalRibbon.h:93
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:95