14 #include <matrix/vlVector.h>
16 #include <osgSim/DOFTransform>
18 #include <rapidjson/document.h>
22 class DtDisplayUnitsConverter;
23 class DtDeadReckonUpdater;
35 DtUniqueID uniqueId,
bool useInstancing,
unsigned int nodeTypeIndex);
41 virtual void update(
DtTime tNow );
47 const DtVector& windDirVec,
float windSpeedKPH);
60 virtual bool needsUpdate(
DtTime tNow );
117 const bool useInstancing,
const unsigned int nodeTypeIndex);
DtDynamicFeatureTickable is a tickable with extra information from .meta files for parameters for upd...
Definition: DtDynamicFeatureTickable.h:25
The DtShipFlagDirTickable updates a transform node to rotate into the direction of the wind and ship...
Definition: DtShipFlagDirTickable.h:28
float myLastFlagDir
Last update wind direction.
Definition: DtShipFlagDirTickable.h:80
DtSceneObject * mySceneObject
The scene object we are querying.
Definition: DtShipFlagDirTickable.h:77
#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:70
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 * theRotDirCW
Definition: DtShipFlagDirTickable.h:72
static const char * theTagRotDir
Definition: DtShipFlagDirTickable.h:71
IMGUI_API void Value(const char *prefix, bool b)
DtTime myLastTime
Last update time.
Definition: DtShipFlagDirTickable.h:86
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
osgSim::DOFTransform * myWindDirNode
Transform for the wind to act upon.
Definition: DtShipFlagDirTickable.h:89
float myRotOffset
The rotation offset to bring the model's rotation in line with the wind's direction.
Definition: DtShipFlagDirTickable.h:93
DtVector myLastPos
Last position.
Definition: DtShipFlagDirTickable.h:83
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition: DtSceneObject.h:41
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtShipFlagDirTickableCreator class.
Definition: DtShipFlagDirTickable.h:101
float myRotDir
Clockwise or counterclockwise rotation.
Definition: DtShipFlagDirTickable.h:96
static const char * theShipFlagDirFeatureName
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtShipFlagDirTickable.h:69
Contains DLL export macros.