VR-Forces 4.3 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
DtChannelCompass.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtChannelCompass.h,v $ $Revision: 1.0 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvCore/vrvCore.h
>
16
#include <
vrvCore/DtUniqueID.h
>
17
18
#include <string>
19
20
namespace
makVrv
21
{
22
class
DtDe;
23
class
DtChannelCompassInstance;
24
28
class
DT_DLL_VRVCORE
DtChannelCompass
29
{
30
public
:
31
33
DtChannelCompass
(
DtDe
& de,
DtUniqueID
id
);
34
36
virtual
~
DtChannelCompass
();
37
39
enum
Locations
40
{
41
Top = 0,
42
TopRight
,
43
Right
,
44
BottomRight
,
45
Bottom
,
46
BottomLeft
,
47
Left
,
48
TopLeft
,
49
Center
50
};
51
54
virtual
void
setInstance(
DtChannelCompassInstance
* instance);
55
57
virtual
DtChannelCompassInstance
* instance();
58
60
virtual
void
setVisible(
bool
isVisible);
61
63
void
setChannelName(
const
std::string& deName,
64
const
std::string& winName,
const
std::string& channelName );
65
67
void
setCompassHeading(
double
heading );
68
71
void
setModelDefinition(
const
std::string& modelDefinition );
72
76
void
setLocation(
unsigned
int
location );
77
79
unsigned
int
location()
const
;
80
84
void
setMargins(
unsigned
int
xMargin,
unsigned
int
yMargin );
85
88
void
setNorthLetterFilename(
const
std::string& filename );
89
92
void
setSouthLetterFilename(
const
std::string& filename );
93
96
void
setEastLetterFilename(
const
std::string& filename );
97
100
void
setWestLetterFilename(
const
std::string& filename );
101
103
void
setCompassRadius(
unsigned
int
radius );
104
106
void
setNorthLetterSize(
unsigned
int
width,
unsigned
int
height );
107
109
void
setSouthLetterSize(
unsigned
int
width,
unsigned
int
height );
110
112
void
setEastLetterSize(
unsigned
int
width,
unsigned
int
height );
113
115
void
setWestLetterSize(
unsigned
int
width,
unsigned
int
height );
116
118
void
showSmallTickMarks(
bool
show );
119
121
void
setDarkTickColor(
float
r,
float
g,
float
b,
float
a );
122
124
void
setLightTickColor(
float
r,
float
g,
float
b,
float
a );
125
126
protected
:
127
DtChannelCompassInstance
*
myInstance
;
128
};
129
}
130
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)