17 #include <matrix/vlVector.h>
19 #include <osgSim/DOFTransform>
21 #include <rapidjson/document.h>
25 class DtDisplayUnitsConverter;
26 class DtDeadReckonUpdater;
27 class DtOsgArticulatedModel;
29 class DtCoordinateSystem;
47 virtual void update(
DtTime tNow );
53 const DtVector& windDirVec,
float windSpeedMperS);
66 virtual bool needsUpdate(
DtTime tNow );
72 virtual void modelToBeDestroyed(
DtModel* model);
84 virtual void disconnectFromModel();
87 virtual void slot_coordinateSystemChanged();
139 ,
const unsigned int nodeTypeIndex);
DtOsgArticulatedModel * myOsgArticulatedModel
Definition: DtShipFlagDirTickable.h:112
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:34
float myLastFlagDir
Last update wind direction.
Definition: DtShipFlagDirTickable.h:94
DtSceneObject * mySceneObject
The scene object we are querying.
Definition: DtShipFlagDirTickable.h:91
#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
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtShipFlagDirTickable.h:78
An articulated model manipulator for controlling an articulated model. Supports indirect rendering of...
Definition: DtOsgArticulatedModel.h:69
static const char * theRotDirCW
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtShipFlagDirTickable.h:80
static const char * theTagRotDir
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtShipFlagDirTickable.h:79
IMGUI_API void Value(const char *prefix, bool b)
DtTime myLastTime
Last update time.
Definition: DtShipFlagDirTickable.h:100
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:40
osgSim::DOFTransform * myWindDirNode
Transform for the wind to act upon.
Definition: DtShipFlagDirTickable.h:103
float myRotOffset
The rotation offset to bring the model's rotation in line with the wind's direction.
Definition: DtShipFlagDirTickable.h:107
DtVector myLastPos
Last position.
Definition: DtShipFlagDirTickable.h:97
Base class to provide boost signal/slot management.
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition: DtSceneObject.h:42
A model which owns a single model instance. A DtModel is a managing container for a single DtModelIns...
Definition: DtModel.h:55
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
DtShipFlagDirTickableCreator class.
Definition: DtShipFlagDirTickable.h:123
DtSignalConnectionManager myConnections
Definition: DtShipFlagDirTickable.h:114
float myRotDir
Clockwise or counterclockwise rotation.
Definition: DtShipFlagDirTickable.h:110
static const char * theShipFlagDirFeatureName
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtShipFlagDirTickable.h:77
Contains DLL export macros.