14 #include <osgSim/DOFTransform>
18 class DtDisplayUnitsConverter;
19 class DtSkyObjectManager;
31 DtUniqueID uniqueId,
bool useInstancing,
unsigned int nodeTypeIndex);
37 virtual void update(
DtTime tNow );
47 virtual bool needsUpdate(
DtTime tNow );
98 const bool useInstancing,
const unsigned int nodeTypeIndex);
static const char * theRotDirCW
Definition: DtWindDirTickable.h:59
static const char * theWindDirFeatureName
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtWindDirTickable.h:56
DtDynamicFeatureTickable is a tickable with extra information from .meta files for parameters for upd...
Definition: DtDynamicFeatureTickable.h:25
static const char * theTagRotDir
Definition: DtWindDirTickable.h:58
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains makVrv::DtDynamicFeatureTickable class.
Definition: DtSkyObjectManager.h:23
An articulated model manipulator for controlling an articulated model.
Definition: DtOsgArticulatedModel.h:56
osgSim::DOFTransform * myWindDirNode
Transform for the wind to act upon.
Definition: DtWindDirTickable.h:67
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:26
The DtWindDirTickable updates a transform node to rotate into the direction of the wind...
Definition: DtWindDirTickable.h:24
IMGUI_API void Value(const char *prefix, bool b)
DtSkyObjectManager & mySkyObjectManager
To find the sky object.
Definition: DtWindDirTickable.h:70
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
static const char * theTagRotOffsetDeg
Definition: DtWindDirTickable.h:57
float myRotOffset
The rotation offset to bring the model's rotation in line with the wind's direction.
Definition: DtWindDirTickable.h:74
DtWindDirTickableCreator class.
Definition: DtWindDirTickable.h:82
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
float myLastWindDir
Last update wind direction.
Definition: DtWindDirTickable.h:64
float myRotDir
Clockwise or counterclockwise rotation.
Definition: DtWindDirTickable.h:77
Contains DLL export macros.