The DtLineStyleGeometryManager class manages line style geometries.
|
typedef boost::function< bool(const
DtCoordinateSystem &, const
DtVector &, const DtVector
&, double, std::vector
< DtVector > &, std::vector
< DtVector > &, const DtVector
&offsetFromPoint)> | ArrowCreateFunction |
| |
typedef boost::function< bool(const
DtCoordinateSystem &, const
std::vector< DtVector >
&, double, std::vector
< DtVector > &, std::vector
< DtVector > &, std::vector
< int > &, const DtVector
&offsetFromPoint)> | LineCreateFunction |
| |
typedef boost::unordered_map
< int, LineCreateFunction > | LineStyleGeometries |
| |
typedef boost::unordered_map
< int, ArrowCreateFunction > | ArrowStyleGeometries |
| |
|
| | DtLineStyleGeometryManager (DtDe &) |
| |
| virtual | ~DtLineStyleGeometryManager () |
| |
| virtual void | add2DLineStyle (vrvTacticalGraphicUtilities::LineStyle, LineCreateFunction) |
| |
| virtual void | add3DLineStyle (vrvTacticalGraphicUtilities::LineStyle, LineCreateFunction) |
| |
| virtual void | add2DArrowStyle (vrvTacticalGraphicUtilities::ArrowStyle, ArrowCreateFunction) |
| |
| virtual void | add3DArrowStyle (vrvTacticalGraphicUtilities::ArrowStyle, ArrowCreateFunction) |
| |
|
| virtual bool | create2DLineStyle (vrvTacticalGraphicUtilities::LineStyle, const std::vector< DtVector > &linePoints, double size, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, std::vector< int > &segmentsToErase, const DtVector &offsetFromPoint=DtVector::zero()) const |
| |
| virtual bool | create3DLineStyle (vrvTacticalGraphicUtilities::LineStyle, const std::vector< DtVector > &linePoints, double size, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, std::vector< int > &segmentsToErase, const DtVector &offsetFromPoint=DtVector::zero()) const |
| |
|
| virtual bool | create2DArrowStyle (vrvTacticalGraphicUtilities::ArrowStyle, const DtVector &start, const DtVector &end, double arrowSize, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, const DtVector &offsetFromPoint=DtVector::zero()) const |
| |
| virtual bool | create3DArrowStyle (vrvTacticalGraphicUtilities::ArrowStyle, const DtVector &start, const DtVector &end, double arrowSize, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, const DtVector &offsetFromPoint=DtVector::zero()) const |
| |
| | DtVirtualBaseClass () |
| |
| virtual | ~DtVirtualBaseClass () |
| |
Typedef arrow style funcion.
Typedef line style function.
Typedefed map of line style geometries.
Typedefed map of arrow style geometries.
| makVrv::DtLineStyleGeometryManager::DtLineStyleGeometryManager |
( |
DtDe & |
| ) |
|
| virtual makVrv::DtLineStyleGeometryManager::~DtLineStyleGeometryManager |
( |
| ) |
|
|
virtual |
Get the creator instance for this IG object.
- Exceptions
-
| DtCorruptedState | if it is unable to get the instance. |
Register the creator instance with an IG.
Registers a line style for either 2D representation. If one exists for the LineStyle and display mode will replace.
Registers a line style for either 3D representation. If one exists for the LineStyle and display mode will replace.
Registers an arrow style for either 2D representation. If one exists for the ArrowStyle and display mode will replace.
Registers an arrow style for either 3D representation. If one exists for the ArrowStyle and display mode will replace.
Supplied parameters.
LineStyle - Style of line to create linePoints - Points which define the simple line before modification size - The size of the body of the line in pixels for 2D and meters for 3D result3DPositions - Resultant 3D locations of new line resultOffsetPositions - Resultant 2D offsets to 3D positions segmentsToErase - In the resultant line, the segment indices to make completely transparent offsetFromPoint - The offset to apply to each point in the linePoints array
Will return true if line is created Create 2D line version
Supplied parameters.
ArrowStyle - Style of arrow to create start - start point of line segment (for arrow direction) end - end point of segment (where arrow will be placed) size - The size of the body of the line result3DPositions - Resultant 3D locations of new line resultOffsetPositions - Resultant 2D offsets to 3D positions offsetFromPoint - The offset to apply to each point in the linePoints array
Will return true if line is created Create 2D arrow version
Adds line style into the supplied map.
Adds arrow create function into the supplied map.
| DtDe& makVrv::DtLineStyleGeometryManager::myDe |
|
protected |
The documentation for this class was generated from the following file: