13 #include <matrix/vlVector.h>
14 #include <matrix/vlTaitBryan.h>
18 class DtCoordinateSystem;
23 namespace vrvTacticalGraphicUtilities
204 const DtVector& offsetPoint,
const DtDcm& offsetOriDcm,
205 float packedCoords[4] );
Arrow at start of first segment.
DT_DLL_VRVCORE bool DtInsideTriangulate(const std::vector< DtVector > &contour, std::vector< int > &results)
Triangulates the given points and returns the indicies that form the triangles. The triangles will be...
DT_DLL_VRVCORE double elevationTo(const makVrv::DtCoordinateSystem &, const DtVector &origin, const DtVector &to)
Returns the elevation (topographic) between the two local points. Coordinates are in local database c...
Arrow at the beginning of all segments (will draw arrow as pointing towards start of line segment) ...
ArrowHeadPlacement
Definition: DtTacticalGraphicUtilities.h:59
voidpf uLong int origin
Definition: ioapi.h:42
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
DT_DLL_VRVCORE std::vector< unsigned int > patternToVector(bool *pattern[32])
Takes a 32x32 bool array and turns into 32 integers.
Arrow at the end of all segments.
Last arrow is reversed (points towards the previous point), whereas all other arrows point to the nex...
LineStyle
Default line Styles.
Definition: DtTacticalGraphicUtilities.h:28
std::vector< DtVector > DtVerticesVector
Definition: DtTacticalGraphicUtilities.h:25
Double-thick line with arrow at the end and Twist in the first segment.
Has not been set by a network connection.
DT_DLL_VRVCORE DtDcm combineOrientationsToDcm(const DtTaitBryan &globalOri, const DtTaitBryan &localOri)
Adds two orientations together into a DtDcm and converts the DtDcm from zDownToZup.
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points. Coordinates are in local database coordinates The coordinat...
DT_DLL_VRVCORE void packPosition(const DtVector &point, const DtDcm &pointOriDcm, const DtVector &offsetPoint, const DtDcm &offsetOriDcm, float packedCoords[4])
Rotates the point by its dcm, rotates the offset by its dcm, combines both results and packs the resu...
ArrowStyle
Definition: DtTacticalGraphicUtilities.h:46
PenStyle
Definition: DtTacticalGraphicUtilities.h:71
Double-thick line with main arrow at end.
DT_DLL_VRVCORE unsigned char reverseBitsWithinByte(unsigned char b)
Helper Function to reverse the most/least significant bits - used by patternToVector(char* pattern[32...
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Has not been set by a network connection.
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:40
Double-thick line with main arrow at end where second arrow is dotted.
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.
Has not been set by a network connection.
FillStyle
Definition: DtTacticalGraphicUtilities.h:82
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. 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.
Double-thick line with arrow at the end.
FriendlyForceColorStyle
Enumeration used to specify the current friendly force color style By default, the friendly force col...
Definition: DtTacticalGraphicUtilities.h:107
Has not been set by a network connection.
DT_DLL_VRVCORE double angleTo(const makVrv::DtCoordinateSystem &, const DtVector &origin, const DtVector &to)
Returns the angle (topographic) between the two local points. Coordinates are in local database coord...
DT_DLL_VRVCORE unsigned short mapPenStyleToStipplePattern(PenStyle penStyle)
Maps line style to stipple pattern.
Solid fill but will respect alpha color.
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%...
DT_DLL_VRVCORE DtVector midpoint(const makVrv::DtCoordinateSystem &, const DtVector &first, const DtVector &second)
Returns the midpoint between two points. Coordinates are in local database coordinates The coordinate...
DT_DLL_VRVCORE PenStyle mapStipplePatternToPenStyle(unsigned short)
Maps line style to line style.
Has not been set by a network connection.
Straight line for arrow head.
Contains DLL export macros.