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

OSG implementation of distributed cuboid model. More...

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

List of all members.

Public Member Functions

 DtOsgAttachableCuboidModel (DtDe &de, DtUniqueID &id)
virtual ~DtOsgAttachableCuboidModel ()
virtual void setDimensions (double x, double y, double z)
 Set the dimensions of the cuboid.
virtual void setColor (float r, float g, float b, float a)
 Set the color of the cuboid.
virtual void setVisible (bool visible)
 Set whether the cuboid is visible.
virtual void setPosition (int vtx, const DtVector &position)
 Set the position of the cuboid; only vtx == 0 has an effect.
virtual void setOrientation (int vtx, const DtTaitBryan &orientation)
 Set the orientation of the cuboid; only vtx == 0 has an effect.
virtual void setLightingEnabled (bool enabled)
 Set lighting enabled or disabled (default disabled)
virtual void setSolid (bool isSolid)
 Set the geometry to be solid.
virtual void addToScene (const DtUniqueID &sceneObjectID, int modelSet, int visualizerType)
 Add the cuboid to the scene.
virtual void removeFromScene ()
 Remove the cuboid from the scene.

Protected Attributes

DtOsgSceneConnectormySceneConnector

Detailed Description

OSG implementation of distributed cuboid model.


Constructor & Destructor Documentation


Member Function Documentation

virtual void makVrv::DtOsgAttachableCuboidModel::setDimensions ( double  x,
double  y,
double  z 
) [virtual]

Set the dimensions of the cuboid.

Implements makVrv::DtAttachableCuboidModel.

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

Set the color of the cuboid.

Implements makVrv::DtAttachableCuboidModel.

virtual void makVrv::DtOsgAttachableCuboidModel::setVisible ( bool  visible) [virtual]

Set whether the cuboid is visible.

Reimplemented from makVrv::DtModel.

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

Set the position of the cuboid; only vtx == 0 has an effect.

Reimplemented from makVrv::DtModel.

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

Set the orientation of the cuboid; only vtx == 0 has an effect.

Reimplemented from makVrv::DtModel.

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

Set lighting enabled or disabled (default disabled)

Implements makVrv::DtAttachableCuboidModel.

virtual void makVrv::DtOsgAttachableCuboidModel::setSolid ( bool  isSolid) [virtual]

Set the geometry to be solid.

Implements makVrv::DtModel.

virtual void makVrv::DtOsgAttachableCuboidModel::addToScene ( const DtUniqueID sceneObjectID,
int  modelSet,
int  visualizerType 
) [virtual]

Add the cuboid to the scene.

Implements makVrv::DtModel.

Remove the cuboid 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)