VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
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/vrvCore.h
>
16
17
#include <
vrvCore/DtChannelCompass.h
>
18
#include <
vrvCore/DtSetVisibilityInterface.h
>
19
20
21
namespace
makVrv
22
{
26
class
DT_DLL_VRVCORE
DtChannelCompassInstance
:
public
DtSetVisibilityInterface
27
{
28
public
:
29
31
DtChannelCompassInstance
();
32
34
virtual
~
DtChannelCompassInstance
();
35
37
virtual
void
setChannelName(
const
std::string& deName,
38
const
std::string& winName,
const
std::string& channelName );
39
41
virtual
void
setCompassHeading(
double
heading );
42
45
virtual
void
setModelDefinition(
const
std::string& modelDefinition );
46
50
virtual
void
setLocation(
DtChannelCompass::Locations
location );
51
53
DtChannelCompass::Locations
location()
const
;
54
58
virtual
void
setMargins(
unsigned
int
xMargin,
unsigned
int
yMargin );
59
62
virtual
void
setNorthLetterFilename(
const
std::string& filename );
63
66
virtual
void
setSouthLetterFilename(
const
std::string& filename );
67
70
virtual
void
setEastLetterFilename(
const
std::string& filename );
71
74
virtual
void
setWestLetterFilename(
const
std::string& filename );
75
77
virtual
void
setCompassRadius(
unsigned
int
radius );
78
80
virtual
void
setNorthLetterSize(
unsigned
int
width,
unsigned
int
height );
81
83
void
setSouthLetterSize(
unsigned
int
width,
unsigned
int
height );
84
86
virtual
void
setEastLetterSize(
unsigned
int
width,
unsigned
int
height );
87
89
virtual
void
setWestLetterSize(
unsigned
int
width,
unsigned
int
height );
90
92
virtual
void
showSmallTickMarks(
bool
show );
93
95
virtual
void
setDarkTickColor(
float
r,
float
g,
float
b,
float
a );
96
98
virtual
void
setLightTickColor(
float
r,
float
g,
float
b,
float
a );
99
102
virtual
void
updateCompass(
bool
force=
false
) = 0;
103
104
105
protected
:
106
std::string
myModelDefinitionName
;
107
std::string
myDisplayEngineName
;
108
std::string
myWindowName
;
109
std::string
myChannelName
;
110
DtChannelCompass::Locations
myLocation
;
111
unsigned
int
myMargins[2];
112
std::string
myNorthLetterFilename
;
113
std::string
mySouthLetterFilename
;
114
std::string
myEastLetterFilename
;
115
std::string
myWestLetterFilename
;
116
unsigned
int
myCompassRadius
;
117
double
myCompassHeading
;
118
unsigned
int
myNorthLetterSize[2];
119
unsigned
int
mySouthLetterSize[2];
120
unsigned
int
myEastLetterSize[2];
121
unsigned
int
myWestLetterSize[2];
122
float
myDarkTickColor[4];
123
float
myLightTickColor[4];
124
bool
myShowSmallTickMarks
;
125
};
126
}
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)