![]() |
VR-Forces 4.6 Class Documentation
|
DtOceanRenderSettingsWidget implements the DtOceanRenderSettingsInterface for Qt. More...

Public Types | |
| enum | TritonQuality { TritonQuality_Good, TritonQuality_Better, TritonQuality_Best } |
Public Member Functions | |
| DtOceanRenderSettingsWidget (DtDe &de, QWidget *parent, Qt::WindowFlags flags=Qt::Widget) | |
| CTOR. | |
| virtual | ~DtOceanRenderSettingsWidget () |
| DTOR. | |
| virtual void | setOceanPlanarReflectionsEnabled (bool state) |
| Set the planar reflections state. | |
| virtual void | setOceanPlanarReflectionsLODScale (float scale) |
| Set the scale factor for objects processed by the reflections camera. | |
| virtual void | setOceanPlanarReflectionsLODScaleRange (float max, float min, float step) |
| Set the range for ocean planar reflections lod scale slider. | |
| virtual void | setWaveSprayEffectEnabled (bool state) |
| Set the sea spray particle effect state. | |
| virtual void | setRotorWashDecalEnabled (bool state) |
| Set the rotor wash detailed texture decal state. | |
| virtual void | setTidalStreamWakesEnabled (bool state) |
| Set the tidal stream wakes state. | |
| virtual void | setOceanHeightMapResolution (double res) |
| Set the resolution of the ocean height map. | |
| virtual void | setOceanHeightMapResolutionRange (float max, float min, float step) |
| Set the range for ocean height map resolution slider. | |
| virtual void | setRegenerateHeightMapPercThreshold (double threshold) |
| Set the threshold distance for height map regeneration as a percentage of the height map dimensions. | |
| virtual void | setRegenerateHeightMapPercThresholdRange (float max, float min, float step) |
| Set the range for ocean height map precent threshold slider. | |
| virtual void | setOceanHeightMapTextureSize (int val) |
| Set the size of the texture used for creating an ocean height map. | |
| virtual void | setOceanHeightMapTextureSizeRange (int max, int min, int step) |
| Set the range for ocean height map texture size slider. | |
| virtual void | setRegenerateCubeMapThreshold (double threshold) |
| Set the threshold distance for cube map regeneration. | |
| virtual void | setRegenerateCubeMapThresholdRange (float max, float min, float step) |
| Set the range for regenerate cube map threshold slider. | |
| virtual void | setOmitCloudInCubeMap (bool state) |
| Set the state to enable/disble cloud rendering in cube maps. | |
| virtual void | setPlanarReflectionTextureWidth (int val) |
| Set the height of the texture used for creating planar reflections. | |
| virtual void | setPlanarReflectionTextureWidthRange (int max, int min, int step) |
| Set the range for ocean planar reflections texture width slider. | |
| virtual void | setPlanarReflectionTextureHeight (int val) |
| Set the height of the texture used for creating planar reflections. | |
| virtual void | setPlanarReflectionTextureHeightRange (int max, int min, int step) |
| Set the range for ocean planar reflections texture height slider. | |
| virtual void | setOceanQuality (unsigned int quality) |
| Set the ocean quality. | |
| virtual void | setPlanarReflectionsShowSpeedTrees (bool val) |
| Set the flag that controls if speedtrees should be drawn in the planar reflection. | |
Public Member Functions inherited from makVrv::DtOceanRenderSettingsInterface | |
| virtual | ~DtOceanRenderSettingsInterface () |
| DTOR. | |
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) |
Protected Member Functions | |
| void | setupGui () |
| Sets up the widget's fields. | |
| void | connectToSignals () |
| Connects widget signals to slots. | |
| void | enablePlanarReflectionParameters (bool enabled) |
DtOceanRenderSettingsWidget implements the DtOceanRenderSettingsInterface for Qt.
It provides the Qt widgets used to change rendering settings such as wireframe mode and shadows
| 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.
Set the ocean quality.
| [in] | quality | is the ocean display quality |
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 |
|
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 |
|
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 |