VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtAttachedCylinderModelInstance Class Reference

The model instance to draw a cylinder spanning between two poitns. More...

Inheritance diagram for makVrv::DtAttachedCylinderModelInstance:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

The model instance to draw a cylinder spanning between two poitns.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

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]

Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)