VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvCore
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
{
28
Plain
,
29
Axis
,
30
AirAxis
,
31
32
MainAxis
,
33
Feint
,
34
35
AirCorridor
,
36
Bridge
37
38
39
40
41
};
42
43
enum
ArrowStyle
44
{
45
Simple
,
46
Linear
,
47
Main
,
48
SimpleLastArrowReversed
,
52
Berm
53
};
54
55
enum
ArrowHeadPlacement
56
{
57
None
,
58
AllEndSegments
,
59
AllStartSegments
,
60
61
LastSegmentOnly
,
62
FirstSegmentOnly
,
63
StartOfFirstEndOfLast
64
};
65
66
enum
PenStyle
67
{
68
NoPen
= 1,
69
SolidLine
,
70
DashedLine
,
71
DottedLine
,
72
DashDotLine
,
73
DashDotDotLine
74
};
75
76
enum
FillStyle
77
{
78
NoFill
= 0,
79
SolidFill
= 1,
80
Percent94Fill
,
81
Percent88Fill
,
82
Percent63Fill
,
83
Percent50Fill
,
84
Percent37Fill
,
85
Percent12Fill
,
86
Percent06Fill
,
87
HorizontalLines
,
88
VerticalLines
,
89
CrossingLines
,
90
DiagonalLines
,
91
ReverseDiagonalLines
,
92
DiagonalCrossingLines
,
93
Texture
,
94
};
95
99
DT_DLL_VRVCORE
double
angleTo
(
const
makVrv::DtCoordinateSystem
&,
const
DtVector
&
origin
,
const
DtVector
& to);
100
104
DT_DLL_VRVCORE
double
elevationTo
(
const
makVrv::DtCoordinateSystem
&,
const
DtVector
&
origin
,
const
DtVector
& to);
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
122
DT_DLL_VRVCORE
PenStyle
mapStipplePatternToPenStyle
(
unsigned
short
);
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 Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)