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

Classes | |
| struct | widgetStr |
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 | setImguiOverlayShown (bool shown) |
| Set the developer debug 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 | setWaterOnScreenSize (double size) |
| Set the size of the water on screen effect(Rain Splash/Ocean Spray/Wave Splash) in percentage, default is 100(%) | |
| virtual void | setCrepuscularRaysEnabled (bool state) |
| Set the crepuscular rays (sun rays) state. | |
| virtual void | setDrawableColorization (bool enabled) |
| Set initial state of drawable colorization checkbox. | |
| virtual void | setComponentVisualizationMode (int mode) |
| Set the component visualization mode which is used to change the debug render mode. | |
| virtual int | addComponenetVisualizationEntry (QString entry) |
| Add a new mode to the list of component visualization modes. | |
| virtual void | setDistanceUnitLabels (const DtUnicode &unitLabel) |
| Set a label extension to use for all distance-related labels. | |
| virtual void | setDistanceDecimals (int decimals) |
| Set the number of decimal places to use for all distance-related items. | |
| virtual void | setMaxFocalRange (float distance) |
| Set the maximum for focal range widget. | |
| virtual void | setMaxFocalDepth (float distance) |
| Set the maximum for focal depth widget. | |
| virtual void | setAtcGlobalModelEnable (bool state) |
| turns on/off the Alpha to Coverage for models which don't have it set in their model definition | |
| virtual void | setAtcGlobalTerrainEnable (bool state) |
| turns on/off the Alpha to Coverage for terrain patches which don't have it set in the .mtf file | |
| virtual void | setAtcEnableDither (bool state) |
| turns on/off the dither shader for the objects which are using alpha to coverage. | |
Public Member Functions inherited from makVrv::DtRenderSettingsInterface | |
| virtual | ~DtRenderSettingsInterface () |
| DTOR. | |
Protected Types | |
| enum | WidgetStringIndex { MaterialComponentIndex = 0, MaterialComponentScalerIndex = 1 } |
| typedef struct makVrv::DtRenderSettingsWidget::widgetStr | WidgetStrings |
| typedef WidgetStrings | WidgetStringCollection [2] |
Protected Member Functions | |
| void | setupGui () |
| Sets up the widget's fields. | |
| void | connectToSignals () |
| Connects widget signals to slots. | |
| void | setupMaterialWidget (DtSliderDoubleSpinboxWidget *widget, QLabel *label, bool useMaterial, const WidgetStringCollection &strings) |
DtRenderSettingsWidget implements the DtRenderSettingsInterface for Qt.
It provides the Qt widgets used to change rendering settings such as wireframe mode and shadows
|
protected |
|
protected |
|
protected |
| 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 developer debug 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 size of the water on screen effect(Rain Splash/Ocean Spray/Wave Splash) in percentage, default is 100(%)
| [in] | size | The percentage of the size ,defaulte is 100(%). |
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 initial state of drawable colorization checkbox.
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the component visualization mode which is used to change the debug render mode.
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Add a new mode to the list of component visualization modes.
| [in] | string | to use for this mode in the combo box |
|
virtual |
Set a label extension to use for all distance-related labels.
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the number of decimal places to use for all distance-related items.
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the maximum for focal range widget.
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
Set the maximum for focal depth widget.
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
turns on/off the Alpha to Coverage for models which don't have it set in their model definition
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
turns on/off the Alpha to Coverage for terrain patches which don't have it set in the .mtf file
Implements makVrv::DtRenderSettingsInterface.
|
virtual |
turns on/off the dither shader for the objects which are using alpha to coverage.
Implements makVrv::DtRenderSettingsInterface.
|
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 |