![]() |
VR-Forces 5.0.3 Developer's Guide
|
Contains Dt2DAreaFacade class. Facade interface for constructing 2D area objects.

Public Member Functions | |
| Dt2DAreaFacade (makVrv::DtAgentManagerInterface &, makVrv::DtSceneObjectAgent *agent, makVrv::DtElementID id, int modelSet) | |
| Dt2DAreaFacade (makVrv::DtAgentManagerInterface &, int modelSet, makVrv::DtElementID id, bool distribute=false) | |
| virtual | ~Dt2DAreaFacade () |
| virtual void | setSolid (bool) |
| virtual void | setFillPattern (const std::vector< unsigned int > &) |
| virtual void | updateColors () |
| virtual void | setFillPattern (makVrv::vrvTacticalGraphicUtilities::FillStyle) |
| virtual void | setGroup (int) |
Public Member Functions inherited from makVrf::DtAreaFacadeBase | |
| DtAreaFacadeBase (makVrv::DtAgentManagerInterface &, makVrv::DtSceneObjectAgent *agent, makVrv::DtElementID id, int modelSet) | |
| DtAreaFacadeBase (makVrv::DtAgentManagerInterface &, int modelSet, makVrv::DtElementID id, bool distribute=false) | |
| virtual | ~DtAreaFacadeBase () |
| virtual void | setModelDefinition (const std::string &) |
| virtual void | setColor (float r, float g, float b, float a) |
| virtual void | setOutsideColor (float r, float g, float b, float a) |
| virtual void | setSelectedOutsideColor (float r, float g, float b, float a) |
| virtual void | setInsideColor (float r, float g, float b, float a) |
| virtual void | setSelectedInsideColor (float r, float g, float b, float a) |
| virtual void | setLineWidth (int) |
| virtual void | setFill (bool) |
| virtual void | setPoints (const std::vector< DtVector > &, const DtVector &withOffset=DtVector::zero()) |
| virtual void | addPoint (int index, const DtVector &) |
| virtual void | setSelected (bool) |
| virtual bool | selected () |
| virtual void | removePoint (int) |
| virtual void | setStipplePattern (int) |
| virtual void | resetOrigin () |
| virtual void | setOrigin (const DtVector &) |
| virtual const DtVector & | origin () const |
| virtual void | setScribed (bool) |
| virtual void | setPoint (int iIndex, const DtVector &) |
| virtual void | setUseDynamicOrigin (bool) |
| virtual void | setVisible (bool) |
| virtual void | setPickable (bool) |
| virtual const std::vector < DtVector > & | points () const |
| virtual makVrv::DtUniqueID | uniqueId () const |
| virtual makVrv::DtElementID | elementId () const |
| virtual int | modelSet () const |
| makVrv::DtSceneObjectAgent * | sceneObjectAgent () const |
| makVrv::DtPolygonModelAgent * | polygonModelAgent () const |
Protected Member Functions | |
| void | createPolygonModelAgent () |
Protected Attributes | |
| makVrv::DtOverlayPolygonModelAgent * | myPolygonArea |
Protected Attributes inherited from makVrf::DtAreaFacadeBase | |
| makVrv::DtPolygonModelAgent * | myArea |
| makVrv::DtAgentManagerInterface & | myAgentManagerInterface |
| makVrv::DtSceneObjectAgent * | mySceneObjectAgent |
| bool | myOwnsSceneObjectAgent |
| float | myOutsideColor [4] |
| float | myInsideColor [4] |
| float | mySelectedOutsideColor [4] |
| float | mySelectedInsideColor [4] |
| bool | mySelectedInsideColorSet |
| int | myLineWidth |
| int | myModelSet |
| bool | myFill |
| std::vector< DtVector > | myControlPoints |
| bool | myOriginSet |
| DtVector | myOrigin |
| bool | mySelected |
| bool | myScribed |
| makVrv::DtElementID | myElementId |
| makVrf::Dt2DAreaFacade::Dt2DAreaFacade | ( | makVrv::DtAgentManagerInterface & | , |
| makVrv::DtSceneObjectAgent * | agent, | ||
| makVrv::DtElementID | id, | ||
| int | modelSet | ||
| ) |
Constructor that will take an existing scene object agent.
| makVrf::Dt2DAreaFacade::Dt2DAreaFacade | ( | makVrv::DtAgentManagerInterface & | , |
| int | modelSet, | ||
| makVrv::DtElementID | id, | ||
| bool | distribute = false |
||
| ) |
Will create a new scene object agent for the given model set and element id.
|
virtual |
DTOR.
|
virtual |
Override to no-op as this is a 3D only concept.
Reimplemented from makVrf::DtAreaFacadeBase.
Sets the pattern to fill the 2D polygon with. The fill pattern is a bit pattern of 32 x 32 integers. The bits of the integers will be considered "on" if they are 1 and off if they are 0. The pattern will be repeated to fill the interior of the polygon.
|
virtual |
pass the colors down to the model based on the selected state.
Implements makVrf::DtAreaFacadeBase.
|
virtual |
Sets the fill pattern for the area.
Reimplemented from makVrf::DtAreaFacadeBase.
|
virtual |
The higher the z order the "closer" to the eyepoint this element will be drawn. Use this variable to stack overlay objects in the particular order you want them displayed.
|
protected |
Creates the polygon model agent (area) to be used with this facade. Called from constructor.
|
protected |