12 #include <rapidjson/document.h>
15 #include <osgSim/DOFTransform>
20 class DtDisplayUnitsConverter;
21 class DtOsgArticulatedModel;
39 virtual void update(
DtTime tNow );
49 virtual bool needsUpdate(
DtTime tNow );
55 virtual void modelToBeDestroyed(
DtModel* model);
68 virtual void disconnectFromModel();
72 virtual float computeInitialOrientation(
void)
const;
75 virtual void setVelocity(
float radianSpeed);
90 float myLastWindSpeedKmPerHr = -1;
95 bool myInitialRotationSet =
false;
98 bool myRotating =
false;
120 ,
const unsigned int nodeTypeIndex);
const DtDisplayUnitsConverter & myConverter
To convert the wind speed to display units (km/h)
Definition: DtWindRotTickable.h:80
The DtWindRotTickable rotates along X (like a fan blade) depending on the speed of the wind...
Definition: DtWindRotTickable.h:26
DtDynamicFeatureTickable is a tickable with extra information from .meta files for parameters for upd...
Definition: DtDynamicFeatureTickable.h:24
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains makVrv::DtDynamicFeatureTickable class.
float myDegPerKPH
Definition: DtWindRotTickable.h:87
float myWindSpeedTreshold
To constrain the rotation with respect to wind.
Definition: DtWindRotTickable.h:86
An articulated model manipulator for controlling an articulated model. Supports indirect rendering of...
Definition: DtOsgArticulatedModel.h:69
static const char * theWindRotFeatureName
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtWindRotTickable.h:61
static const char * theTagDelayBeforeRot
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtWindRotTickable.h:62
DtWindRotTickableCreator class.
Definition: DtWindRotTickable.h:105
IMGUI_API void Value(const char *prefix, bool b)
static const char * theTagDegPerKPH
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtWindRotTickable.h:63
Utility class for doing global unit conversion. All conversions functions use the following naming co...
Definition: DtDisplayUnitsSettingsManager.h:60
osgSim::DOFTransform * myWindRotNode
The node affected by the update rotation calculations.
Definition: DtWindRotTickable.h:83
DtOsgArticulatedModel * myOsgArticulatedModel
Definition: DtWindRotTickable.h:92
A model which owns a single model instance. A DtModel is a managing container for a single DtModelIns...
Definition: DtModel.h:55
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
Contains the makVrv::DtOsgArticulatedModel class declaration.
static const int theAnimationFlags
Definition: DtWindRotTickable.h:100
Contains DLL export macros.