![]() |
VR-Forces 4.0.4 Class Documentation
|
DtEntityInfoWidget is the object proxy for 2D distributed entity info (label) objects. More...
Public Member Functions | |
| DtEntityInfoWidget (DtAgentManagerInterface &sceneInterface, unsigned int modelSet, const std::string &infoWidgetModelDef) | |
| CTOR. | |
| virtual | ~DtEntityInfoWidget () |
| DTOR. | |
| virtual void | setText (const DtUnicode &text) |
| Set the text to display. | |
| virtual void | setGroup (unsigned int group) |
| Set the group to render. | |
| DtModelAgent * | model () |
| Get the model which can be added to the scene objects. | |
| virtual void | setColor (float r, float g, float b, float a) |
| Set the info widget's color. | |
Protected Attributes | |
| DtAgentManagerInterface & | mySceneInterface |
| DtProjectedWidgetModelAgent * | myProjectedWidgetModelAgent |
| DtWidgetLabelAgent * | myWidgetLabelAgent |
DtEntityInfoWidget is the object proxy for 2D distributed entity info (label) objects.
| makVrv::DtEntityInfoWidget::DtEntityInfoWidget | ( | DtAgentManagerInterface & | sceneInterface, |
| unsigned int | modelSet, | ||
| const std::string & | infoWidgetModelDef | ||
| ) |
CTOR.
| virtual makVrv::DtEntityInfoWidget::~DtEntityInfoWidget | ( | ) | [virtual] |
DTOR.
| 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.
| virtual void makVrv::DtEntityInfoWidget::setColor | ( | float | r, |
| float | g, | ||
| float | b, | ||
| float | a | ||
| ) | [virtual] |
Set the info widget's color.
DtProjectedWidgetModelAgent* makVrv::DtEntityInfoWidget::myProjectedWidgetModelAgent [protected] |
DtWidgetLabelAgent* makVrv::DtEntityInfoWidget::myWidgetLabelAgent [protected] |