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

This is a realization of DtDrawModel. More...

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

List of all members.

Public Member Functions

 DtOsgDrawModel (DtDe &de, DtUniqueID &id)
virtual ~DtOsgDrawModel ()
virtual void drawLine (const DtVector &color, double lineWidth)
 Draw a line segment from (x1,y1,z1) to (x2,y2,z2) using color (r,g,b,a) and thickness (lineWidth)
virtual void setVisible (bool visible)
 Set the model visible or invisible.
virtual void setPosition (int vtx, const DtVector &position)
 Set the position of a control vertex in the model.
virtual void setOrientation (int vtx, const DtTaitBryan &orientation)
 Set the orientation of a vertex in the model.
virtual void setSolid (bool isSolid)
 Set whether or not other scene objects can ground clamp to this model Default implementation does nothing.
virtual void addToScene (const DtUniqueID &sceneObjectId, int modelSet, int visualizerType)
 Removes the model from the scene.
virtual void removeFromScene ()
 Removes the model from the scene.

Protected Member Functions

void initializeModelInstance ()
 Push any state maintained by the model to the model instance.

Protected Attributes

DtOsgSceneConnectormySceneConnector

Detailed Description

This is a realization of DtDrawModel.

It is a model class that is used to create attachable line objects. It creates its own model instance. Renaming (when the Attachable- is removed from the class name) is recommended


Constructor & Destructor Documentation


Member Function Documentation

virtual void makVrv::DtOsgDrawModel::drawLine ( const DtVector rgbColor,
double  lineWidth 
) [virtual]

Draw a line segment from (x1,y1,z1) to (x2,y2,z2) using color (r,g,b,a) and thickness (lineWidth)

Implements makVrv::DtDrawModel.

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

Set the model visible or invisible.

Reimplemented from makVrv::DtModel.

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

Set the position of a control vertex in the model.

Reimplemented from makVrv::DtModel.

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

Set the orientation of a vertex in the model.

Reimplemented from makVrv::DtModel.

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

Set whether or not other scene objects can ground clamp to this model Default implementation does nothing.

Implements makVrv::DtModel.

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

Removes the model from the scene.

Implements makVrv::DtModel.

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

Removes the model from the scene.

Implements makVrv::DtModel.

void makVrv::DtOsgDrawModel::initializeModelInstance ( ) [protected, virtual]

Push any state maintained by the model to the model instance.

Reimplemented from 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)