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();
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:30
DtTemplatedTickableCreator< DtWindDirTickable, true > DtWindDirTickableCreator
Definition: DtWindDirTickable.h:93
An articulated model manipulator for controlling an articulated model. Supports indirect rendering of...
Definition: DtOsgArticulatedModel.h:67
osgSim::DOFTransform * myWindDirNode
Transform for the wind to act upon.
Definition: DtWindDirTickable.h:76
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
DtOsgArticulatedModel * myOsgArticulatedModel
Definition: DtWindDirTickable.h:88
The DtWindDirTickable updates a transform node to rotate into the direction of the wind...
Definition: DtWindDirTickable.h:26
Definition: DtMetaObjectCreator.h:53
IMGUI_API void Value(const char *prefix, bool b)
DtSkyObjectManager & mySkyObjectManager
To find the sky object.
Definition: DtWindDirTickable.h:79
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
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:56
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:76
float myLastWindDir
Last update wind direction.
Definition: DtWindDirTickable.h:73
boost::signalslib::connection myModelToBeDestroyedConnection
Definition: DtWindDirTickable.h:90
float myRotDir
Clockwise or counterclockwise rotation.
Definition: DtWindDirTickable.h:86
Contains DLL export macros.