![]() |
VR-Forces 5.0.1 Developer's Guide
|
Contains Dt3DAreaFacade class. Facade interface for constructing 3D area objects.

Public Member Functions | |
| Dt3DAreaFacade (makVrv::DtAgentManagerInterface &, makVrv::DtSceneObjectAgent *agent, makVrv::DtElementID id, int modelSet) | |
| Dt3DAreaFacade (makVrv::DtAgentManagerInterface &, int modelSet, makVrv::DtElementID id, bool distribute=false) | |
| virtual | ~Dt3DAreaFacade () |
| virtual void | setLineWidth (int) |
| virtual void | setScribeWidth (float width) |
| int | scribeWidth () const |
| virtual void | setScribeAllPolygons (bool) |
| virtual void | setSolid (bool b) |
| virtual void | setOutsideColor (float r, float g, float b, float a) |
| virtual void | setSelectedOutsideColor (float r, float g, float b, float a) |
| virtual void | updateColors () |
| virtual void | setScribed (bool) |
| virtual void | setScribeColor (float r, float g, float b, float a) |
| virtual void | setSelectedScribeColor (float r, float g, float b, float a) |
| virtual void | setLineHeight (float) |
| virtual void | setUpExtent (float) |
| virtual float | upExtent () const |
| virtual void | setDownExtent (float) |
| virtual float | downExtent () const |
| virtual void | setLeftExtent (float) |
| virtual float | leftExtent () const |
| virtual void | setRightExtent (float) |
| virtual float | rightExtent () const |
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 | setInsideColor (float r, float g, float b, float a) |
| virtual void | setSelectedInsideColor (float r, float g, float b, float a) |
| virtual void | setFill (bool) |
| virtual void | setFillPattern (makVrv::vrvTacticalGraphicUtilities::FillStyle) |
| 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 | 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 | createAreaAgent () |
Protected Attributes | |
| makVrv::DtExtrudedPolygonModelAgent * | myExtrudedArea |
| float | myLineHeight |
| float | myUpExtent |
| float | myDownExtent |
| float | myRightExtent |
| float | myLeftExtent |
| bool | myScribeColorSet |
| float | myScribeWidth |
| bool | mySelectedOutsideColorSet |
| float | myScribeColor [4] |
| float | mySelectedScribeColor [4] |
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::Dt3DAreaFacade::Dt3DAreaFacade | ( | makVrv::DtAgentManagerInterface & | , |
| makVrv::DtSceneObjectAgent * | agent, | ||
| makVrv::DtElementID | id, | ||
| int | modelSet | ||
| ) |
Constructor that will take an existing scene object agent.
| makVrf::Dt3DAreaFacade::Dt3DAreaFacade | ( | 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 |
Sets the up extent of the 3D line to represent width. Setting this will turn off line height.
Reimplemented from makVrf::DtAreaFacadeBase.
|
virtual |
Sets the width of the scribe line in pixel space. This will set a flag such that when the line width is changed this width is not, so, once set, you will need to continue to set to keep pace with line width.
| int makVrf::Dt3DAreaFacade::scribeWidth | ( | ) | const |
Returns current scribe width.
|
virtual |
Sets whether or not to only scribe the outline (and not the line edges). Only valid if scribed is true. If set to true will scribe all point connections along the polygon. If false will only scribe the top and bottom of the polygon.
|
virtual |
Sets whether or not this item is solid (filled)
Reimplemented from makVrf::DtAreaFacadeBase.
|
virtual |
Sets the outside color for the model.
Reimplemented from makVrf::DtAreaFacadeBase.
|
virtual |
Sets the selected outside color for the model.
Reimplemented from makVrf::DtAreaFacadeBase.
|
virtual |
passes down the colors to use to the model based on the current selection state.
Implements makVrf::DtAreaFacadeBase.
|
virtual |
Sets whether or not line is scribed. You will need to scribe a line if you want the edges of the line to appear separate from the body of the object. If you do not scribe the object the edges will be difficult to differentiate from the rest of the model.
Reimplemented from makVrf::DtAreaFacadeBase.
|
virtual |
Sets the color of the scribe. By default it is based on outside color.
|
virtual |
Sets the color to used for the scribe when the mode is selected.
|
virtual |
Sets the height of all lines in the area (up extent). Setting this will turn off line width.
|
virtual |
Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.
|
virtual |
Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.
|
virtual |
Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.
|
virtual |
Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.
|
virtual |
Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.
|
virtual |
Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.
|
virtual |
Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.
|
virtual |
Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.
|
protected |
Creates area agent used for facade. Called from constructor.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |