VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtEntityInfoWidget Class Reference

DtEntityInfoWidget is the object proxy for 2D distributed entity info (label) objects.

Public Member Functions

 DtEntityInfoWidget (DtAgentManagerInterface &sceneInterface, unsigned int modelSet, const std::string &infoWidgetModelDef)
 
virtual ~DtEntityInfoWidget ()
 
virtual void setText (const DtUnicode &text)
 
virtual void setGroup (unsigned int group)
 
DtModelAgent * model ()
 
DtWidgetLabelAgent * widget ()
 
virtual void setColor (float r, float g, float b, float a)
 

Protected Attributes

DtAgentManagerInterfacemySceneInterface
 
DtProjectedWidgetModelAgent * myProjectedWidgetModelAgent
 
DtWidgetLabelAgent * myWidgetLabelAgent
 

Constructor & Destructor Documentation

makVrv::DtEntityInfoWidget::DtEntityInfoWidget ( DtAgentManagerInterface sceneInterface,
unsigned int  modelSet,
const std::string &  infoWidgetModelDef 
)

CTOR.

virtual makVrv::DtEntityInfoWidget::~DtEntityInfoWidget ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtEntityInfoWidget::setText ( const DtUnicode text)
virtual

Set the text to display.

virtual void makVrv::DtEntityInfoWidget::setGroup ( unsigned int  group)
virtual

Set the group to render.

DtModelAgent* makVrv::DtEntityInfoWidget::model ( )

Get the model which can be added to the scene objects.

DtWidgetLabelAgent* makVrv::DtEntityInfoWidget::widget ( )

Get the widget which can be added to an updater.

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

Set the info widget's color.

Member Data Documentation

DtAgentManagerInterface& makVrv::DtEntityInfoWidget::mySceneInterface
protected
DtProjectedWidgetModelAgent* makVrv::DtEntityInfoWidget::myProjectedWidgetModelAgent
protected
DtWidgetLabelAgent* makVrv::DtEntityInfoWidget::myWidgetLabelAgent
protected

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)