![]() |
VR-Forces 4.0.4 Class Documentation
|
The indicator widget. More...
Public Member Functions | |
| DtEntityIndicatorWidget (DtAgentManagerInterface &sceneInterface, unsigned int modelSet, const std::string &normalTheme="EntityIndicatorTheme", const std::string &pinnedTheme="EntityIndicatorPinnedTheme", int height=32, int width=32) | |
| virtual | ~DtEntityIndicatorWidget () |
| virtual void | setIndicatorActive (bool active) |
| Sets the indicator state to active/inactive (i.e. pinned) | |
| virtual void | setColor (float r, float g, float b, float a=1.) |
| Sets the color filter for the indicator. | |
| DtModelAgent * | model () |
| Get the model which can be added to the scene objects. | |
| virtual void | setEventsEnabled (bool enabled) |
| Enable/disable event handling for the widget. | |
| DtWidgetEventSignals & | eventSignals (DtWidgetSignaler &signaler) |
| Get the widget agent for the indicator. If the signals. | |
Protected Attributes | |
| DtAgentManagerInterface & | mySceneInterface |
| DtWidgetInstanceSignaler * | myWidgetSignaler |
| DtProjectedWidgetModelAgent * | myProjectedWidgetModel |
| DtWidgetAgent * | myWidgetAgent |
| std::string | myNormalTheme |
| std::string | myPinnedTheme |
| bool | mySelected |
| bool | myEventsEnabled |
The indicator widget.
| makVrv::DtEntityIndicatorWidget::DtEntityIndicatorWidget | ( | DtAgentManagerInterface & | sceneInterface, |
| unsigned int | modelSet, | ||
| const std::string & | normalTheme = "EntityIndicatorTheme", |
||
| const std::string & | pinnedTheme = "EntityIndicatorPinnedTheme", |
||
| int | height = 32, |
||
| int | width = 32 |
||
| ) |
| virtual makVrv::DtEntityIndicatorWidget::~DtEntityIndicatorWidget | ( | ) | [virtual] |
| virtual void makVrv::DtEntityIndicatorWidget::setIndicatorActive | ( | bool | active | ) | [virtual] |
Sets the indicator state to active/inactive (i.e. pinned)
| virtual void makVrv::DtEntityIndicatorWidget::setColor | ( | float | r, |
| float | g, | ||
| float | b, | ||
| float | a = 1. |
||
| ) | [virtual] |
Sets the color filter for the indicator.
| DtModelAgent* makVrv::DtEntityIndicatorWidget::model | ( | ) |
Get the model which can be added to the scene objects.
| virtual void makVrv::DtEntityIndicatorWidget::setEventsEnabled | ( | bool | enabled | ) | [virtual] |
Enable/disable event handling for the widget.
Get the widget agent for the indicator. If the signals.
DtProjectedWidgetModelAgent* makVrv::DtEntityIndicatorWidget::myProjectedWidgetModel [protected] |
DtWidgetAgent* makVrv::DtEntityIndicatorWidget::myWidgetAgent [protected] |
std::string makVrv::DtEntityIndicatorWidget::myNormalTheme [protected] |
std::string makVrv::DtEntityIndicatorWidget::myPinnedTheme [protected] |
bool makVrv::DtEntityIndicatorWidget::mySelected [protected] |
bool makVrv::DtEntityIndicatorWidget::myEventsEnabled [protected] |