VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Enumerations | Functions
makVrv::vrvTacticalGraphicUtilities Namespace Reference

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])
 

Enumeration Type Documentation

Default line Styles.

Enumerator
Plain 
Axis 

Plain line.

AirAxis 

Double-thick line with arrow at the end.

MainAxis 

Double-thick line with arrow at the end and Twist in the first segment.

Feint 

Double-thick line with main arrow at end.

AirCorridor 

Double-thick line with main arrow at end where second arrow is dotted.

Bridge 

Air-corridor line.

Double thick line with half arrows at each end of the line: ____________/

/---------—\

Enumerator
Simple 
Linear 

Simple arrow.

Main 

Straight line for arrow head.

SimpleLastArrowReversed 

Double arrow line.

Berm 

Last arrow is reversed (points towards the previous point), whereas all other arrows point to the next point. This is useful for drawing a breach line.

Half height linear line where line is "below" the route

Enumerator
None 
AllEndSegments 

No arrow.

AllStartSegments 

Arrow at the end of all segments.

LastSegmentOnly 

Arrow at the beginning of all segments (will draw arrow as pointing towards start of line segment)

FirstSegmentOnly 

Arrow on last segment.

StartOfFirstEndOfLast 

Arrow at start of first segment.

Arrow at start of first and end of last segment

Enumerator
NoPen 
SolidLine 

No Pen.

DashedLine 

Solid line.

DottedLine 

Dashed line.

DashDotLine 

Dotted line.

DashDotDotLine 

Dash-dot line.

Dash-dot-dot line

Enumerator
NoFill 
SolidFill 

No fill.

Percent94Fill 

Solid fill but will respect alpha color.

Percent88Fill 

6% alpha fill

Percent63Fill 

12% alpha fill

Percent50Fill 

37% alpha fill

Percent37Fill 

50% alpha fill

Percent12Fill 

63% alpha fill

Percent06Fill 

88% alpha fill

HorizontalLines 

94% alpha fill

VerticalLines 

Horizontal line fill.

CrossingLines 

Vertical line fill.

DiagonalLines 

Crossing lines.

ReverseDiagonalLines 

Diagonal lines.

DiagonalCrossingLines 

Reverse diagonal lines.

Texture 

Diagonal crossing liens.

Function Documentation

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 
)
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.


Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)