VR-Forces 4.1 Class Documentation
Enumerations | Functions
makVrv::vrvTacticalGraphicUtilities Namespace Reference

Enumerations

enum  LineStyle {
  Plain, Axis, AirAxis, MainAxis,
  Feint, AirCorridor
}
 Default line Styles. More...
enum  ArrowStyle { Simple, Linear, Main }
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 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.
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())
 Supplied parameters.
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())
 Supplied parameters.
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())
 Supplied parameters.
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())
 Supplied parameters.
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())
 Supplied parameters.
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())
 Supplied parameters.
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())
 Supplied parameters.
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())
 Supplied parameters.
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())
 Supplied parameters.
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())
 Supplied parameters.
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())
 Supplied parameters.
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())
 Supplied parameters.
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())
 Supplied parameters.
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())
 Supplied parameters.
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())
 Supplied parameters.
DT_DLL_VRVCORE double angleTo (const makVrv::DtCoordinateSystem &, const DtVector &origin, const DtVector &to)
 Returns the angle (topographic) between the two local points.
DT_DLL_VRVCORE double distance (const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
 Returns the distance from the two points.
DT_DLL_VRVCORE DtVector rotatedPoint (const makVrv::DtCoordinateSystem &, const DtVector &origin, double range, double angle)
 Given an origin, distance and angle, return the destination (local) point.
DT_DLL_VRVCORE std::vector
< DtVector
createBox (const makVrv::DtCoordinateSystem &, const DtVector &origin, double arrowSize, double length)
 Given an origin and length and arrowSize, returns four coordinates which represent the box for that item.
DT_DLL_VRVCORE unsigned short mapPenStyleToStipplePattern (PenStyle penStyle)
 Maps line style to stipple pattern.
DT_DLL_VRVCORE PenStyle mapStipplePatternToPenStyle (unsigned short)
 Maps line style to line style.
DT_DLL_VRVCORE bool 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 level (const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
 Returns a level orientation with the topographic heading.
DT_DLL_VRVCORE bool 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.
DT_DLL_VRVCORE std::vector
< unsigned int > 
patternToVector (char *pattern[32])
 Takes a 32x32 character array and turns into 32 integers.

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.

Air-corridor line

Enumerator:
Simple 
Linear 

Simple arrow.

Main 

Straight line for arrow head.

Double arrow line

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.

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.

Polygon is filled with texture

Function Documentation

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::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::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::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::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 makVrv::DtOsgCullVisitorParameters::calculateScaleFromDistance(), and makVrv::DtAudioSettingsRecord::index().

DT_DLL_VRVCORE DtVector makVrv::vrvTacticalGraphicUtilities::rotatedPoint ( const makVrv::DtCoordinateSystem ,
const DtVector origin,
double  range,
double  angle 
)

Given an origin, distance and angle, return the destination (local) point.

Angle is in radians

DT_DLL_VRVCORE std::vector<DtVector> makVrv::vrvTacticalGraphicUtilities::createBox ( const makVrv::DtCoordinateSystem ,
const DtVector origin,
double  arrowSize,
double  length 
)

Given an origin and length and arrowSize, returns four coordinates which represent the box for that item.

Coordinates are 0 = lower left, 1 = upper left, 2 = upper right, 4 = lower right

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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)