![]() |
VR-Forces 4.0.4 Class Documentation
|
Ribbon implementation that composes multiple child ribbons. More...

Public Types | |
| typedef std::vector < DtOsgRibbon * > | RibbonSet |
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. | |
Protected Types | |
| typedef std::vector < osg::ref_ptr< DtOsgRibbon > > | RibbonRefPtrSet |
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. | |
Protected Attributes | |
| RibbonRefPtrSet | myRibbons |
| Set of sub-ribbons. | |
| osg::ref_ptr< osg::Group > | myNode |
Ribbon implementation that composes multiple child ribbons.
| typedef std::vector<DtOsgRibbon*> makVrv::DtOsgMultiRibbon::RibbonSet |
typedef std::vector<osg::ref_ptr<DtOsgRibbon> > makVrv::DtOsgMultiRibbon::RibbonRefPtrSet [protected] |
| makVrv::DtOsgMultiRibbon::DtOsgMultiRibbon | ( | RibbonSet & | ribbons | ) |
CTOR.
| makVrv::DtOsgMultiRibbon::~DtOsgMultiRibbon | ( | ) | [protected] |
DTOR.
| osg::Node* makVrv::DtOsgMultiRibbon::node | ( | ) | [virtual] |
Get the geometry node for the multi-ribbon.
Reimplemented from makVrv::DtOsgRibbon.
| void makVrv::DtOsgMultiRibbon::addRibbon | ( | DtOsgRibbon * | ribbon | ) |
Add a ribbon to the multi-ribbon.
| virtual void makVrv::DtOsgMultiRibbon::update | ( | double | dt, |
| double | simTime | ||
| ) | [protected, virtual] |
Update the ribbon.
Reimplemented from makVrv::DtOsgRibbon.
| virtual void makVrv::DtOsgMultiRibbon::addParticle | ( | osg::Vec3d const & | left, |
| osg::Vec3d const & | right, | ||
| double | simTime | ||
| ) | [protected, virtual] |
Add a particle to the ribbon.
Implements makVrv::DtOsgRibbon.
| virtual float makVrv::DtOsgMultiRibbon::currentSegmentLength | ( | ) | [protected, virtual] |
Find the length of the current ribbon segment.
Implements makVrv::DtOsgRibbon.
| virtual void makVrv::DtOsgMultiRibbon::extendCurrentSegment | ( | osg::Vec3d const & | left, |
| osg::Vec3d const & | right, | ||
| double | simTime | ||
| ) | [protected, virtual] |
Extend the current segment to left and right points.
Implements makVrv::DtOsgRibbon.
| virtual osg::Drawable* makVrv::DtOsgMultiRibbon::getDrawable | ( | ) | [protected, virtual] |
Get the drawable responsible for drawing the ribbon.
Implements makVrv::DtOsgRibbon.
RibbonRefPtrSet makVrv::DtOsgMultiRibbon::myRibbons [protected] |
Set of sub-ribbons.
osg::ref_ptr<osg::Group> makVrv::DtOsgMultiRibbon::myNode [protected] |