VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
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
{
31
Plain
,
32
Axis
,
33
AirAxis
,
34
35
MainAxis
,
36
Feint
,
37
38
AirCorridor
39
};
40
41
enum
ArrowStyle
42
{
43
Simple
,
44
Linear
,
45
Main
46
};
47
48
enum
ArrowHeadPlacement
49
{
50
None
,
51
AllEndSegments
,
52
AllStartSegments
,
53
54
LastSegmentOnly
,
55
FirstSegmentOnly
,
56
StartOfFirstEndOfLast
57
};
58
59
enum
PenStyle
60
{
61
NoPen
= 1,
62
SolidLine
,
63
DashedLine
,
64
DottedLine
,
65
DashDotLine
,
66
DashDotDotLine
67
};
68
69
enum
FillStyle
70
{
71
NoFill
= 0,
72
SolidFill
= 1,
73
Percent94Fill
,
74
Percent88Fill
,
75
Percent63Fill
,
76
Percent50Fill
,
77
Percent37Fill
,
78
Percent12Fill
,
79
Percent06Fill
,
80
HorizontalLines
,
81
VerticalLines
,
82
CrossingLines
,
83
DiagonalLines
,
84
ReverseDiagonalLines
,
85
DiagonalCrossingLines
,
86
Texture
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
118
DT_DLL_VRVCORE
PenStyle
mapStipplePatternToPenStyle
(
unsigned
short
);
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
)