![]() |
VR-Forces 4.3.1 Class Documentation
|
Contains Dt3DLineFacade class. More...

Public Member Functions | |
| Dt3DLineFacade (DtAgentManagerInterface &, DtSceneObjectAgent *agent, DtElementID id, int modelSet) | |
| Constructor that will take an existing scene object agent. | |
| Dt3DLineFacade (DtAgentManagerInterface &, int modelSet, DtElementID id, bool distribute=true) | |
| Will create a new scene object agent for the given model set and element id. | |
| virtual | ~Dt3DLineFacade () |
| DTOR. | |
| virtual void | setSolid (bool) |
| Sets the line solid (true) or outlined (false). Default is true. | |
| virtual void | setModelDefinition (const std::string &) |
| Sets the model definition for the model. | |
| virtual void | setColor (float r, float g, float b, float a) |
| Sets the color for the line. | |
| virtual void | setLineWidth (int) |
| Sets the width of the outside line. Default is 2. | |
| virtual void | setStipplePattern (unsigned int) |
| Sets the pattern for the line portion of the line. | |
| virtual void | setOcclusionEnabled (bool) |
| Sets whether or not line is occluded. Default is true. | |
| virtual void | setVisible (bool) |
| Sets the object visible. | |
| virtual void | setPickable (bool) |
| Sets pickable or not. | |
| virtual void | setSegmentEndArrow (int seg, bool flag) |
| Sets arrow at end of segment. | |
| virtual void | setSegmentStartArrow (int seg, bool flag) |
| Sets arrow at end of segment. | |
| virtual void | setArrowSize (double) |
| Sets the size of the arrow (in pixels) | |
| virtual void | setArrowStyle (vrvTacticalGraphicUtilities::ArrowStyle) |
| Sets the style of arrow to use. Applies to all segments. | |
| virtual void | setLineStyle (vrvTacticalGraphicUtilities::LineStyle s) |
| Sets the style of th line via the agent. | |
| virtual void | setFixedWidthSizing (bool) |
| For those lines that support it, whether or not the lines sizes when zooming to pixel space (fixed width) or to the database (non-fixed width). | |
| virtual void | setScribed (bool) |
| Sets whether or not line is scribed. | |
Public Member Functions inherited from makVrv::DtLineFacadeInterface | |
| DtLineFacadeInterface (DtAgentManagerInterface &, DtSceneObjectAgent *agent, DtElementID id, int modelSet) | |
| Constructor that will take an existing scene object agent. | |
| DtLineFacadeInterface (DtAgentManagerInterface &, int modelSet, DtElementID id, bool distribute=true) | |
| Will create a new scene object agent for the given model set and element id. | |
| virtual | ~DtLineFacadeInterface () |
| DTOR. | |
| virtual void | setPoints (const std::vector< DtVector > &, const DtVector &withOffset=DtVector::zero()) |
| Sets the points for the area. | |
| virtual void | addPoint (int index, const DtVector &) |
| Adds a point to the line. Returns the index of the newly added point. | |
| virtual void | removePoint (int) |
| Removes a point from the line. | |
| virtual void | setOrigin (const DtVector &) |
| Sets the origin of the line. | |
| virtual const DtVector & | origin () const |
| virtual void | setPoint (int iIndex, const DtVector &) |
| Sets position in the line. | |
| virtual const std::vector < DtVector > & | points () const |
| Returns the points of the facade. | |
| virtual bool | pickable () const |
| Returns whether or not item is pickable. | |
| virtual vrvTacticalGraphicUtilities::LineStyle | lineStyle () const |
| Returns the current line style. | |
| virtual void | setArrowHeadPlacement (vrvTacticalGraphicUtilities::ArrowHeadPlacement) |
| Sets how often the arrows should be displayed. | |
| virtual vrvTacticalGraphicUtilities::ArrowHeadPlacement | arrowHeadPlacement () const |
| Returns the current arrow head placement strategy. | |
| virtual vrvTacticalGraphicUtilities::ArrowStyle | arrowStyle () const |
| Returns the arrow style. | |
| virtual double | arrowSize () const |
| Returns the size of the arrow. | |
| virtual bool | fixedWidthSizing () const |
| Returns whether or not line is using fixed width sizing. | |
| virtual makVrv::DtUniqueID | uniqueId () const |
| Returns the unique id of the scene object agent. | |
| virtual makVrv::DtElementID | elementId () const |
| Returns the element id of the scene object agent. | |
| virtual int | modelSet () const |
| Returns the model set. | |
| virtual DtSceneObjectAgent * | sceneObjectAgent () |
| Returns the scene object agent associated with this facade. | |
Protected Member Functions | |
| void | createLineAgent () |
| Creates the line agent. Called from constructor. | |
Protected Member Functions inherited from makVrv::DtLineFacadeInterface | |
| virtual void | updateArrowFrequencyForSegment (int) |
| Updates the arrow segments given the current arrow segment frequency for the given segment. | |
Protected Attributes | |
| DtExtrudedLineModelAgent * | myLine |
Protected Attributes inherited from makVrv::DtLineFacadeInterface | |
| DtAgentManagerInterface & | myAgentManagerInterface |
| DtSceneObjectAgent * | mySceneObjectAgent |
| bool | myOwnsSceneObjectAgent |
| float | myColor [4] |
| int | myLineWidth |
| int | myModelSet |
| bool | mySelected |
| bool | myFixedWidthSizing |
| DtVector | myOrigin |
| std::vector< DtVector > | myControlPoints |
| vrvTacticalGraphicUtilities::ArrowStyle | myArrowStyle |
| vrvTacticalGraphicUtilities::ArrowHeadPlacement | myArrowHeadPlacement |
| vrvTacticalGraphicUtilities::LineStyle | myLineStyle |
| double | myArrowSize |
| bool | myPickable |
| bool | myVisible |
| makVrv::DtElementID | myElementId |
Contains Dt3DLineFacade class.
Facade interface for constructing 3D line objects
| makVrv::Dt3DLineFacade::Dt3DLineFacade | ( | DtAgentManagerInterface & | , |
| DtSceneObjectAgent * | agent, | ||
| DtElementID | id, | ||
| int | modelSet | ||
| ) |
Constructor that will take an existing scene object agent.
| makVrv::Dt3DLineFacade::Dt3DLineFacade | ( | DtAgentManagerInterface & | , |
| int | modelSet, | ||
| DtElementID | id, | ||
| bool | distribute = true |
||
| ) |
Will create a new scene object agent for the given model set and element id.
|
virtual |
DTOR.
|
virtual |
Sets the line solid (true) or outlined (false). Default is true.
Implements makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt3DAirCorridorLineFacade.
|
virtual |
Sets the model definition for the model.
Implements makVrv::DtLineFacadeInterface.
|
virtual |
Sets the color for the line.
This will apply to all segments of the line. If the default (all 0's), uses the default as defined in the visual definition
Reimplemented from makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt3DAirCorridorLineFacade.
|
virtual |
Sets the width of the outside line. Default is 2.
Implements makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt3DAirCorridorLineFacade.
|
virtual |
Sets the pattern for the line portion of the line.
Implements makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt3DAirCorridorLineFacade.
|
virtual |
Sets whether or not line is occluded. Default is true.
Reimplemented in makVrv::Dt3DAirCorridorLineFacade.
|
virtual |
Sets the object visible.
Reimplemented from makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt3DAirCorridorLineFacade.
|
virtual |
Sets pickable or not.
Reimplemented from makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt3DAirCorridorLineFacade.
Sets arrow at end of segment.
Implements makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt3DAirCorridorLineFacade.
Sets arrow at end of segment.
Implements makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt3DAirCorridorLineFacade.
|
virtual |
Sets the size of the arrow (in pixels)
Reimplemented from makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt3DAirCorridorLineFacade.
|
virtual |
Sets the style of arrow to use. Applies to all segments.
Reimplemented from makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt3DAirCorridorLineFacade.
|
virtual |
Sets the style of th line via the agent.
Reimplemented from makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt3DAirCorridorLineFacade.
|
virtual |
For those lines that support it, whether or not the lines sizes when zooming to pixel space (fixed width) or to the database (non-fixed width).
Default is fixed width. If changing modes, be sure to change the arrow size
Reimplemented from makVrv::DtLineFacadeInterface.
|
virtual |
Sets whether or not line is scribed.
Reimplemented from makVrv::DtLineFacadeInterface.
|
protected |
Creates the line agent. Called from constructor.
|
protected |