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

DtOsgProjectedTextModel is a model class for creating attachable projected text. More...

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

List of all members.

Public Member Functions

 DtOsgProjectedTextModel (DtDe &de, DtUniqueID &id)
virtual ~DtOsgProjectedTextModel ()
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 setColor (const DtVector &rgbColor)
 Draw a line segment from (x1,y1,z1) to (x2,y2,z2) using color (r,g,b,a) and thickness (lineWidth)
virtual void setFontName (const std::string &fontName)
virtual void setFontSize (double size)
virtual void setText (const std::string &text)
virtual void setVisible (bool isVisible)
 Set the model visible or invisible.
virtual void setSolid (bool solid)
 Set whether or not other scene objects can ground clamp to this model Default implementation does nothing.

Protected Member Functions

virtual void createModelInstance ()
virtual void addToScene (const DtUniqueID &sceneObjectId, int modelSet, int visualizerType)
 Virtual Functions to be implemented, add this model to the scene.
virtual void removeFromScene ()
 Virtual Functions to be implemented, remove this model from the scene.

Protected Attributes

DtProjectedTextModelInstancemyTextInstance
DtOsgSceneConnectormySceneConnector

Detailed Description

DtOsgProjectedTextModel is a model class for creating attachable projected text.

It creates its own model instance.


Constructor & Destructor Documentation


Member Function Documentation

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

Set the position of a control vertex in the model.

Reimplemented from makVrv::DtModel.

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

Set the orientation of a vertex in the model.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOsgProjectedTextModel::setColor ( const DtVector rgbColor) [virtual]

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

Implements makVrv::DtProjectedTextModel.

virtual void makVrv::DtOsgProjectedTextModel::setFontName ( const std::string &  fontName) [virtual]
virtual void makVrv::DtOsgProjectedTextModel::setFontSize ( double  size) [virtual]
virtual void makVrv::DtOsgProjectedTextModel::setText ( const std::string &  text) [virtual]
virtual void makVrv::DtOsgProjectedTextModel::setVisible ( bool  isVisible) [virtual]

Set the model visible or invisible.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOsgProjectedTextModel::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::DtOsgProjectedTextModel::addToScene ( const DtUniqueID sceneObjectId,
int  modelSet,
int  visualizerType 
) [protected, virtual]

Virtual Functions to be implemented, add this model to the scene.

Implements makVrv::DtModel.

virtual void makVrv::DtOsgProjectedTextModel::removeFromScene ( ) [protected, virtual]

Virtual Functions to be implemented, remove this model from the scene.

Implements makVrv::DtModel.

virtual void makVrv::DtOsgProjectedTextModel::createModelInstance ( ) [protected, virtual]

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)