![]() |
VR-Forces 5.0.2 Developer's Guide
|
This is the 2D widget used as an indicator for Tactical Graphics objects.
Public Types | |
| enum | ControlPointState { Normal, Active, Selected, MultiSelected } |
Public Member Functions | |
| DtControlPointWidget (int modelSet, DtAgentManagerInterface &sceneInterface) | |
| virtual | ~DtControlPointWidget () |
| virtual void | setModelDefinitions (const std::string &emptyTheme="ControlPointTheme", const std::string &normalTheme="ControlPointTheme", const std::string &activeTheme="ControlPointPinnedTheme", const std::string &normalPointTheme="ControlPointPinnedTheme", const std::string &selectedPointTheme="ControlPointPinnedTheme") |
| virtual void | setState (ControlPointState state) |
| virtual void | setColor (float r, float g, float b) |
| virtual void | setDimensions (int height, int width) |
| DtModelAgent * | model () |
| ControlPointState | state () |
| virtual void | setEventsEnabled (bool enabled) |
| DtWidgetEventSignals & | eventSignals (DtWidgetSignaler &signaler) |
| virtual void | setOrderGroup (int) |
Protected Attributes | |
| int | myModelSet |
| DtAgentManagerInterface & | mySceneInterface |
| DtProjectedWidgetModelAgent * | myProjectedWidgetModelAgent |
| DtWidgetAgent * | myWidgetAgent |
| DtWidgetAgent * | myPointWidgetAgent |
| DtWidgetInstanceSignaler * | myWidgetSignaler |
| std::string | myEmptyTheme |
| std::string | myNormalTheme |
| std::string | myActiveTheme |
| std::string | mySelectedPointTheme |
| std::string | myMultiSelectedPointTheme |
| int | myHeight |
| int | myWidth |
| ControlPointState | myState |
| bool | myEventsEnabled |
| bool | mySelected |
| int | myOrderGroup |
| float | myR |
| float | myG |
| float | myB |
| makVrv::DtControlPointWidget::DtControlPointWidget | ( | int | modelSet, |
| DtAgentManagerInterface & | sceneInterface | ||
| ) |
|
virtual |
|
virtual |
Set the widget model definitions.
|
virtual |
Sets the indicator state.
|
virtual |
Sets the color filter for the indicator.
Sets the dimensions in screen coordinates of the widgets.
| DtModelAgent* makVrv::DtControlPointWidget::model | ( | ) |
Get the model which can be added to the scene objects.
| ControlPointState makVrv::DtControlPointWidget::state | ( | ) |
Get the widget's state.
|
virtual |
Enable/disable event handling for the control point's widgets.
| DtWidgetEventSignals& makVrv::DtControlPointWidget::eventSignals | ( | DtWidgetSignaler & | signaler | ) |
Get the widget agent for the indicator. If the signals.
|
virtual |
Sets the group layer on which to display this graphic on the 2D overlay.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |