12 #include <rapidjson/document.h>
15 #include <osgSim/DOFTransform>
20 class DtDisplayUnitsConverter;
32 DtUniqueID uniqueId,
bool useInstancing,
unsigned int nodeTypeIndex);
38 virtual void update(
DtTime tNow );
48 virtual bool needsUpdate(
DtTime tNow );
100 const bool useInstancing,
const unsigned int nodeTypeIndex);
The DtWindRotTickable rotates along X (like a fan blade) depending on the speed of the wind...
Definition: DtWindRotTickable.h:25
DtDynamicFeatureTickable is a tickable with extra information from .meta files for parameters for upd...
Definition: DtDynamicFeatureTickable.h:25
DtTime myLastUpdateTime
The last time update was called.
Definition: DtWindRotTickable.h:67
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains makVrv::DtDynamicFeatureTickable class.
float myDegPerKPH
Definition: DtWindRotTickable.h:77
float myCurrRotInRad
The current radial position of the fan blades.
Definition: DtWindRotTickable.h:80
float myDelayBeforeRot
To constrain the rotation with respect to wind.
Definition: DtWindRotTickable.h:76
An articulated model manipulator for controlling an articulated model.
Definition: DtOsgArticulatedModel.h:56
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:26
static const char * theWindRotFeatureName
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtWindRotTickable.h:57
static const char * theTagDelayBeforeRot
Definition: DtWindRotTickable.h:58
DtWindRotTickableCreator class.
Definition: DtWindRotTickable.h:85
IMGUI_API void Value(const char *prefix, bool b)
float myLastWindRot
Last wind rotation amount.
Definition: DtWindRotTickable.h:64
static const char * theTagDegPerKPH
Definition: DtWindRotTickable.h:59
Utility class for doing global unit conversion.
Definition: DtDisplayUnitsSettingsManager.h:59
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
osgSim::DOFTransform * myWindRotNode
The node affected by the update rotation calculations.
Definition: DtWindRotTickable.h:73
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains the makVrv::DtOsgArticulatedModel class declaration.
DtDisplayUnitsConverter & myConverter
To convert the wind speed to display units (km/h)
Definition: DtWindRotTickable.h:70
Contains DLL export macros.