![]() |
VR-Forces 4.3 Class Documentation
|
DtRenderSettingsWidget implements the DtRenderSettingsInterface for Qt. More...

Public Member Functions | |
| DtRenderSettingsWidget (DtDe &de, QWidget *parent, Qt::WindowFlags flags=Qt::Widget) | |
| CTOR. | |
| virtual | ~DtRenderSettingsWidget () |
| DTOR. | |
| virtual void | setWireframeEnabled (bool enabled) |
| Set the wireframe enabled state. | |
| virtual void | setPerformanceOverlayShown (bool shown) |
| Set the performance overlay widget. | |
| virtual void | setProfilerOverlayShown (bool shown) |
| Set the function profiler overlay widget. | |
| virtual void | setChannelProjectionResizePolicy (DtChannelConfiguration::ProjectionResizePolicy policy) |
| Set the channelProjectionResizePolicy. | |
| virtual void | setSymbolTransparency (int scale) |
| Set value for transparency of occluded icons. | |
| virtual void | setTerrainScalingEnabled (bool enabled) |
| Set the current state of terrain scaling. | |
| virtual void | setTerrainScaleFactor (double scaleFactor) |
| Set the terrain scale factor. | |
| virtual void | setTerrainScalingAllowed (bool allowed) |
| Indicate whether terrain scaling is currently allowed. | |
| virtual void | setClearTrackHistoriesOnTerrainScaleChanged (bool clear) |
| Set the clear track histories option checkbox. | |
| virtual void | setUseAutofocus (bool useAutofocus) |
| Set whether to use autofocus for depth of field. | |
| virtual void | setFocalDepth (double focalDepth) |
| Set the focal depth for depth of field. | |
| virtual void | setFocalRange (double focalRange) |
| Set the focal range for depth of field. | |
| virtual void | setAmbientFactor (double ambientFactor) |
| Set the ambient factor. | |
| virtual void | setUseMaterialAmbient (bool useMaterialAmbient) |
| Set the use material ambient. | |
| virtual void | setDiffuseScaleFactor (double diffuseScaleFactor) |
| Set the diffuse scale factor. | |
| virtual void | setUseMaterialDiffuse (bool useMaterialDiffuse) |
| Set the use material diffuse. | |
| virtual void | setPerPixelLightingEnabled (bool state) |
| Set the per-pixel lighting state. | |
| 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 | setOceanPlanarReflectionsSpecifyFarClip (bool enabled) |
| Set whether the planar reflections uses the current far clipping plane or sets it own. | |
| virtual void | setOceanPlanarReflectionsFarClip (double farClip) |
| Specify the far clipping when OceanPlanarReflectionsSpecifyFarClip is true. | |
| virtual void | setLensFlareEnabled (bool state) |
| Set the lens flare state. | |
| virtual void | setCrepuscularRaysEnabled (bool state) |
| Set the crepuscular rays (sun rays) state. | |
| 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 | setComponentVisualizationMode (int mode) |
| Set the wire-frame enabled state. | |
| virtual void | setPagedLodMagnificationScaleFactor (float factor) |
| Set the wire-frame enabled state. | |
| virtual void | setRegenerateCubeMapThreshold (double threshold) |
| Set the threshold distance for cube map regeneration. | |
| virtual void | setRegenerateHeightMapPercThreshold (double threshold) |
| Set the threshold distance for height map regeneration as a percentage of the height map dimensions. | |
| virtual void | setOmitCloudInCubeMap (bool state) |
| Set the state to enable/disble cloud rendering in cube maps. | |
| virtual void | setOceanHeightMapTextureSize (int val) |
| Set the size of the texture used for creating an ocean height map. | |
Public Member Functions inherited from makVrv::DtRenderSettingsInterface | |
| virtual | ~DtRenderSettingsInterface () |
| DTOR. | |
Protected Member Functions | |
| void | setupGui () |
| Sets up the widget's fields. | |
| void | connectToSignals () |
| Connects widget signals to slots. | |
DtRenderSettingsWidget implements the DtRenderSettingsInterface for Qt.
It provides the Qt widgets used to change rendering settings such as wireframe mode and shadows
| makVrv::DtRenderSettingsWidget::DtRenderSettingsWidget | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | flags = Qt::Widget |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set the wireframe enabled state.
| [in] | enabled | is the enabled/disabled state for wire-frame. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the performance overlay widget.
| [in] | shown | is the show/hide state for displaying the overlay. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the function profiler overlay widget.
| [in] | shown | is the show/hide state for displaying the overlay. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the channelProjectionResizePolicy.
| [in] | policy | describes how to resize channel projections. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set value for transparency of occluded icons.
| [in] | scale | is the transparency value (0 - 32). |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the current state of terrain scaling.
| [in] | enabled | is the enabled/disabled state for terrain scaling. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the terrain scale factor.
| [in] | scaleFactor | is the multiplier for scaling terrain. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Indicate whether terrain scaling is currently allowed.
If not, the terrain scaling enabled and terrain scale factor widgets will be grayed out.
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the clear track histories option checkbox.
| [in] | clear | is the enabled/disabled state for clearing histories. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set whether to use autofocus for depth of field.
| [in] | useAutofocus | is the bool for whether to have the camera focus on the object in the center of the screen for depth of field. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the focal depth for depth of field.
| [in] | focalDepth | is the focal distance for depth of field |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the focal range for depth of field.
| [in] | focalRange | is the distance before and after the focalDepth which is in focus |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the ambient factor.
| [in] | ambientFactor | is the multiplier for the ambient material value of all per pixel lighting material. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the use material ambient.
| [in] | useMaterialAmbient | boolean value to enable/disable the usage of the material ambient |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the diffuse scale factor.
| [in] | diffuseScaleFactor | is the multiplier for the diffuse scale material value of all per pixel lighting material. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the use material diffuse.
| [in] | useMaterialDiffuse | boolean value to enable/disable the usage of the material diffuse |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the per-pixel lighting state.
| [in] | state | is the enabled/disabled state for terrain scaling. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the planar reflections state.
| [in] | state | is the enabled/disabled state for planar reflections. |
Implements makVrv::DtRenderSettingsInterface.
|
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::DtRenderSettingsInterface.
|
virtual |
Set whether the planar reflections uses the current far clipping plane or sets it own.
| [in] | enabled | specifies the clipping plane usage |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Specify the far clipping when OceanPlanarReflectionsSpecifyFarClip is true.
| [in] | farClip | is the far clipping plane used for reflections |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the lens flare state.
| [in] | state | is the enabled/disabled state for lens flares. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the crepuscular rays (sun rays) state.
| [in] | state | is the enabled/disabled state for crepuscular rays. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the sea spray particle effect state.
| [in] | state | is the enabled/disabled state for sea spray effect. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the rotor wash detailed texture decal state.
| [in] | state | is the enabled/disabled state for rotor wash decal. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the tidal stream wakes state.
| [in] | state | is the enabled/disabled state for tidal stream wakes. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the resolution of the ocean height map.
| [in] | res | is the map resolution in meters per pixel. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the wire-frame enabled state.
| [in] | enabled | is the enabled/disabled state for wire-frame. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the wire-frame enabled state.
| [in] | enabled | is the enabled/disabled state for wire-frame. |
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the threshold distance for cube map regeneration.
| [in] | threshold | is the threshold distance for cube map regeneration |
Implements makVrv::DtRenderSettingsInterface.
|
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::DtRenderSettingsInterface.
|
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::DtRenderSettingsInterface.
|
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::DtRenderSettingsInterface.
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
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 |
|
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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |