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

OSG implementation of distributed ellipsoid model. More...

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

List of all members.

Public Member Functions

 DtOsgAttachableEllipsoidModel (DtDe &de, DtUniqueID &id)
virtual ~DtOsgAttachableEllipsoidModel ()
virtual void setDimensions (double x, double y, double z)
 Set the dimensions of the ellipsoid.
virtual void setColor (float r, float g, float b, float a)
 Set the color of the ellipsoid.
virtual void setVisible (bool visible)
 Set whether the ellipsoid is visible.
virtual void setPosition (int vtx, const DtVector &position)
 Set the position of the ellipsoid; only vtx == 0 has an effect.
virtual void setOrientation (int vtx, const DtTaitBryan &orientation)
 Set the orientation of the ellipsoid; 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 ellipsoid to the scene.
virtual void removeFromScene ()
 Remove the ellipsoid from the scene.

Protected Attributes

DtOsgSceneConnectormySceneConnector

Detailed Description

OSG implementation of distributed ellipsoid model.


Constructor & Destructor Documentation


Member Function Documentation

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

Set the dimensions of the ellipsoid.

Implements makVrv::DtAttachableEllipsoidModel.

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

Set the color of the ellipsoid.

Implements makVrv::DtAttachableEllipsoidModel.

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

Set whether the ellipsoid is visible.

Reimplemented from makVrv::DtModel.

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

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

Reimplemented from makVrv::DtModel.

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

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

Reimplemented from makVrv::DtModel.

Set lighting enabled or disabled (default disabled)

Implements makVrv::DtAttachableEllipsoidModel.

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

Set the geometry to be solid.

Implements makVrv::DtModel.

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

Add the ellipsoid to the scene.

Implements makVrv::DtModel.

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