![]() |
VR-Forces 5.0.2 Developer's Guide
|
Enumerations | |
| enum | LineStyle { Plain, Axis, AirAxis, MainAxis, Feint, AirCorridor, Bridge } |
| enum | ArrowStyle { Simple, Linear, Main, SimpleLastArrowReversed, Berm } |
| enum | ArrowHeadPlacement { None, AllEndSegments, AllStartSegments, LastSegmentOnly, FirstSegmentOnly, StartOfFirstEndOfLast } |
| enum | PenStyle { NoPen = 1, SolidLine, DashedLine, DottedLine, DashDotLine, DashDotDotLine } |
| enum | FillStyle { NoFill = 0, SolidFill = 1, Percent94Fill, Percent88Fill, Percent63Fill, Percent50Fill, Percent37Fill, Percent12Fill, Percent06Fill, HorizontalLines, VerticalLines, CrossingLines, DiagonalLines, ReverseDiagonalLines, DiagonalCrossingLines, Texture } |
Functions | |
| DT_DLL_VRVCORE bool | create2DArrowStyleGeometryHalfLinearDown (const DtCoordinateSystem &cs, const DtVector &start, const DtVector &end, double arrowSize, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create2DArrowStyleGeometryLinear (const DtCoordinateSystem &cs, const DtVector &start, const DtVector &end, double arrowSize, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create2DArrowStyleGeometryMain (const DtCoordinateSystem &cs, const DtVector &start, const DtVector &end, double arrowSize, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create2DArrowStyleGeometrySimple (const DtCoordinateSystem &cs, const DtVector &start, const DtVector &end, double arrowSize, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create2DLineStyleGeometryAirAxis (const DtCoordinateSystem &cs, const std::vector< DtVector > &linePoints, double size, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, std::vector< int > &segmentsToErase, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create2DLineStyleGeometryAirCorridor (const DtCoordinateSystem &cs, const std::vector< DtVector > &linePoints, double size, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, std::vector< int > &segmentsToErase, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create2DLineStyleGeometryAxis (const DtCoordinateSystem &cs, const std::vector< DtVector > &linePoints, double size, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, std::vector< int > &segmentsToErase, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create2DLineStyleGeometryBridge (const DtCoordinateSystem &cs, const std::vector< DtVector > &linePoints, double size, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, std::vector< int > &segmentsToErase, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create2DLineStyleGeometryFeint (const DtCoordinateSystem &cs, const std::vector< DtVector > &linePoints, double size, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, std::vector< int > &segmentsToErase, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create2DLineStyleGeometryMainAxis (const DtCoordinateSystem &cs, const std::vector< DtVector > &linePoints, double size, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, std::vector< int > &segmentsToErase, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create3DArrowStyleGeometryHalfLinearDown (const DtCoordinateSystem &cs, const DtVector &start, const DtVector &end, double arrowSize, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create3DArrowStyleGeometryLinear (const DtCoordinateSystem &cs, const DtVector &start, const DtVector &end, double arrowSize, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create3DArrowStyleGeometryMain (const DtCoordinateSystem &cs, const DtVector &start, const DtVector &end, double arrowSize, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create3DArrowStyleGeometrySimple (const DtCoordinateSystem &cs, const DtVector &start, const DtVector &end, double arrowSize, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create3DLineStyleGeometryAirAxis (const DtCoordinateSystem &cs, const std::vector< DtVector > &linePoints, double size, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, std::vector< int > &segmentsToErase, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create3DLineStyleGeometryAirCorridor (const DtCoordinateSystem &cs, const std::vector< DtVector > &linePoints, double size, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, std::vector< int > &segmentsToErase, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create3DLineStyleGeometryAxis (const DtCoordinateSystem &cs, const std::vector< DtVector > &linePoints, double size, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, std::vector< int > &segmentsToErase, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create3DLineStyleGeometryBridge (const DtCoordinateSystem &cs, const std::vector< DtVector > &linePoints, double size, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, std::vector< int > &segmentsToErase, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create3DLineStyleGeometryFeint (const DtCoordinateSystem &cs, const std::vector< DtVector > &linePoints, double size, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, std::vector< int > &segmentsToErase, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE bool | create3DLineStyleGeometryMainAxis (const DtCoordinateSystem &cs, const std::vector< DtVector > &linePoints, double size, std::vector< DtVector > &result3DPositions, std::vector< DtVector > &resultOffsetPositions, std::vector< int > &segmentsToErase, const DtVector &offsetFromPoint=DtVector::zero()) |
| DT_DLL_VRVCORE double | angleTo (const makVrv::DtCoordinateSystem &, const DtVector &origin, const DtVector &to) |
| DT_DLL_VRVCORE double | elevationTo (const makVrv::DtCoordinateSystem &, const DtVector &origin, const DtVector &to) |
| DT_DLL_VRVCORE double | distance (const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to) |
| DT_DLL_VRVCORE unsigned short | mapPenStyleToStipplePattern (PenStyle penStyle) |
| DT_DLL_VRVCORE PenStyle | mapStipplePatternToPenStyle (unsigned short) |
| DT_DLL_VRVCORE bool | vrfColorToRgba (unsigned vrfColor, float &r, float &g, float &b, float &a) |
| DT_DLL_VRVCORE DtTaitBryan | level (const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading) |
| DT_DLL_VRVCORE bool | mapFillStyleToFillPattern (FillStyle style, std::vector< unsigned int > &, float *alpha) |
| DT_DLL_VRVCORE std::vector < unsigned int > | patternToVector (char *pattern[32]) |
Default line Styles.
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create2DArrowStyleGeometryHalfLinearDown | ( | const DtCoordinateSystem & | cs, |
| const DtVector & | start, | ||
| const DtVector & | end, | ||
| double | arrowSize, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database start - start point of line for arrow direction end - end point of line for arrow direction. Where arrow will be placed arrowSize - The size of the body of the arrow. Pixels space for 2D or meter space for 3D lines result3DPositions - Resultant 3D locations of new arrow resultOffsetPositions - Resultant 2D offsets to 3D positions offsetFromPoint - The offset to apply to start and end points
Will return true if arrow is created
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create2DArrowStyleGeometryLinear | ( | const DtCoordinateSystem & | cs, |
| const DtVector & | start, | ||
| const DtVector & | end, | ||
| double | arrowSize, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database start - start point of line for arrow direction end - end point of line for arrow direction. Where arrow will be placed arrowSize - The size of the body of the arrow. Pixels space for 2D or meter space for 3D lines result3DPositions - Resultant 3D locations of new arrow resultOffsetPositions - Resultant 2D offsets to 3D positions offsetFromPoint - The offset to apply to start and end points
Will return true if arrow is created
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create2DArrowStyleGeometryMain | ( | const DtCoordinateSystem & | cs, |
| const DtVector & | start, | ||
| const DtVector & | end, | ||
| double | arrowSize, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database start - start point of line for arrow direction end - end point of line for arrow direction. Where arrow will be placed arrowSize - The size of the body of the arrow. Pixels space for 2D or meter space for 2D lines result3DPositions - Resultant 3D locations of new arrow resultOffsetPositions - Resultant 2D offsets to 3D positions offsetFromPoint - The offset to apply to start and end points
Will return true if arrow is created
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create2DArrowStyleGeometrySimple | ( | const DtCoordinateSystem & | cs, |
| const DtVector & | start, | ||
| const DtVector & | end, | ||
| double | arrowSize, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database start - start point of line for arrow direction end - end point of line for arrow direction. Where arrow will be placed arrowSize - The size of the body of the arrow. Pixels space for 2D or meter space for 3D lines result3DPositions - Resultant 3D locations of new arrow resultOffsetPositions - Resultant 2D offsets to 3D positions offsetFromPoint - The offset to apply to start and end points
Will return true if arrow is created
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create2DLineStyleGeometryAirAxis | ( | const DtCoordinateSystem & | cs, |
| const std::vector< DtVector > & | linePoints, | ||
| double | size, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| std::vector< int > & | segmentsToErase, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database linePoints - Points which define the simple line before modification size - The size of the body of the line 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
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create2DLineStyleGeometryAirCorridor | ( | const DtCoordinateSystem & | cs, |
| const std::vector< DtVector > & | linePoints, | ||
| double | size, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| std::vector< int > & | segmentsToErase, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database linePoints - Points which define the simple line before modification size - The size of the body of the line 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
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create2DLineStyleGeometryAxis | ( | const DtCoordinateSystem & | cs, |
| const std::vector< DtVector > & | linePoints, | ||
| double | size, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| std::vector< int > & | segmentsToErase, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database linePoints - Points which define the simple line before modification size - The size of the body of the line 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
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create2DLineStyleGeometryBridge | ( | const DtCoordinateSystem & | cs, |
| const std::vector< DtVector > & | linePoints, | ||
| double | size, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| std::vector< int > & | segmentsToErase, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database linePoints - Points which define the simple line before modification size - The size of the body of the line 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
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create2DLineStyleGeometryFeint | ( | const DtCoordinateSystem & | cs, |
| const std::vector< DtVector > & | linePoints, | ||
| double | size, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| std::vector< int > & | segmentsToErase, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database linePoints - Points which define the simple line before modification size - The size of the body of the line 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
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create2DLineStyleGeometryMainAxis | ( | const DtCoordinateSystem & | cs, |
| const std::vector< DtVector > & | linePoints, | ||
| double | size, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| std::vector< int > & | segmentsToErase, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database linePoints - Points which define the simple line before modification size - The size of the body of the line 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
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create3DArrowStyleGeometryHalfLinearDown | ( | const DtCoordinateSystem & | cs, |
| const DtVector & | start, | ||
| const DtVector & | end, | ||
| double | arrowSize, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database start - start point of line for arrow direction end - end point of line for arrow direction. Where arrow will be placed arrowSize - The size of the body of the arrow. Pixels space for 2D or meter space for 3D lines result3DPositions - Resultant 3D locations of new arrow resultOffsetPositions - Resultant 2D offsets to 3D positions offsetFromPoint - The offset to apply to start and end points
Will return true if arrow is created
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create3DArrowStyleGeometryLinear | ( | const DtCoordinateSystem & | cs, |
| const DtVector & | start, | ||
| const DtVector & | end, | ||
| double | arrowSize, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database start - start point of line for arrow direction end - end point of line for arrow direction. Where arrow will be placed arrowSize - The size of the body of the arrow. Pixels space for 2D or meter space for 3D lines result3DPositions - Resultant 3D locations of new arrow resultOffsetPositions - Resultant 2D offsets to 3D positions offsetFromPoint - The offset to apply to start and end points
Will return true if arrow is created
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create3DArrowStyleGeometryMain | ( | const DtCoordinateSystem & | cs, |
| const DtVector & | start, | ||
| const DtVector & | end, | ||
| double | arrowSize, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database start - start point of line for arrow direction end - end point of line for arrow direction. Where arrow will be placed arrowSize - The size of the body of the arrow. Pixels space for 2D or meter space for 3D lines result3DPositions - Resultant 3D locations of new arrow resultOffsetPositions - Resultant 2D offsets to 3D positions offsetFromPoint - The offset to apply to start and end points
Will return true if arrow is created
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create3DArrowStyleGeometrySimple | ( | const DtCoordinateSystem & | cs, |
| const DtVector & | start, | ||
| const DtVector & | end, | ||
| double | arrowSize, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database start - start point of line for arrow direction end - end point of line for arrow direction. Where arrow will be placed arrowSize - The size of the body of the arrow. Pixels space for 2D or meter space for 3D lines result3DPositions - Resultant 3D locations of new arrow resultOffsetPositions - Resultant 2D offsets to 3D positions offsetFromPoint - The offset to apply to start and end points
Will return true if arrow is created
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create3DLineStyleGeometryAirAxis | ( | const DtCoordinateSystem & | cs, |
| const std::vector< DtVector > & | linePoints, | ||
| double | size, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| std::vector< int > & | segmentsToErase, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database linePoints - Points which define the simple line before modification size - The size of the body of the line 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
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create3DLineStyleGeometryAirCorridor | ( | const DtCoordinateSystem & | cs, |
| const std::vector< DtVector > & | linePoints, | ||
| double | size, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| std::vector< int > & | segmentsToErase, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database linePoints - Points which define the simple line before modification size - The size of the body of the line 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
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create3DLineStyleGeometryAxis | ( | const DtCoordinateSystem & | cs, |
| const std::vector< DtVector > & | linePoints, | ||
| double | size, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| std::vector< int > & | segmentsToErase, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database linePoints - Points which define the simple line before modification size - The size of the body of the line 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
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create3DLineStyleGeometryBridge | ( | const DtCoordinateSystem & | cs, |
| const std::vector< DtVector > & | linePoints, | ||
| double | size, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| std::vector< int > & | segmentsToErase, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database linePoints - Points which define the simple line before modification size - The size of the body of the line 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
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create3DLineStyleGeometryFeint | ( | const DtCoordinateSystem & | cs, |
| const std::vector< DtVector > & | linePoints, | ||
| double | size, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| std::vector< int > & | segmentsToErase, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database linePoints - Points which define the simple line before modification size - The size of the body of the line 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
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::create3DLineStyleGeometryMainAxis | ( | const DtCoordinateSystem & | cs, |
| const std::vector< DtVector > & | linePoints, | ||
| double | size, | ||
| std::vector< DtVector > & | result3DPositions, | ||
| std::vector< DtVector > & | resultOffsetPositions, | ||
| std::vector< int > & | segmentsToErase, | ||
| const DtVector & | offsetFromPoint = DtVector::zero() |
||
| ) |
Supplied parameters.
CoordinateSystem - Coordinate system of database linePoints - Points which define the simple line before modification size - The size of the body of the line 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
| DT_DLL_VRVCORE double makVrv::vrvTacticalGraphicUtilities::angleTo | ( | const makVrv::DtCoordinateSystem & | , |
| const DtVector & | origin, | ||
| const DtVector & | to | ||
| ) |
Returns the angle (topographic) between the two local points. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric.
| DT_DLL_VRVCORE double makVrv::vrvTacticalGraphicUtilities::elevationTo | ( | const makVrv::DtCoordinateSystem & | , |
| const DtVector & | origin, | ||
| const DtVector & | to | ||
| ) |
Returns the elevation (topographic) between the two local points. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric.
| DT_DLL_VRVCORE double makVrv::vrvTacticalGraphicUtilities::distance | ( | const makVrv::DtCoordinateSystem & | , |
| const DtVector & | from, | ||
| const DtVector & | to | ||
| ) |
Returns the distance from the two points. Coordinates are in local database coordinates The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
Referenced by DtSurfaceMovementPSR::setStartTurnDistance2().
| DT_DLL_VRVCORE unsigned short makVrv::vrvTacticalGraphicUtilities::mapPenStyleToStipplePattern | ( | PenStyle | penStyle | ) |
Maps line style to stipple pattern.
1 - No Pen 2 - Solid Line 3 - Dashed Line 4 - Dotted Line 5 - Dash-Dot Line 6 - Dash-Dot-Dot Line
| DT_DLL_VRVCORE PenStyle makVrv::vrvTacticalGraphicUtilities::mapStipplePatternToPenStyle | ( | unsigned | short | ) |
Maps line style to line style.
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::vrfColorToRgba | ( | unsigned | vrfColor, |
| float & | r, | ||
| float & | g, | ||
| float & | b, | ||
| float & | a | ||
| ) |
Takes a 32 bit argb value and translates it to r, g, b, a colors.
| DT_DLL_VRVCORE DtTaitBryan makVrv::vrvTacticalGraphicUtilities::level | ( | const DtCoordinateSystem & | cs, |
| const DtVector & | localOrigin, | ||
| double | topoHeading | ||
| ) |
Returns a level orientation with the topographic heading.
Referenced by makVrv::DtDebugLog::levelWillPrint(), makVrv::DtDebugLog::out(), DtRwSensorContactInfo::setCombatIdentificationLevel(), DtRwSensorContactInfo::setDetectionError(), and DtRwScriptReactiveTaskEntry::setPriority().
| DT_DLL_VRVCORE bool makVrv::vrvTacticalGraphicUtilities::mapFillStyleToFillPattern | ( | FillStyle | style, |
| std::vector< unsigned int > & | , | ||
| float * | alpha | ||
| ) |
Sets the fill style according to the following styles 0 - No Fill 1 - Solid Fill 2 - 94% Fill 3 - 88% Fill 4 - 63% Fill 5 - 50% Fill 6 - 37% Fill 7 - 12% Fill 8 - 6% Fill 9 - Horizontal Lines 10 - Vertical Lines 11 - Crossing Lines 12 - Diagonal Lines 13 - Reverse Diagonal Lines 14 - Diagonal Crossing Lines 15 - Texture. Filled by texture specified in model definition Maps a fill style to a fill 32 bit fill pattern. If the alpha flag is filled in and the return value is an empty array the fill pattern only effects the alpha and does not have a fill style. Returns true if style is valid.
| DT_DLL_VRVCORE std::vector<unsigned int> makVrv::vrvTacticalGraphicUtilities::patternToVector | ( | char * | pattern[32] | ) |
Takes a 32x32 character array and turns into 32 integers.