The DtLocalWindObjectManager manages and sets values for a DtLocalWindObjectAgents. The DtLocalWindObjectManager is usually accessed through the DtEnvironment. You can addLocalWind, removeLocalWind in the DtEnvironment and it will communicate to the DtLocalWindObjectManager to create or destroy a DtLocalWindObjectAgent which will create or destroy a DtOsgEarthLocalWindObject (via vrvCore/DtLocalWindObject) and call the osgEarth API.
| virtual makVrv::DtLocalWindObjectManager::~DtLocalWindObjectManager |
( |
| ) |
|
|
virtual |
| makVrv::DtLocalWindObjectManager::DtLocalWindObjectManager |
( |
DtDe & |
de | ) |
|
|
protected |
| makVrv::DtLocalWindObjectManager::DtLocalWindObjectManager |
( |
| ) |
|
|
private |
Default Constructor not implemented – default constructor not allowed.
Copy Constructor not implemented – Copy not allowed.
| virtual DtLocalWindObjectAgent* makVrv::DtLocalWindObjectManager::findLocalWindObjectAgent |
( |
DtUniqueID |
id | ) |
|
|
virtual |
Find a local wind object agent, returns null if none exists.
Get/create instance of local wind object manager.
| static const std::string& makVrv::DtLocalWindObjectManager::theClassName |
( |
| ) |
|
|
static |
Get the name this class is registered by.
| virtual DtUniqueID makVrv::DtLocalWindObjectManager::addLocalWind |
( |
WindType |
localWindType | ) |
|
|
virtual |
Add a local wind by type and get its unique id.
| virtual void makVrv::DtLocalWindObjectManager::removeLocalWind |
( |
DtUniqueID |
id | ) |
|
|
virtual |
| virtual void makVrv::DtLocalWindObjectManager::setLocalWindLocation |
( |
DtUniqueID |
id, |
|
|
DtVector |
loc |
|
) |
| |
|
virtual |
Set a particular wind object's location.
| virtual void makVrv::DtLocalWindObjectManager::setLocalWindSpeed |
( |
DtUniqueID |
id, |
|
|
float |
speed |
|
) |
| |
|
virtual |
Set a particular wind object's speed (m/s)
| virtual void makVrv::DtLocalWindObjectManager::setLocalWindDirection |
( |
DtUniqueID |
id, |
|
|
float |
dir |
|
) |
| |
|
virtual |
Set the local wind direction for a TYPE_DIRECTIONAL wind blowing from in radians from north.
Assignment Operator not implemented – Copy not allowed.
| boost::signalslib::signal<void(DtUniqueID id, DtLocalWindObjectAgent* )> makVrv::DtLocalWindObjectManager::signal_localWindObjectAdded |
Signal raised when a wind object is added.
| boost::signalslib::signal<void(DtUniqueID id, DtLocalWindObjectAgent* )> makVrv::DtLocalWindObjectManager::signal_localWindObjectToBeRemoved |
Signal raised when a wind object is removed.
| boost::signalslib::signal<void(DtUniqueID id, float metersPerSecond)> makVrv::DtLocalWindObjectManager::signal_localWindSpeedChanged |
Signal raised when the wind speed changes.
| boost::signalslib::signal<void(DtUniqueID id, DtVector loc) > makVrv::DtLocalWindObjectManager::signal_localWindLocationChanged |
Signal raised the wind location changes.
| boost::signalslib::signal<void(DtUniqueID id, float radians) > makVrv::DtLocalWindObjectManager::signal_localWindDirectionChanged |
Signal raised the wind direction changes.
| DtDe& makVrv::DtLocalWindObjectManager::myDe |
|
protected |
| LocalWindMap makVrv::DtLocalWindObjectManager::myIDToLocaWindObjectAgent |
|
protected |
The documentation for this class was generated from the following file: