![]() |
VR-Forces 5.0.2 Developer's Guide
|
DtOceanRenderSettingsWidget implements the DtOceanRenderSettingsInterface for Qt. It provides the Qt widgets used to change rendering settings such as wireframe mode and shadows.

Protected Slots | |
User input slots. | |
Receives notification that the user has changed a widget's value. | |
| void | on_oceanPlanarReflectionsCheckChanged (int state) |
| void | on_oceanPlanarReflectionsLODScaleChanged (double scale) |
| void | on_waveSprayEffectCheckChanged (int state) |
| void | on_rotorWashDecalCheckChanged (int state) |
| void | on_tidalStreamWakesCheckChanged (int state) |
| void | on_oceanHeightMapResolutionChanged (double res) |
| void | on_regenerateCubeMapThreshold (double threshold) |
| void | on_omitCloudInCubeMap (int state) |
| void | on_regenerateHeightMapPercThreshold (double threshold) |
| void | on_oceanHeightMapTextureSizeChanged (int val) |
| void | on_planarReflectionTextureWidthChanged (int val) |
| void | on_planarReflectionTextureHeightChanged (int val) |
| void | on_planarReflectionsShowSpeedTreesChanged (int val) |
| void | on_oceanQualityClicked (int) |
| void | on_oceanSpectralModelClicked (int) |
Protected Member Functions | |
| void | setupGui () |
| void | connectToSignals () |
| void | enablePlanarReflectionParameters (bool enabled) |
| void | setupOceanQualityWidgets (QVBoxLayout *mainLayout) |
| void | setupOceanSpectralModelWidgets (QVBoxLayout *mainLayout) |
| makVrv::DtOceanRenderSettingsWidget::DtOceanRenderSettingsWidget | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | flags = Qt::Widget |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set the planar reflections state.
| [in] | state | is the enabled/disabled state for planar reflections. |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the scale factor for objects processed by the reflections camera.
| [in] | scale | is the LOD scale applied when culling in the reflections camera |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the range for ocean planar reflections lod scale slider.
| [in] | max | is the maximum value for the slider |
| [in] | min | is the minimum value for the slider |
| [in] | step | is the step the slider will use |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the sea spray particle effect state.
| [in] | state | is the enabled/disabled state for sea spray effect. |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the rotor wash detailed texture decal state.
| [in] | state | is the enabled/disabled state for rotor wash decal. |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the tidal stream wakes state.
| [in] | state | is the enabled/disabled state for tidal stream wakes. |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the resolution of the ocean height map.
| [in] | res | is the map resolution in meters per pixel. |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the range for ocean height map resolution slider.
| [in] | max | is the maximum value for the slider |
| [in] | min | is the minimum value for the slider |
| [in] | step | is the step the slider will use |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the threshold distance for height map regeneration as a percentage of the height map dimensions.
| [in] | threshold | is the threshold distance for height map regeneration as a percentage of the height map dimensions |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the range for ocean height map precent threshold slider.
| [in] | max | is the maximum value for the slider |
| [in] | min | is the minimum value for the slider |
| [in] | step | is the step the slider will use |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the size of the texture used for creating an ocean height map.
| [in] | Value | will be clamped between 256 and 16384. Note that specific graphics cards may reduce the value |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the range for ocean height map texture size slider.
| [in] | max | is the maximum value for the slider |
| [in] | min | is the minimum value for the slider |
| [in] | step | is the step the slider will use |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the threshold distance for cube map regeneration.
| [in] | threshold | is the threshold distance for cube map regeneration |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the range for regenerate cube map threshold slider.
| [in] | max | is the maximum value for the slider |
| [in] | min | is the minimum value for the slider |
| [in] | step | is the step the slider will use |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the state to enable/disble cloud rendering in cube maps.
| [in] | state | is the enabled/disabled state for clouds rendering in cube maps |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the height of the texture used for creating planar reflections.
| [in] | Value | will be clamped between 256 and 4096. Note that specific graphics cards may reduce the value |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the range for ocean planar reflections texture width slider.
| [in] | max | is the maximum value for the slider |
| [in] | min | is the minimum value for the slider |
| [in] | step | is the step the slider will use |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the height of the texture used for creating planar reflections.
| [in] | Value | will be clamped between 256 and 4096. Note that specific graphics cards may reduce the value |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the range for ocean planar reflections texture height slider.
| [in] | max | is the maximum value for the slider |
| [in] | min | is the minimum value for the slider |
| [in] | step | is the step the slider will use |
Implements makVrv::DtOceanRenderSettingsInterface.
|
overridevirtual |
Set the ocean quality.
| [in] | quality | is the ocean display quality |
Implements makVrv::DtOceanRenderSettingsInterface.
|
overridevirtual |
Set the ocean spectral model.
| [in] | quality | is the ocean spectral model |
Implements makVrv::DtOceanRenderSettingsInterface.
|
virtual |
Set the flag that controls if speedtrees should be drawn in the planar reflection.
| [in] | Value | to set the flag to |
Implements makVrv::DtOceanRenderSettingsInterface.
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protected |
Sets up the widget's fields. Non-virtual (Called from CTOR).
|
protected |
Connects widget signals to slots. Non-virtual (Called from CTOR).
|
protected |
|
protected |
ocean quality Non-virtual (Called from CTOR).
|
protected |
ocean spectral model Non-virtual (Called from CTOR).
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |