VR-Forces 4.6 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
DtEntityRotorWashVisualizer.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2018 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
#include <
vrvCore/DtEntityStateVisualizer.h
>
12
13
namespace
makVrv
14
{
15
class
DtRotorWashModelAgent;
16
class
DtRotorWashUpdaterAgent;
17
20
class
DT_DLL_VRVCORE
DtEntityRotorWashVisualizer
:
public
DtEntityStateVisualizer
21
{
22
public
:
24
DtEntityRotorWashVisualizer
(
DtBaseConnection
& simulation,
25
DtStateListener
& listener,
int
modelSet);
26
28
virtual
~
DtEntityRotorWashVisualizer
();
29
31
virtual
void
setRotorWashEnabled(
bool
b);
32
35
virtual
void
setRotorDiameter(
double
diameter );
36
38
virtual
void
setRotorWindSpeed(
double
speed );
39
41
virtual
const
DtStateVisualizer::TypeInfo
& typeInfo()
const
;
42
44
static
const
DtStateVisualizer::TypeInfo
& theTypeInfo();
45
46
protected
:
48
virtual
void
createModelAgents();
49
51
virtual
void
destroyModelAgents();
52
54
virtual
void
setModelDefinitionForAgents();
55
58
virtual
void
setVisualizerDefinition(
const
DtVisualizerDefinition
& visDef);
59
61
virtual
void
setEmbarkedOn(
const
std::string&);
62
65
virtual
void
slot_appearanceBitSet(
unsigned
int
mask,
unsigned
int
newValue,
bool
force );
66
68
virtual
void
setPowerPlantOn(
bool
isOn);
69
72
virtual
void
setEntityDestroyed(
bool
destroyed);
73
76
virtual
bool
visible()
const
;
77
78
virtual
void
slot_rotorWashEnabledChanged(
bool
enabled);
79
80
81
protected
:
82
DtRotorWashModelAgent*
myRotorWashModel
;
83
DtRotorWashUpdaterAgent*
myRotorWashUpdater
;
84
bool
myEffectEnabled
;
85
bool
myEntityDestroyed
;
86
87
double
myRotorDiameter
;
88
double
myRotorWindSpeed
;
89
bool
myEmbarked
;
90
bool
myPowerPlantOn
;
91
};
92
93
96
typedef
DtStateVisualizerCreatorTemplate<DtEntityRotorWashVisualizer>
97
DtEntityRotorWashVisualizerCreator
;
98
}
99
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)