17 #include <osg/Geometry>
21 class DrawElementsUInt;
40 const osg::Vec4& color,
float maxLength,
float timeout);
58 virtual void traverse( osg::NodeVisitor& nv );
63 virtual void setMaxSegments(
long segments );
68 virtual void addParticle( osg::Vec3d
const& left,
69 osg::Vec3d
const& right,
double simTime );
72 virtual float currentSegmentLength();
75 virtual void extendCurrentSegment( osg::Vec3d
const& left,
76 osg::Vec3d
const& right,
double simTime );
81 virtual void cleanupOldSegments(
double simTime);
86 virtual osg::Drawable* getDrawable();
89 virtual int particleIndexAtOffset(
int offset );
93 virtual void update();
96 virtual void setColor(
const osg::Vec4& color );
102 virtual void updateBounds(
const osg::Vec3& point);
122 const osg::CopyOp& copyop);
134 virtual osg::BoundingBox computeBound(
const osg::Drawable& g)
const;
152 const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
159 virtual void expandBoundBy(
const osg::Vec3d& point);
203 const osg::Vec4& color,
float maxLength,
float timeout);
bool myDirtyBound
Definition: DtOsgTrackHistoryRibbon.h:141
osg::ref_ptr< DtSharedDrawElementsUInt > myTopLine
Definition: DtOsgTrackHistoryRibbon.h:168
Virtual base class.
Definition: DtVirtualBaseClass.h:22
Contains makVrv::DtSharedDrawElementsUInt class.
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
int myActiveParticleCount
Definition: DtOsgTrackHistoryRibbon.h:176
int myParticleStartIndex
Definition: DtOsgTrackHistoryRibbon.h:175
Definition: DtOsgTrackHistoryRibbon.h:182
Contains makVrv::DtVirtualBaseClass class.
Bounding box computation callback.
Definition: DtOsgTrackHistoryRibbon.h:112
Geometry for the track history.
Definition: DtOsgTrackHistoryRibbon.h:108
osg::ref_ptr< DtSharedDrawElementsUInt > myRibbon
Definition: DtOsgTrackHistoryRibbon.h:166
Base class for OSG ribbon implementations.
Definition: DtOsgRibbon.h:25
osg::ref_ptr< DtSharedDrawElementsUInt > myBottomLine
Definition: DtOsgTrackHistoryRibbon.h:167
std::vector< double > mySegmentCreationTimes
Definition: DtOsgTrackHistoryRibbon.h:172
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
voidpf uLong offset
Definition: ioapi.h:42
OSG implementation of a track history ribbon.
Definition: DtOsgTrackHistoryRibbon.h:31
osg::ref_ptr< TrackHistoryGeometry > myGeometry
Definition: DtOsgTrackHistoryRibbon.h:170
osg::ref_ptr< osg::Vec3Array > myPoints
Definition: DtOsgTrackHistoryRibbon.h:164
int myParticleIndex
Definition: DtOsgTrackHistoryRibbon.h:174