12 #include <osgSim/MultiSwitch>
19 class DtDisplayUnitsConverter;
20 class DtOsgArticulatedModel;
39 virtual void update(
DtTime tNow );
49 virtual bool needsUpdate(
DtTime tNow );
55 unsigned int getSwitchIndexForSpeed(
double windSpeedMperS);
58 virtual void modelToBeDestroyed(
DtModel* model);
69 virtual void disconnectFromModel();
float myLastWindSpeed
Last update wind speed.
Definition: DtWindSwitchTickable.h:73
DtDynamicFeatureTickable is a tickable with extra information from .meta files for parameters for upd...
Definition: DtDynamicFeatureTickable.h:24
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains makVrv::DtDynamicFeatureTickable class.
boost::signalslib::connection myModelToBeDestroyedConnection
Definition: DtWindSwitchTickable.h:87
std::vector< int > mySwitchIndices
Definition: DtWindSwitchTickable.h:83
An articulated model manipulator for controlling an articulated model. Supports indirect rendering of...
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
osgSim::MultiSwitch * myWindSwitchNode
The actual node that contains switch states.
Definition: DtWindSwitchTickable.h:79
static const char * theWindSwitchFeatureName
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtWindSwitchTickable.h:63
Definition: DtMetaObjectCreator.h:53
IMGUI_API void Value(const char *prefix, bool b)
std::vector< double > myWindSpeeds
Windspeeds.
Definition: DtWindSwitchTickable.h:82
static const char * theTagWindSpeeds
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtWindSwitchTickable.h:64
Utility class for doing global unit conversion. All conversions functions use the following naming co...
Definition: DtDisplayUnitsSettingsManager.h:61
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
const DtDisplayUnitsConverter & myConverter
To convert the wind speed to display units (km/h)
Definition: DtWindSwitchTickable.h:76
DtTemplatedTickableCreator< DtWindSwitchTickable, true > DtWindSwitchTickableCreator
Definition: DtWindSwitchTickable.h:90
The DtWindSwitchTickable class is responsible for switching nodes based on the current wind speed...
Definition: DtWindSwitchTickable.h:26
static const char * theTagSwitchIndices
Strings to get the different parts of the meta file Use these instead of hardcoded strings...
Definition: DtWindSwitchTickable.h:65
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:72
DtOsgArticulatedModel * myOsgArticulatedModel
Definition: DtWindSwitchTickable.h:85
Contains DLL export macros.