![]() |
VR-Forces 4.0.4 Class Documentation
|
This class acts on various CIGI messages that change settings in the IG. More...
Public Member Functions | |
| DtIgSettingsController (DtDe &de, DtCigiDriver &driver, DtCigiConnection &connection, bool usingThread) | |
| Constructor. | |
| virtual | ~DtIgSettingsController () |
| Destructor. | |
Protected Member Functions | |
| virtual void | slot_onPerformanceOverlayChanged (bool onOff) |
| Slot called when the DtComponentSignaler::signal_performanceOverlaySet signal is received. | |
| virtual void | performSetPerformanceOverlay (bool onOff) |
| Turns the performance overlay on or off. | |
| virtual void | slot_onPrecipitationChanged (bool enabled, int precipType, float intensity) |
| Slot called when the DtComponentSignaler::signal_precipitationSet signal is received. | |
| virtual void | performSetPrecipitation (bool enabled, int precipType, float intensity) |
| Sets the precipitation enabled, type, and intensity. | |
| virtual void | slot_onWireframeModeChanged (bool onOff) |
| Slot called when the DtComponentSignaler::signal_wireFrameRenderingSet signal is received. | |
| virtual void | performSetWireframeMode (bool onOff) |
| Turns wireframe mode on or off. | |
| virtual void | slot_onTimeSet (int year, int month, int day, int hour, int minute, bool continuous) |
| Slot called when the DtCigiConnection::signal_timeSet signal is received. | |
| virtual void | performSetTime (int year, int month, int day, int hour, int minute, bool continuous) |
| Sets the time. | |
| virtual void | slot_onShadowsSet (bool enabled, int quality) |
| Slot called when the DtComponentSignaler::signal_shadowsSet signal is received. | |
| virtual void | performShadowsSet (bool enabled, int quality) |
| Sets turns the shadows on/off and sets the quality. | |
Protected Attributes | |
| DtDe & | myDe |
| DtCigiDriver & | myDriver |
| DtSignalConnectionManager | myConnections |
| bool | myUseThreadFlag |
This class acts on various CIGI messages that change settings in the IG.
The class contains a reference to the DtCigiDriver, and all of the "perform" methods are added as driver functions if the CIGI processing is done in a separate thread, or performed immediately if in a single-thread.
| makVrv::DtIgSettingsController::DtIgSettingsController | ( | DtDe & | de, |
| DtCigiDriver & | driver, | ||
| DtCigiConnection & | connection, | ||
| bool | usingThread | ||
| ) |
Constructor.
| virtual makVrv::DtIgSettingsController::~DtIgSettingsController | ( | ) | [virtual] |
Destructor.
| virtual void makVrv::DtIgSettingsController::slot_onPerformanceOverlayChanged | ( | bool | onOff | ) | [protected, virtual] |
Slot called when the DtComponentSignaler::signal_performanceOverlaySet signal is received.
Calls performSetPerformanceOverlay in a thread-safe manner.
| virtual void makVrv::DtIgSettingsController::performSetPerformanceOverlay | ( | bool | onOff | ) | [protected, virtual] |
Turns the performance overlay on or off.
| virtual void makVrv::DtIgSettingsController::slot_onPrecipitationChanged | ( | bool | enabled, |
| int | precipType, | ||
| float | intensity | ||
| ) | [protected, virtual] |
Slot called when the DtComponentSignaler::signal_precipitationSet signal is received.
Calls performSetPrecipitation in a thread-safe manner.
| virtual void makVrv::DtIgSettingsController::performSetPrecipitation | ( | bool | enabled, |
| int | precipType, | ||
| float | intensity | ||
| ) | [protected, virtual] |
Sets the precipitation enabled, type, and intensity.
| enabled | turns precipitation on and off |
| precipType | specifies either rain (0) or snow (1) |
| intensity | specifies the intensity (0 - 1.0) |
| virtual void makVrv::DtIgSettingsController::slot_onWireframeModeChanged | ( | bool | onOff | ) | [protected, virtual] |
Slot called when the DtComponentSignaler::signal_wireFrameRenderingSet signal is received.
Calls performSetWireframeMode in a thread-safe manner.
| virtual void makVrv::DtIgSettingsController::performSetWireframeMode | ( | bool | onOff | ) | [protected, virtual] |
Turns wireframe mode on or off.
| virtual void makVrv::DtIgSettingsController::slot_onTimeSet | ( | int | year, |
| int | month, | ||
| int | day, | ||
| int | hour, | ||
| int | minute, | ||
| bool | continuous | ||
| ) | [protected, virtual] |
Slot called when the DtCigiConnection::signal_timeSet signal is received.
Calls performSetTime in a thread-safe manner.
| virtual void makVrv::DtIgSettingsController::performSetTime | ( | int | year, |
| int | month, | ||
| int | day, | ||
| int | hour, | ||
| int | minute, | ||
| bool | continuous | ||
| ) | [protected, virtual] |
Sets the time.
| continuous | Sets the timescale to 1.0 if true, and 0.0 if false. |
| virtual void makVrv::DtIgSettingsController::slot_onShadowsSet | ( | bool | enabled, |
| int | quality | ||
| ) | [protected, virtual] |
Slot called when the DtComponentSignaler::signal_shadowsSet signal is received.
Calls performShadowSet in a thread-safe manner.
| virtual void makVrv::DtIgSettingsController::performShadowsSet | ( | bool | enabled, |
| int | quality | ||
| ) | [protected, virtual] |
Sets turns the shadows on/off and sets the quality.
DtDe& makVrv::DtIgSettingsController::myDe [protected] |
DtCigiDriver& makVrv::DtIgSettingsController::myDriver [protected] |
bool makVrv::DtIgSettingsController::myUseThreadFlag [protected] |