![]() |
VR-Forces 4.6.1 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::DtProjectedWidgetModel *) |
| 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. | |
| virtual void | setWeatherAreaFilled (bool) |
| Sets whether or not to fill this weather area. | |
| virtual void | resetFill () |
| If need be, reset the fill to the current fill desire. | |
| virtual void | updateLabelVisibilityState () |
| virtual void | setScale (float) |
| virtual void | updateGeometricCenter (const DtVector &newCenter) |
| Updates the center point of this object. | |
| virtual void | updateGeometricCenter () |
| Updates the center point of this object. | |
Protected Member Functions | |
| virtual void | updateWeatherLook (bool colorChange=false) |
| virtual void | weatherLookRulesChanged () |
| virtual void | slot_sceneObjectToBeDeleted (const makVrv::DtUniqueID &id) |
| virtual void | slot_applicationSettingsChanged () |
| See if fill rule has changed. | |
| virtual void | findWeatherLabel (bool) |
| virtual void | update () |
| Called to see if geometric center should be updated. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrv::DtUniqueID | myUniqueID |
| makVrv::DtSceneObject * | mySceneObject |
| makVrv::DtProjectedWidgetModel * | myIcon |
| float | myR |
| float | myG |
| float | myB |
| float | myA |
| makVrv::DtOsgOverlayPolygonModel * | myWeatherArea |
| makVrv::DtOsgOverlayEllipseArcModel * | myWeatherEllipse |
| makVrv::DtProjectedWidgetModel * | myWeatherLabels |
| makVrv::DtAttributeGroupWidget * | myWeatherAttributes |
| bool | mySelected |
| bool | myInitialized |
| makArchives::DtEnvironmentRecord | myEnvironmentRecord |
| makVrv::DtSignalConnectionManager | myConnections |
| bool | myWeatherAreaFilled |
| float | myScale |
| double | myOriginX |
| double | myOriginY |
| DtVector | myLastCheckPoint |
| boost::signalslib::connection | mySceneObjectConnection |
| When the class is destructed, the scene object may or may not exist. | |
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.
|
virtual |
Sets whether or not to fill this weather area.
|
virtual |
If need be, reset the fill to the current fill desire.
|
virtual |
|
virtual |
|
virtual |
Updates the center point of this object.
|
virtual |
Updates the center point of this object.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
See if fill rule has changed.
|
protectedvirtual |
|
protectedvirtual |
Called to see if geometric center should be updated.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
When the class is destructed, the scene object may or may not exist.
Using a separate connection variable makes it possible to 'disconnect' even if the scene object has been deleted.