Public Member Functions |
| | DtOsgMultiRibbon () |
| | CTOR.
|
| | DtOsgMultiRibbon (RibbonSet &ribbons) |
| | CTOR.
|
| osg::Node * | node () |
| | Get the geometry node for the multi-ribbon.
|
| void | addRibbon (DtOsgRibbon *ribbon) |
| | Add a ribbon to the multi-ribbon.
|
| | DtOsgRibbon () |
| | Default CTOR.
|
| | DtOsgRibbon (float segmentSpacing, const osg::Vec4 &color, float maxLength=2000) |
| | CTOR.
|
| virtual | ~DtOsgRibbon () |
| | DTOR.
|
| virtual void | traverse (osg::NodeVisitor &nv) |
| | Interrupt CullVisitors by updating the ribbon.
|
| virtual void | setColor (const osg::Vec4 &color) |
| | Set the ribbon's color.
|
| const osg::Vec4 & | color () const |
| | Get the ribbon's color.
|
| virtual void | setDroppedPoints (const osg::Vec3d &pointA, const osg::Vec3d &pointB) |
| | Set the points to drop in local coordinates.
|
| virtual void | update () |
| | optional time independent update method.
|
| virtual void | setMaxSegments (long segments) |
| | Sets the maximum number of segments allowed in the ribbon.
|
| long | maxSegments () const |
| | Gets the maximum number of segments allowed in the ribbon.
|
| virtual void | setSegmentSpacing (float spacing) |
| | Sets the maximum length of ribbon segments.
|
| float | segmentSpacing () const |
| | Gets the maximum length of the ribbon segments.
|
Protected Member Functions |
| | ~DtOsgMultiRibbon () |
| | DTOR.
|
| virtual void | update (double dt, double simTime) |
| | Update the ribbon.
|
| virtual void | addParticle (osg::Vec3d const &left, osg::Vec3d const &right, double simTime) |
| | Add a particle to the ribbon.
|
| virtual float | currentSegmentLength () |
| | Find the length of the current ribbon segment.
|
| virtual void | extendCurrentSegment (osg::Vec3d const &left, osg::Vec3d const &right, double simTime) |
| | Extend the current segment to left and right points.
|
| virtual osg::Drawable * | getDrawable () |
| | Get the drawable responsible for drawing the ribbon.
|
| virtual osg::Geode * | createGeode () |
| | Create function for creating the geode for drawing this ribbon.
|
| virtual void | setDrawable () |
| | Removes any existing drawables and add the drawable returned from getDrawable.
|
Ribbon implementation that composes multiple child ribbons.