![]() |
VR-Forces 4.0.4 Class Documentation
|
The model instance to draw a cylinder spanning between two poitns. More...

Public Member Functions | |
| DtAttachedCylinderModelInstance (DtDe &de) | |
| CTOR. | |
| virtual | ~DtAttachedCylinderModelInstance () |
| DTOR. | |
| virtual void | setStartPoint (const osg::Vec3 &position) |
| Set one of the endpoints of the cylinder. | |
| virtual void | setEndPoint (const osg::Vec3 &position) |
| Set the other of the endpoints of the cylinder. | |
| virtual void | setVisible (bool isVisible) |
| Change the visibility of the cylinder. | |
Protected Member Functions | |
| virtual void | updateTransform () |
| Update the transform matrix of the cylinder. | |
| void | spanTwoPoints (osg::Matrix &cylinderTransform) |
Protected Attributes | |
| osg::Vec3 | myStartPoint |
| osg::Vec3 | myEndPoint |
The model instance to draw a cylinder spanning between two poitns.
| virtual makVrv::DtAttachedCylinderModelInstance::~DtAttachedCylinderModelInstance | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtAttachedCylinderModelInstance::setStartPoint | ( | const osg::Vec3 & | position | ) | [virtual] |
Set one of the endpoints of the cylinder.
| virtual void makVrv::DtAttachedCylinderModelInstance::setEndPoint | ( | const osg::Vec3 & | position | ) | [virtual] |
Set the other of the endpoints of the cylinder.
| virtual void makVrv::DtAttachedCylinderModelInstance::setVisible | ( | bool | isVisible | ) | [virtual] |
Change the visibility of the cylinder.
Reimplemented from makVrv::DtCylinderModelInstance.
| virtual void makVrv::DtAttachedCylinderModelInstance::updateTransform | ( | ) | [protected, virtual] |
Update the transform matrix of the cylinder.
Reimplemented from makVrv::DtCylinderModelInstance.
| void makVrv::DtAttachedCylinderModelInstance::spanTwoPoints | ( | osg::Matrix & | cylinderTransform | ) | [protected] |
osg::Vec3 makVrv::DtAttachedCylinderModelInstance::myStartPoint [protected] |
osg::Vec3 makVrv::DtAttachedCylinderModelInstance::myEndPoint [protected] |