![]() |
VR-Forces 4.1 Class Documentation
|
Contains Dt2DLineFacade class. More...

Public Member Functions | |
| Dt2DLineFacade (DtAgentManagerInterface &, DtSceneObjectAgent *agent, DtElementID id, int modelSet) | |
| Constructor that will take an existing scene object agent. | |
| Dt2DLineFacade (DtAgentManagerInterface &, int modelSet, DtElementID id, bool distribute=true) | |
| Will create a new scene object agent for the given model set and element id. | |
| virtual | ~Dt2DLineFacade () |
| DTOR. | |
| virtual void | setSolid (bool) |
| Override to no-op as this is a 3D only concept. | |
| 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 | 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 start 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). | |
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 void | setScribed (bool) |
| Sets whether or not line is scribed. | |
| 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. | |
Protected Member Functions | |
| void | createLineAgent () |
| Creates the agent used to display the line. 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 | |
| DtOverlaySegmentedLineModelAgent * | 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 Dt2DLineFacade class.
Facade interface for constructing 2D Line objects
| makVrv::Dt2DLineFacade::Dt2DLineFacade | ( | DtAgentManagerInterface & | , |
| DtSceneObjectAgent * | agent, | ||
| DtElementID | id, | ||
| int | modelSet | ||
| ) |
Constructor that will take an existing scene object agent.
| makVrv::Dt2DLineFacade::Dt2DLineFacade | ( | 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 |
Override to no-op as this is a 3D only concept.
Implements makVrv::DtLineFacadeInterface.
|
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::Dt2DAirCorridorLineFacade.
|
virtual |
Sets the width of the outside line. Default is 2.
Implements makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt2DAirCorridorLineFacade.
|
virtual |
Sets the pattern for the line portion of the line.
Implements makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt2DAirCorridorLineFacade.
|
virtual |
Sets the object visible.
Reimplemented from makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt2DAirCorridorLineFacade.
|
virtual |
Sets pickable or not.
Reimplemented from makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt2DAirCorridorLineFacade.
|
virtual |
Sets arrow at end of segment.
Implements makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt2DAirCorridorLineFacade.
|
virtual |
Sets arrow at start of segment.
Implements makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt2DAirCorridorLineFacade.
|
virtual |
Sets the size of the arrow (in pixels)
Reimplemented from makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt2DAirCorridorLineFacade.
|
virtual |
Sets the style of arrow to use. Applies to all segments.
Reimplemented from makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt2DAirCorridorLineFacade.
|
virtual |
Sets the style of th line via the agent.
Reimplemented from makVrv::DtLineFacadeInterface.
Reimplemented in makVrv::Dt2DAirCorridorLineFacade.
|
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.
|
protected |
Creates the agent used to display the line. Called from constructor.
|
protected |