14 #include <osgSim/DOFTransform>
18 class DtDisplayUnitsConverter;
19 class DtSkyObjectManager;
20 class DtOsgArticulatedModel;
39 virtual void update(
DtTime tNow );
49 virtual bool needsUpdate(
DtTime tNow );
52 virtual void configure(osg::Node* node,
const rapidjson::Value& windJsonData);
55 virtual void modelToBeDestroyed(
DtModel* model);
69 virtual void disconnectFromModel();
109 ,
const unsigned int nodeTypeIndex);
static const char * theRotDirCW
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtWindDirTickable.h:64
static const char * theWindDirFeatureName
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtWindDirTickable.h:61
DtDynamicFeatureTickable is a tickable with extra information from .meta files for parameters for upd...
Definition: DtDynamicFeatureTickable.h:24
static const char * theTagRotDir
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtWindDirTickable.h:63
#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. Supports indirect rendering of...
Definition: DtOsgArticulatedModel.h:69
osgSim::DOFTransform * myWindDirNode
Transform for the wind to act upon.
Definition: DtWindDirTickable.h:76
DtOsgArticulatedModel * myOsgArticulatedModel
Definition: DtWindDirTickable.h:88
The DtWindDirTickable updates a transform node to rotate into the direction of the wind...
Definition: DtWindDirTickable.h:26
IMGUI_API void Value(const char *prefix, bool b)
DtSkyObjectManager & mySkyObjectManager
To find the sky object.
Definition: DtWindDirTickable.h:79
static const char * theTagRotOffsetDeg
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtWindDirTickable.h:62
float myRotOffset
The rotation offset to bring the model's rotation in line with the wind's direction.
Definition: DtWindDirTickable.h:83
A model which owns a single model instance. A DtModel is a managing container for a single DtModelIns...
Definition: DtModel.h:55
DtWindDirTickableCreator class.
Definition: DtWindDirTickable.h:93
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
float myLastWindDir
Last update wind direction.
Definition: DtWindDirTickable.h:73
float myRotDir
Clockwise or counterclockwise rotation.
Definition: DtWindDirTickable.h:86
Contains DLL export macros.