VR-Forces 4.5 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
DtImageSymbolVisualizer.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2013 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/DtStateVisualizer.h
>
13
#include <
vrvUtil/DtUnicode.h
>
14
#include <
vrvCore/DtVisualizerAttribute.h
>
15
16
namespace
makVrv
17
{
18
19
class
DtWidgetAgent;
20
class
DtWidgetInstanceSignaler;
21
class
DtProjectedWidgetModelAgent;
22
27
class
DT_DLL_VRVCORE
DtImageSymbolVisualizer
:
public
DtStateVisualizer
28
{
29
public
:
30
32
DtImageSymbolVisualizer
(
DtBaseConnection
& connection,
33
DtStateListener
& listener,
int
modelSet );
34
36
virtual
~
DtImageSymbolVisualizer
();
37
39
virtual
void
setVisualizerDefinition(
const
DtVisualizerDefinition
& visDef );
40
42
virtual
void
setModelDefinitionForAgents();
43
45
virtual
void
setSelected(
bool
selected );
46
48
void
setScale(
float
scale );
49
51
virtual
void
setImageSymbol(
int
);
52
54
virtual
int
imageSymbol()
const
;
55
57
virtual
void
setPickable(
bool
b );
58
60
virtual
void
setImageSymbolMap(
const
DtVisualAttributeSymbolSelector::ImageSymbolMap
&);
61
63
const
DtVisualAttributeSymbolSelector::ImageSymbolMap
& imageSymbolMap()
const
;
64
66
virtual
void
setImageSize(
int
x,
int
y);
67
69
void
getImageSize(
int
& x,
int
& y);
70
73
virtual
void
setDestroyed(
bool
);
74
76
bool
destroyed
()
const
{
return
myDestroyed; };
77
79
virtual
void
setDestroyedModel(
const
std::string&);
80
82
const
std::string&
destroyedModel
()
const
{
return
myDestroyedModel; };
83
86
virtual
void
rotateSymbolToHeading(
double
);
87
88
protected
:
89
91
virtual
void
setHasMouse(
bool
hasMouse );
92
94
virtual
void
createModelAgents();
95
97
virtual
void
destroyModelAgents();
98
100
virtual
void
update();
101
103
virtual
DtUnicode
imageSymbolDefinition(
int
)
const
;
104
105
protected
:
106
107
DtProjectedWidgetModelAgent*
myProjectIconPosition
;
108
DtWidgetAgent*
myIcon
;
109
DtWidgetInstanceSignaler
*
myIconSignaler
;
110
DtWidgetAgent*
mySelectedIcon
;
111
bool
myHasMouse
;
112
float
myScale
;
113
114
int
myImageSymbol
;
115
DtVisualAttributeSymbolSelector::ImageSymbolMap
myImageSymbolMap
;
116
117
unsigned
int
myIconGroup
;
118
unsigned
int
myDestroyedIconGroup
;
119
120
int
mySizeX
;
121
int
mySizeY
;
122
123
DtWidgetAgent*
myDestroyedIcon
;
124
bool
myDestroyed
;
125
std::string
myDestroyedModel
;
126
127
};
128
129
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)