![]() |
VR-Forces 4.1.1 Class Documentation
|
Encapsulates the creation/management of agents used to display a symbol. More...
Public Member Functions | |
| DtSymbolFacade (makVrv::DtAgentManagerInterface &sceneInterface, makVrv::DtElementID id) | |
| CTOR Creates a symbol facade for the 2D model set. | |
| virtual | ~DtSymbolFacade () |
| Virtual DTOR. | |
Symbol Facade Parameter Accessors | |
| virtual makVrv::DtElementID | elementId () const |
| Get the element id for the entity facade. | |
| virtual makVrv::DtWidgetLabelAgent & | widgetLabelAgent () |
| Returns the widget label for the facade. | |
| virtual void | setPosition (const DtVector &pos) |
| Set the label's position. | |
| virtual void | setRotation (float angleInDegrees) |
| Set the label's rotation. | |
Static Public Member Functions | |
| static makVrv::DtElementEntry::ElementType | elementType () |
| Returns the unique element type for DtSymbolFacades. | |
Protected Member Functions | |
| void | initialize () |
Protected Attributes | |
| makVrv::DtElementID | myElementId |
| makVrv::DtSceneObjectAgent * | mySceneObjectAgent |
| makVrv::DtProjectedWidgetModelAgent * | myProjectedWidgetModelAgent |
| makVrv::DtWidgetLabelAgent * | myWidgetLabelAgent |
Encapsulates the creation/management of agents used to display a symbol.
The Facade design pattern provides a unified interface for controlling the agents required to render a symbol. Using a facade makes using symbols easier by internally managing creation, deletion, and updating of the component model agents. Builds on the previous example by adding a method for rotating the symbol to a given angle.
| makVrv::exampleSymbolFacade3::DtSymbolFacade::DtSymbolFacade | ( | makVrv::DtAgentManagerInterface & | sceneInterface, |
| makVrv::DtElementID | id | ||
| ) |
CTOR Creates a symbol facade for the 2D model set.
|
virtual |
Virtual DTOR.
|
virtual |
Get the element id for the entity facade.
|
virtual |
Returns the widget label for the facade.
|
virtual |
Set the label's position.
|
virtual |
Set the label's rotation.
|
static |
Returns the unique element type for DtSymbolFacades.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |