VR-Forces 4.0.4 Class Documentation
Public Member Functions
makVrv::Dt3DTextModel Class Reference

Dt3DTextModel is eyepoint-aligned text located in 3D database coordinates. More...

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

List of all members.

Public Member Functions

 Dt3DTextModel (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~Dt3DTextModel ()
 DTOR.
virtual void setColor (float r, float g, float b, float a)=0
 Set the text's color in RGBA.
virtual void setFont (const std::string &fontName)=0
 Set the font for the 3D text.
virtual void setFontSize (double size)=0
 Set the font size in pixels.
virtual void setText (const std::string &text)=0
 Set the text to display.

Detailed Description

Dt3DTextModel is eyepoint-aligned text located in 3D database coordinates.

It is scaled so that its size on the screen is fixed regardless of the eyepoint's location.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

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

Set the text's color in RGBA.

Reimplemented from makVrv::DtModel.

Implemented in makVrv::DtOsg3DTextModel.

virtual void makVrv::Dt3DTextModel::setFont ( const std::string &  fontName) [pure virtual]

Set the font for the 3D text.

Implemented in makVrv::DtOsg3DTextModel.

virtual void makVrv::Dt3DTextModel::setFontSize ( double  size) [pure virtual]

Set the font size in pixels.

Implemented in makVrv::DtOsg3DTextModel.

virtual void makVrv::Dt3DTextModel::setText ( const std::string &  text) [pure virtual]

Set the text to display.

Implemented in makVrv::DtOsg3DTextModel.


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)