14 #include <matrix/vlVector.h>
16 #include <osgSim/DOFTransform>
18 #include <rapidjson/document.h>
22 class DtDisplayUnitsConverter;
23 class DtDeadReckonUpdater;
24 class DtOsgArticulatedModel;
43 virtual void update(
DtTime tNow );
49 const DtVector& windDirVec,
float windSpeedMperS);
62 virtual bool needsUpdate(
DtTime tNow );
68 virtual void modelToBeDestroyed(
DtModel* model);
80 virtual void disconnectFromModel();
126 ,
const unsigned int nodeTypeIndex);
DtOsgArticulatedModel * myOsgArticulatedModel
Definition: DtShipFlagDirTickable.h:105
DtDynamicFeatureTickable is a tickable with extra information from .meta files for parameters for upd...
Definition: DtDynamicFeatureTickable.h:24
The DtShipFlagDirTickable updates a transform node to rotate into the direction of the wind and ship...
Definition: DtShipFlagDirTickable.h:30
float myLastFlagDir
Last update wind direction.
Definition: DtShipFlagDirTickable.h:87
DtSceneObject * mySceneObject
The scene object we are querying.
Definition: DtShipFlagDirTickable.h:84
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtDeadReckonUpdater is a scene object updater that is given kinematic updates and updates a scene obj...
Definition: DtDeadReckonUpdater.h:29
Contains makVrv::DtDynamicFeatureTickable class.
static const char * theTagRotOffsetDeg
Definition: DtShipFlagDirTickable.h:74
An articulated model manipulator for controlling an articulated model.
Definition: DtOsgArticulatedModel.h:67
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
static const char * theRotDirCW
Definition: DtShipFlagDirTickable.h:76
static const char * theTagRotDir
Definition: DtShipFlagDirTickable.h:75
IMGUI_API void Value(const char *prefix, bool b)
DtTime myLastTime
Last update time.
Definition: DtShipFlagDirTickable.h:93
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
osgSim::DOFTransform * myWindDirNode
Transform for the wind to act upon.
Definition: DtShipFlagDirTickable.h:96
float myRotOffset
The rotation offset to bring the model's rotation in line with the wind's direction.
Definition: DtShipFlagDirTickable.h:100
DtVector myLastPos
Last position.
Definition: DtShipFlagDirTickable.h:90
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition: DtSceneObject.h:41
A model which owns a single model instance.
Definition: DtModel.h:55
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtShipFlagDirTickableCreator class.
Definition: DtShipFlagDirTickable.h:110
float myRotDir
Clockwise or counterclockwise rotation.
Definition: DtShipFlagDirTickable.h:103
static const char * theShipFlagDirFeatureName
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtShipFlagDirTickable.h:73
Contains DLL export macros.