VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtTacticalGraphicUtilities.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvCore/vrvCore.h>
12 #include <vector>
13 #include <matrix/vlVector.h>
14 #include <matrix/vlTaitBryan.h>
15 
16 namespace makVrv
17 {
18  class DtCoordinateSystem;
19 }
20 
21 namespace makVrv
22 {
23  namespace vrvTacticalGraphicUtilities
24  {
26  enum LineStyle
27  {
29  Axis,
31 
34 
37 
38 
39 
40 
41  };
42 
44  {
47  Main,
53  };
54 
56  {
57  None,
60 
64  };
65 
66  enum PenStyle
67  {
68  NoPen = 1,
74  };
75 
76  enum FillStyle
77  {
78  NoFill = 0,
79  SolidFill= 1,
94  };
95 
99  DT_DLL_VRVCORE double angleTo(const makVrv::DtCoordinateSystem&, const DtVector& origin, const DtVector& to);
100 
105 
109  DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem&, const DtVector& from, const DtVector& to);
110 
119  DT_DLL_VRVCORE unsigned short mapPenStyleToStipplePattern(PenStyle penStyle);
120 
123 
125  DT_DLL_VRVCORE bool vrfColorToRgba( unsigned vrfColor, float& r, float& g, float& b, float& a);
126 
128  DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem& cs, const DtVector& localOrigin, double topoHeading);
129 
149  DT_DLL_VRVCORE bool mapFillStyleToFillPattern(FillStyle style, std::vector<unsigned int>&, float* alpha);
150 
152  DT_DLL_VRVCORE std::vector<unsigned int> patternToVector(char* pattern[32]);
153  }
154 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)