![]() |
VR-Forces Development_Version Class Documentation
|
This class will change the look of a weather area based on supplied environment conditions. More...
Public Member Functions | |
| DtWeatherUpdater (makVrv::DtDe &de, makVrv::DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtWeatherUpdater () |
| DTOR. | |
| virtual void | setEnvironmentalConditions (const makArchives::DtEnvironmentRecord &) |
| Sets the environmental record and updates if needed. | |
| virtual void | setSceneObject (makVrv::DtSceneObject *) |
| Sets the scene object to be used for this object to set group for. | |
| virtual void | setWeatherIcon (makVrv::DtWidget *) |
| Sets the weather icon. | |
| virtual void | setColor (float r, float g, float b, float a) |
| virtual void | setSelected (bool b) |
| If selected is false resets to last color set with weather modifications, else disables weather color modifications until unselected. | |
Protected Member Functions | |
| virtual void | updateWeatherLook (bool colorChange=false) |
| virtual void | weatherLookRulesChanged () |
| virtual void | slot_sceneObjectToBeDeleted (const makVrv::DtUniqueID &id) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrv::DtUniqueID | myUniqueID |
| makVrv::DtSceneObject * | mySceneObject |
| makVrv::DtWidget * | myIcon |
| float | myR |
| float | myG |
| float | myB |
| float | myA |
| makVrv::DtOsgOverlayPolygonModel * | myWeatherArea |
| bool | mySelected |
| bool | myInitialized |
| makArchives::DtEnvironmentRecord | myEnvironmentRecord |
This class will change the look of a weather area based on supplied environment conditions.
It will use the local weather manager's weather update rules to finalize the model definition and color needed
| makVrf::DtWeatherUpdater::DtWeatherUpdater | ( | makVrv::DtDe & | de, |
| makVrv::DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Sets the environmental record and updates if needed.
|
virtual |
Sets the scene object to be used for this object to set group for.
|
virtual |
Sets the weather icon.
|
virtual |
|
virtual |
If selected is false resets to last color set with weather modifications, else disables weather color modifications until unselected.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |