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
DtChannelCompassInstance.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtChannelCompassInstance.h,v $ $Revision: 1.0 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvCore/DtChannelCompass.h
>
16
#include <
vrvCore/DtSetVisibilityInterface.h
>
17
18
19
namespace
makVrv
20
{
24
class
DT_DLL_VRVCORE
DtChannelCompassInstance
:
public
DtSetVisibilityInterface
25
{
26
public
:
27
29
DtChannelCompassInstance
();
30
32
virtual
~
DtChannelCompassInstance
();
33
35
virtual
void
setChannelName(
const
std::string& deName,
36
const
std::string& winName,
const
std::string& channelName );
37
39
virtual
void
setCompassHeading(
double
heading );
40
43
virtual
void
setModelDefinition(
const
std::string& modelDefinition );
44
48
virtual
void
setLocation(
DtChannelCompass::Locations
location );
49
51
DtChannelCompass::Locations
location()
const
;
52
56
virtual
void
setMargins(
unsigned
int
xMargin,
unsigned
int
yMargin );
57
60
virtual
void
setNorthLetterFilename(
const
std::string&
filename
);
61
64
virtual
void
setSouthLetterFilename(
const
std::string& filename );
65
68
virtual
void
setEastLetterFilename(
const
std::string& filename );
69
72
virtual
void
setWestLetterFilename(
const
std::string& filename );
73
75
virtual
void
setCompassRadius(
unsigned
int
radius );
76
78
virtual
void
setNorthLetterSize(
unsigned
int
width,
unsigned
int
height );
79
81
void
setSouthLetterSize(
unsigned
int
width,
unsigned
int
height );
82
84
virtual
void
setEastLetterSize(
unsigned
int
width,
unsigned
int
height );
85
87
virtual
void
setWestLetterSize(
unsigned
int
width,
unsigned
int
height );
88
90
virtual
void
showSmallTickMarks(
bool
show );
91
93
virtual
void
setDarkTickColor(
float
r,
float
g,
float
b,
float
a );
94
96
virtual
void
setLightTickColor(
float
r,
float
g,
float
b,
float
a );
97
100
virtual
void
updateCompass(
bool
force=
false
) = 0;
101
102
103
protected
:
104
std::string
myModelDefinitionName
;
105
std::string
myDisplayEngineName
;
106
std::string
myWindowName
;
107
std::string
myChannelName
;
108
DtChannelCompass::Locations
myLocation
;
109
unsigned
int
myMargins[2];
110
std::string
myNorthLetterFilename
;
111
std::string
mySouthLetterFilename
;
112
std::string
myEastLetterFilename
;
113
std::string
myWestLetterFilename
;
114
unsigned
int
myCompassRadius
;
115
double
myCompassHeading
;
116
unsigned
int
myNorthLetterSize[2];
117
unsigned
int
mySouthLetterSize[2];
118
unsigned
int
myEastLetterSize[2];
119
unsigned
int
myWestLetterSize[2];
120
float
myDarkTickColor[4];
121
float
myLightTickColor[4];
122
bool
myShowSmallTickMarks
;
123
};
124
}
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
)