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

OSG implementation of distributed cylinder model. More...

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

List of all members.

Public Member Functions

 DtOsgCylinderModel (DtDe &de, DtUniqueID &id)
virtual ~DtOsgCylinderModel ()
virtual void setUseTwoPositions (bool twoPoints)
 Set the whether to use two positions to control the cylinder location.
virtual void setDimensions (float length, float width, float height)
 Set the dimensions of the cylinder.
virtual void setColor (float r, float g, float b, float a)
 Set the color of the cylinder.
virtual void setPosition (int vtx, const DtVector &position)
 Set the position of the cylinder.
virtual void setOrientation (int vtx, const DtTaitBryan &orientation)
 Set the orientation of the cylinder.
virtual void setLightingEnabled (bool enabled)
 Set lighting enabled or disabled (default disabled)
virtual void setVisible (bool isVisible)
 Override setVisible to call to the scene connector.
virtual void setSolid (bool solid)
 Set whether the geometry is solid.
virtual void addToScene (const DtUniqueID &sceneObjectId, int modelSet, int visualizerType)
 Add the cylinder to the scene.
virtual void removeFromScene ()
 Remove the cylinder from the scene.

Protected Attributes

DtOsgSceneConnectormySceneConnector
bool myUseTwoPositions

Detailed Description

OSG implementation of distributed cylinder model.


Constructor & Destructor Documentation


Member Function Documentation

virtual void makVrv::DtOsgCylinderModel::setUseTwoPositions ( bool  twoPoints) [virtual]

Set the whether to use two positions to control the cylinder location.

Implements makVrv::DtCylinderModel.

virtual void makVrv::DtOsgCylinderModel::setDimensions ( float  length,
float  width,
float  height 
) [virtual]

Set the dimensions of the cylinder.

Implements makVrv::DtCylinderModel.

virtual void makVrv::DtOsgCylinderModel::setColor ( float  r,
float  g,
float  b,
float  a 
) [virtual]

Set the color of the cylinder.

Implements makVrv::DtCylinderModel.

virtual void makVrv::DtOsgCylinderModel::setPosition ( int  vtx,
const DtVector position 
) [virtual]

Set the position of the cylinder.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOsgCylinderModel::setOrientation ( int  vtx,
const DtTaitBryan &  orientation 
) [virtual]

Set the orientation of the cylinder.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOsgCylinderModel::setLightingEnabled ( bool  enabled) [virtual]

Set lighting enabled or disabled (default disabled)

Implements makVrv::DtCylinderModel.

virtual void makVrv::DtOsgCylinderModel::setVisible ( bool  isVisible) [virtual]

Override setVisible to call to the scene connector.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOsgCylinderModel::setSolid ( bool  solid) [virtual]

Set whether the geometry is solid.

Implements makVrv::DtModel.

virtual void makVrv::DtOsgCylinderModel::addToScene ( const DtUniqueID sceneObjectId,
int  modelSet,
int  visualizerType 
) [virtual]

Add the cylinder to the scene.

Implements makVrv::DtModel.

virtual void makVrv::DtOsgCylinderModel::removeFromScene ( ) [virtual]

Remove the cylinder from the scene.

Implements makVrv::DtModel.


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)