![]() |
VR-Forces 5.0.1 Developer's Guide
|
Contains DtLineFacadeBase class. Facade interface for constructing line objects.

Protected Member Functions | |
| virtual void | updateArrowFrequencyForSegment (int) |
| makVrf::DtLineFacadeBase::DtLineFacadeBase | ( | makVrv::DtAgentManagerInterface & | , |
| makVrv::DtSceneObjectAgent * | agent, | ||
| makVrv::DtElementID | id, | ||
| int | modelSet | ||
| ) |
Constructor that will take an existing scene object agent.
| makVrf::DtLineFacadeBase::DtLineFacadeBase | ( | 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.
|
pure virtual |
Sets the model definition for the model.
Implemented in makVrf::Dt2DLineFacade, and makVrf::Dt3DLineFacade.
|
virtual |
Sets the color for the line. This will apply to all segments of the line.
Reimplemented in makVrf::Dt3DLineFacade.
|
virtual |
Sets the selected color for the line. When a line is selected then it will use this color instead.
Reimplemented in makVrf::Dt3DLineFacade.
|
virtual |
Gets the current seletion state for the facade.
|
pure virtual |
Sets the width of the outside line. Default is 2.
Implemented in makVrf::Dt2DLineFacade, and makVrf::Dt3DLineFacade.
|
virtual |
Sets the points for the area. If withOffset is specified, the offset is added to the supplied points.
Adds a point to the line. Returns the index of the newly added point.
|
virtual |
Removes a point from the line.
|
pure virtual |
Sets the pattern for the line portion of the line.
Implemented in makVrf::Dt2DLineFacade, and makVrf::Dt3DLineFacade.
|
virtual |
Sets the origin of the line.
|
virtual |
Sets position in the line. If the index is > the number of current points on the line the point array is resized to the size of the index.
|
pure virtual |
Sets whether or not this is a solid item.
Implemented in makVrf::Dt2DLineFacade, and makVrf::Dt3DLineFacade.
|
virtual |
Sets the object visible.
Reimplemented in makVrf::Dt3DLineFacade, and makVrf::Dt2DLineFacade.
|
virtual |
Returns the points of the facade.
|
virtual |
Sets whether or not line is scribed. Default is to do nothing. Implemented by subclasses that support line scribing.
Reimplemented in makVrf::Dt3DLineFacade.
|
virtual |
Sets whether or not item is pickable.
Reimplemented in makVrf::Dt3DLineFacade, and makVrf::Dt2DLineFacade.
|
virtual |
Returns whether or not item is pickable.
|
virtual |
Sets the style of line (default simple). The line style will map to internal factory of line styles to transform the line points into the final line style.
Reimplemented in makVrf::Dt3DLineFacade, and makVrf::Dt2DLineFacade.
|
virtual |
Returns the current line style.
|
virtual |
Sets how often the arrows should be displayed.
|
virtual |
Returns the current arrow head placement strategy.
|
virtual |
Sets the style of arrows for the line.
Reimplemented in makVrf::Dt3DLineFacade, and makVrf::Dt2DLineFacade.
|
virtual |
Returns the arrow style.
Sets arrow at end of segment.
Implemented in makVrf::Dt3DLineFacade, and makVrf::Dt2DLineFacade.
Sets arrow at start of segment.
Implemented in makVrf::Dt3DLineFacade, and makVrf::Dt2DLineFacade.
|
virtual |
Sets the size of the arrow (will mean pixels in fixed width mode and meters in variable width mode)
Reimplemented in makVrf::Dt3DLineFacade, and makVrf::Dt2DLineFacade.
|
virtual |
Returns the size of the arrow.
|
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 in makVrf::Dt3DLineFacade, and makVrf::Dt2DLineFacade.
|
virtual |
Returns whether or not line is using fixed width sizing.
|
virtual |
Returns the unique id of the scene object agent.
|
virtual |
Returns the element id of the scene object agent.
|
virtual |
Returns the model set.
|
virtual |
Set the current selected state. Also calls updateColors() to update the model with the correct color.
|
pure virtual |
called whenever a color or the mySelected changes so the model can be updated with the correct color.
Implemented in makVrf::Dt3DLineFacade, and makVrf::Dt2DLineFacade.
| makVrv::DtSceneObjectAgent* makVrf::DtLineFacadeBase::sceneObjectAgent | ( | ) | const |
Returns the scene object agent associated with this facade.
|
protectedvirtual |
Updates the arrow segments given the current arrow segment frequency for the given segment.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |