VR-Forces 4.1.1 Class Documentation
DtTacticalGraphicUtilities.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: vrvTacticalGraphicUtilities.h,v $ $Revision: 1.2 $ $State: Exp $
7 ******************************************************************************/
8 
11 
12 #pragma once
13 
14 #include <vrvCore/vrvCore.h>
15 #include <vector>
16 #include <matrix/vlVector.h>
17 #include <matrix/vlTaitBryan.h>
18 
19 namespace makVrv
20 {
21  class DtCoordinateSystem;
22 }
23 
24 namespace makVrv
25 {
26  namespace vrvTacticalGraphicUtilities
27  {
29  enum LineStyle
30  {
32  Axis,
34 
37 
39  };
40 
42  {
46  };
47 
49  {
50  None,
53 
57  };
58 
59  enum PenStyle
60  {
61  NoPen = 1,
67  };
68 
69  enum FillStyle
70  {
71  NoFill = 0,
72  SolidFill= 1,
87  };
88 
92  DT_DLL_VRVCORE double angleTo(const makVrv::DtCoordinateSystem&, const DtVector& origin, const DtVector& to);
93 
97  DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem&, const DtVector& from, const DtVector& to);
98 
101  DT_DLL_VRVCORE DtVector rotatedPoint(const makVrv::DtCoordinateSystem&, const DtVector& origin, double range, double angle);
102 
105  DT_DLL_VRVCORE std::vector<DtVector> createBox(const makVrv::DtCoordinateSystem&, const DtVector& origin, double arrowSize, double length);
106 
115  DT_DLL_VRVCORE unsigned short mapPenStyleToStipplePattern(PenStyle penStyle);
116 
119 
121  DT_DLL_VRVCORE bool vrfColorToRgba( unsigned vrfColor, float& r, float& g, float& b, float& a);
122 
124  DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem& cs, const DtVector& localOrigin, double topoHeading);
125 
145  DT_DLL_VRVCORE bool mapFillStyleToFillPattern(FillStyle style, std::vector<unsigned int>&, float* alpha);
146 
148  DT_DLL_VRVCORE std::vector<unsigned int> patternToVector(char* pattern[32]);
149  }
150 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)