VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtWindowTextInstance Class Referenceabstract

Interface for a DtWindowTextInstance An object that draws a 2D text. More...

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

Public Member Functions

virtual ~DtWindowTextInstance ()
 DTOR. More...
 
virtual void setVisible (bool isVisible)=0
 Set the text visible or invisible. More...
 
virtual void setTopLeftCorner (float x, float y)=0
 Set the Top left corner of the text in normalized screen coordinates (0..1) More...
 
virtual void setScale (double x, double y)=0
 Set the scale of the lines x y components. More...
 
virtual void setColor (float r, float g, float b, float a)=0
 Set the text's color. More...
 
virtual void setText (const std::string &textString)=0
 Set the text to display. More...
 
virtual void setFont (const std::string &fontFile, float sizeInPoints)=0
 Set the font file and size in points to display the text in. More...
 
virtual void setTextBoxWidth (unsigned int widthInPixels)=0
 Set the width of the text box in pixels. More...
 
virtual void setAlignment (DtWindowText::TextAlignment alignment)=0
 Set the alignment mode of the text. More...
 
virtual void setTransform (DtMatrix3< double > transform)=0
 Sets the text box's transform matrix, used to update the position and clockwise rotation of the vertices. More...
 
virtual void update ()=0
 Called on signal_postUpdate; time to update render data. More...
 
virtual void setClipBox (DtVector2< double > bottomLeftLocation, DtVector2< double > topRightLocation)=0
 Set this objects clip box bounds. More...
 
- Public Member Functions inherited from makVrv::DtSetVisibilityInterface
virtual ~DtSetVisibilityInterface ()
 

Detailed Description

Interface for a DtWindowTextInstance An object that draws a 2D text.

Constructor & Destructor Documentation

virtual makVrv::DtWindowTextInstance::~DtWindowTextInstance ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtWindowTextInstance::setVisible ( bool  isVisible)
pure virtual

Set the text visible or invisible.

Implements makVrv::DtSetVisibilityInterface.

Implemented in makVrv::DtOsgWindowTextInstance.

virtual void makVrv::DtWindowTextInstance::setTopLeftCorner ( float  x,
float  y 
)
pure virtual

Set the Top left corner of the text in normalized screen coordinates (0..1)

Implemented in makVrv::DtOsgWindowTextInstance.

virtual void makVrv::DtWindowTextInstance::setScale ( double  x,
double  y 
)
pure virtual

Set the scale of the lines x y components.

Implemented in makVrv::DtOsgWindowTextInstance.

virtual void makVrv::DtWindowTextInstance::setColor ( float  r,
float  g,
float  b,
float  a 
)
pure virtual

Set the text's color.

Implemented in makVrv::DtOsgWindowTextInstance.

virtual void makVrv::DtWindowTextInstance::setText ( const std::string &  textString)
pure virtual

Set the text to display.

Implemented in makVrv::DtOsgWindowTextInstance.

virtual void makVrv::DtWindowTextInstance::setFont ( const std::string &  fontFile,
float  sizeInPoints 
)
pure virtual

Set the font file and size in points to display the text in.

Implemented in makVrv::DtOsgWindowTextInstance.

virtual void makVrv::DtWindowTextInstance::setTextBoxWidth ( unsigned int  widthInPixels)
pure virtual

Set the width of the text box in pixels.

Implemented in makVrv::DtOsgWindowTextInstance.

virtual void makVrv::DtWindowTextInstance::setAlignment ( DtWindowText::TextAlignment  alignment)
pure virtual

Set the alignment mode of the text.

Implemented in makVrv::DtOsgWindowTextInstance.

virtual void makVrv::DtWindowTextInstance::setTransform ( DtMatrix3< double transform)
pure virtual

Sets the text box's transform matrix, used to update the position and clockwise rotation of the vertices.

Implemented in makVrv::DtOsgWindowTextInstance.

virtual void makVrv::DtWindowTextInstance::update ( )
pure virtual

Called on signal_postUpdate; time to update render data.

Implemented in makVrv::DtOsgWindowTextInstance.

virtual void makVrv::DtWindowTextInstance::setClipBox ( DtVector2< double bottomLeftLocation,
DtVector2< double topRightLocation 
)
pure virtual

Set this objects clip box bounds.

Implemented in makVrv::DtOsgWindowTextInstance.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)