VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvVrl
DtRawVelocitySymbolDecoration.h
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright (c) 2012 MAK Technologies, Inc.
3
* All rights reserved.
4
**************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvVrl/vrvVrl.h
>
13
14
#include <
vrvCore/DtSymbolDecoration.h
>
15
#include <
vrvCore/DtSymbolDecorationCreator.h
>
16
#include <
vrvCore/DtSymbolDecorationVisualizer.h
>
17
18
namespace
makVrv
19
{
20
21
class
DtSymbolDecorationVisualizer;
22
class
DtSymbolDecorationUpdaterAgent;
23
24
namespace
DT_PROTOCOL_NAMESPACE
25
{
26
29
class
DL_DLL_IGCONVRLINK
DtRawVelocitySymbolDecoration
30
:
public
DtSymbolDecoration
31
{
32
public
:
33
35
DtRawVelocitySymbolDecoration
(
unsigned
int
index,
36
DtSymbolDecorationVisualizer
& parentVisualizer );
37
39
virtual
~
DtRawVelocitySymbolDecoration
();
40
42
virtual
void
visualize();
43
45
virtual
void
unvisualize();
46
48
virtual
void
slot_relativeVelocitySet(
const
DtVector
& velocity );
49
51
virtual
void
slot_velocitySet(
const
DtVector
& velocity );
52
54
virtual
void
slot_hostIdSet(
const
std::string& hostId );
55
57
virtual
void
slot_displayUnitChanged();
58
59
protected
:
60
62
virtual
void
updateDisplay(
const
DtVector
&velocity );
63
64
protected
:
65
66
unsigned
int
myIndex
;
67
DtSymbolDecorationVisualizer
&
myParentVisualizer
;
68
DtEntityStateListener
*
myEntityStateListener
;
69
bool
myEmbarked
;
70
bool
myActive
;
71
DtVector
myLastVelocity
;
72
DtVector
myLastRelativeVelocity
;
73
74
};
75
76
79
class
DL_DLL_IGCONVRLINK
DtRawVelocitySymbolDecorationCreator
80
:
public
DtSymbolDecorationCreator
81
{
82
public
:
83
85
DtRawVelocitySymbolDecorationCreator
();
86
88
virtual
~
DtRawVelocitySymbolDecorationCreator
();
89
91
virtual
DtSymbolDecoration
* create(
92
DtSymbolDecorationVisualizer
& parentVisualizer );
93
96
virtual
DtSymbolDecorationCreator
* clone();
97
99
virtual
const
std::string& displayName();
100
103
virtual
const
std::string& decorationClassName();
104
107
virtual
const
std::string& tag();
108
109
};
110
111
}
112
}
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)