|
| | DtLocalWeatherManager (makVrv::DtDe &) |
| |
| virtual | ~DtLocalWeatherManager () |
| |
| virtual const WeatherObjects & | weatherObjects () const |
| |
| virtual bool | hasEnvironment (const std::string &) const |
| |
| virtual void | setupCommand (DtChangeWeatherCommand &weatherCommand, const std::string &environment) const |
| |
| virtual void | setupCommand (DtChangeWeatherCommand &weatherCommand, const makArchives::DtEnvironmentRecord &environment) const |
| |
| virtual void | setupRecord (makArchives::DtEnvironmentRecord &environment, const DtChangeWeatherCommand &weatherCommand) const |
| |
| virtual void | setupCommand (DtChangeWeatherCommand &weatherCommand, const makVrv::DtStateView< DtVrlinkSimulatedWeatherState > *environment) const |
| |
| virtual void | setupRecord (makArchives::DtEnvironmentRecord &rec, const makVrv::DtStateView< DtVrlinkSimulatedWeatherState > *environment) const |
| |
| virtual int | nextPriority () const |
| |
| virtual void | setShowWeather (bool) |
| |
| virtual bool | showWeather () const |
| |
| virtual void | setUseGlobalTimeZone (bool) |
| |
| virtual bool | useGlobalTimeZone () const |
| |
| virtual void | increasePriorityOf (makVrv::DtElementID) |
| |
| virtual void | decreasePriorityOf (makVrv::DtElementID) |
| |
| virtual void | bringWeatherToFront (makVrv::DtElementID) |
| |
| virtual void | sendWeatherToBack (makVrv::DtElementID) |
| |
| virtual void | changePriorityOf (makVrv::DtElementID, int) |
| |
| const GlobalWeatherObjects & | globalWeatherObjects () const |
| |
| bool | hasGlobalWeather () const |
| |
| virtual void | setTimeBasedOnCreation (bool, int session=-1) |
| |
| virtual int | addWeatherLookModificationOperation (const DtWeatherLookModificationOperation &) |
| |
| virtual void | removeWeatherLookModificationOperation (int) |
| |
| virtual void | insertWeatherLookModificationOperation (int, const DtWeatherLookModificationOperation &) |
| |
virtual
DtLocalWeatherLookOperationManager::WeatherLookModificationOperations | weatherLookModificationOperations () const |
| |
| virtual void | modifyColorForWeather (const makArchives::DtEnvironmentRecord &, float &r, float &g, float &b, float &a) const |
| |
| virtual std::string | weatherLookModelDefinitionFor (const makArchives::DtEnvironmentRecord &) const |
| |
| virtual void | setLocalWeatherLookManager (DtLocalWeatherLookOperationManager *) |
| |
| DtLocalWeatherLookOperationManager * | localWeatherLookManager () const |
| |
| virtual bool | isTimeFrozen () const |
| |
| virtual bool | isTimeSetToLocalOnFirstPlacement () |
| |
| virtual bool | userModifiedTime () const |
| |
| virtual bool | isLocalWeatherArea (makVrv::DtUniqueID id) const |
| |
const makVrv::DtStateView
< makVrv::DtVrlinkSimulatedBaseState > * | globalWeather () const |
| |
| virtual bool | isWeatherObject (makVrv::DtUniqueID) const |
| |
| virtual makVrv::DtUniqueID | weatherAreaNear (makVrv::DtUniqueID) const |
| |
| virtual makVrv::DtUniqueID | weatherAreaNear (const DtVector &) const |
| |
| | DtVirtualBaseClass () |
| |
| virtual | ~DtVirtualBaseClass () |
| |
| makVrf::DtLocalWeatherManager::DtLocalWeatherManager |
( |
makVrv::DtDe & |
| ) |
|
| virtual makVrf::DtLocalWeatherManager::~DtLocalWeatherManager |
( |
| ) |
|
|
virtual |
Register a new manager instance.
| virtual const WeatherObjects& makVrf::DtLocalWeatherManager::weatherObjects |
( |
| ) |
const |
|
inlinevirtual |
| virtual bool makVrf::DtLocalWeatherManager::hasEnvironment |
( |
const std::string & |
| ) |
const |
|
virtual |
Returns true if the environment exists.
| virtual void makVrf::DtLocalWeatherManager::setupCommand |
( |
DtChangeWeatherCommand & |
weatherCommand, |
|
|
const std::string & |
environment |
|
) |
| const |
|
virtual |
Given an environment name retrieve the environment record and set the appropriate variables into the weather command.
Given the environment record set the appropriate variables into the weather command.
Given the weather state record set the appropriate variables into the weather command.
| virtual int makVrf::DtLocalWeatherManager::nextPriority |
( |
| ) |
const |
|
virtual |
Returns the next lowest priority available.
| virtual void makVrf::DtLocalWeatherManager::setShowWeather |
( |
bool |
| ) |
|
|
virtual |
Sets whether or not to show weather. This will simply show/hide the Weather overlay layer.
| virtual bool makVrf::DtLocalWeatherManager::showWeather |
( |
| ) |
const |
|
virtual |
| virtual void makVrf::DtLocalWeatherManager::setUseGlobalTimeZone |
( |
bool |
| ) |
|
|
virtual |
Returns whether or not to use the day/night illumination model (true to use, false to not)
| virtual bool makVrf::DtLocalWeatherManager::useGlobalTimeZone |
( |
| ) |
const |
|
virtual |
Increases the priority of the given weather area referenced by the element id. If there is another weather area at the newly increased priority it will swap with this weather area. Note that the priority cannot be increased beyond 1.
Decreases the priority of the given weather area referenced by the element id. If there is another weather area at the newly decreased priority it will swap with this weather area.
Makes the specified weather object the highest priority, lowering the priority of all other weather items.
Makes the specified weather object the lowest priority, filling the gap left with lower priority items than the one that was moved.
Changes the priority of the given id to the specified priority, changing the priorities of all the other items to fill the gap left.
| bool makVrf::DtLocalWeatherManager::hasGlobalWeather |
( |
| ) |
const |
|
inline |
| virtual void makVrf::DtLocalWeatherManager::setTimeBasedOnCreation |
( |
bool |
, |
|
|
int |
session = -1 |
|
) |
| |
|
virtual |
For the specified session (or all session) set the time to set to local based on the first simulation object creation. Only valid before the first entity is placed in the simulation. If the timeIsFrozen() is true this method will have no effect.
Adds a new rule for modifying weather color. Returns the index it was added at. Use that index to remove the weather operation. Will clone operation and keep pointer.
| virtual void makVrf::DtLocalWeatherManager::removeWeatherLookModificationOperation |
( |
int |
| ) |
|
|
virtual |
| virtual void makVrf::DtLocalWeatherManager::modifyColorForWeather |
( |
const makArchives::DtEnvironmentRecord & |
, |
|
|
float & |
r, |
|
|
float & |
g, |
|
|
float & |
b, |
|
|
float & |
a |
|
) |
| const |
|
virtual |
Given the environment record and some base colors, calls weather modification rules to change the color to a new one and returns in the same variables that were the base colors supplied.
Returns the model definition for the look of the weather icon.
Sets the look manager for this local weather manager. This will delete the existing weather manager so do not hold onto the memory passed in.
Accessor for the manager.
| virtual bool makVrf::DtLocalWeatherManager::isTimeFrozen |
( |
| ) |
const |
|
virtual |
Returns true if the setting of time for the first entity placement can be done. False means it can.
| virtual bool makVrf::DtLocalWeatherManager::isTimeSetToLocalOnFirstPlacement |
( |
| ) |
|
|
virtual |
Returns true if the first entity placement will set time to local time.
| virtual bool makVrf::DtLocalWeatherManager::userModifiedTime |
( |
| ) |
const |
|
virtual |
Returns true if the user has modified the time.
Given the location of the particular object, return the area that contains the given location of the object given.
Given the location of the particular object, return the area that contains the given location of the object given. The location is in geocentric.
Adds this item in if it is a local weather item (by matching object type)
| virtual void makVrf::DtLocalWeatherManager::initExistingWeatherObjects |
( |
| ) |
|
|
protectedvirtual |
Initializes environment by scanning for weather objects.
Offsets the priority of the object by the given amount. If more than 1 will still swap weather areas that conflict with the new priority – it will not shift priorities.
| boost::signals2::signal<void (makVrv::DtElementID)> makVrf::DtLocalWeatherManager::signal_removed |
Signal sent when the local weather area is removed.
Signal sent when the local weather area is updated.
| boost::signals2::signal<void (makVrv::DtUniqueID, bool)> makVrf::DtLocalWeatherManager::signal_isTimeFrozenChanged |
Signals sent when information about a particular global weather has updated. If ID is 0 check to see if need to reset to defaults.
| boost::signals2::signal<void (makVrv::DtUniqueID, bool)> makVrf::DtLocalWeatherManager::signal_isTimeSetToLocalOnFirstPlacementChanged |
| boost::signals2::signal<void ()> makVrf::DtLocalWeatherManager::signal_weatherLookRulesChanged |
Signal sent when the weather look rules have changed.
| boost::signals2::signal<void (makVrv::DtUniqueID)> makVrf::DtLocalWeatherManager::signal_globalWeatherDiscovered |
Signal when global weather is discovered.
| boost::signals2::signal<void (makVrv::DtUniqueID)> makVrf::DtLocalWeatherManager::signal_globalWeatherRemoved |
Signal when all global weathers are removed.
| boost::signals2::signal<void ()> makVrf::DtLocalWeatherManager::signal_globalWeatherObjectStateUpdated |
The documentation for this class was generated from the following file: