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

Classes | |
| struct | widgetStr |
Public Member Functions | |
| DtRenderSettingsWidget (DtDe &de, QWidget *parent, Qt::WindowFlags flags=Qt::Widget) | |
| virtual | ~DtRenderSettingsWidget () |
| virtual void | setWireframeEnabled (bool enabled) |
| virtual void | setPerformanceOverlayShown (unsigned int state) |
| virtual void | setImguiOverlayShown (bool shown) |
| virtual void | setChannelProjectionResizePolicy (DtChannelConfiguration::ProjectionResizePolicy policy) |
| virtual void | setSymbolTransparency (int scale) |
| virtual void | setTerrainScalingEnabled (bool enabled) |
| virtual void | setTerrainScaleFactor (double scaleFactor) |
| virtual void | setTerrainScalingAllowed (bool allowed) |
| virtual void | setClearTrackHistoriesOnTerrainScaleChanged (bool clear) |
| virtual void | setUseAutofocus (bool useAutofocus) |
| virtual void | setFocalDepth (double focalDepth) |
| virtual void | setFocalRange (double focalRange) |
| virtual void | setWaterOnScreenSize (double size) |
| virtual void | setIndirectLodTransitionPercentage (float val) |
| virtual void | setCrepuscularRaysEnabled (bool state) |
| virtual void | setComponentVisualizationMode (int mode) |
| virtual int | addComponenetVisualizationEntry (QString entry) |
| virtual void | setDistanceUnitLabels (const DtUnicode &unitLabel) |
| virtual void | setDistanceDecimals (int decimals) |
| virtual void | setMaxFocalRange (float distance) |
| virtual void | setMaxFocalDepth (float distance) |
| virtual void | setAtcGlobalModelEnable (bool state) |
| virtual void | setAtcGlobalTerrainEnable (bool state) |
| virtual void | setAtcEnableDither (bool state) |
| virtual void | setHbaoRadius (float value) override |
| virtual void | setMaxHbaoRadius (float value) override |
| virtual void | setHbaoBias (float value) override |
| virtual void | setMaxHbaoBias (float value) override |
| virtual void | setHbaoExponent (float value) override |
| virtual void | setMaxHbaoExponent (float value) override |
| virtual void | setHbaoSmallScalar (float value) override |
| virtual void | setMaxHbaoSmallScalar (float value) override |
| virtual void | setHbaoLargeScalar (float value) override |
| virtual void | setMaxHbaoLargeScalar (float value) override |
| virtual void | setHbaoSettingsDecimals (int decimals) override |
| virtual void | setHbaoDepthClampMode (int state) override |
Public Member Functions inherited from makVrv::DtRenderSettingsInterface | |
| virtual | ~DtRenderSettingsInterface () |
Protected Types | |
| enum | WidgetStringIndex { MaterialComponentIndex = 0, MaterialComponentScalerIndex = 1 } |
| typedef struct makVrv::DtRenderSettingsWidget::widgetStr | WidgetStrings |
| typedef WidgetStrings | WidgetStringCollection [2] |
Protected Member Functions | |
| void | setupGui () |
| void | connectToSignals () |
| void | setupMaterialWidget (DtSliderDoubleSpinboxWidget *widget, QLabel *label, bool useMaterial, const WidgetStringCollection &strings) |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtRenderSettingsInterface | |
| boost::signalslib::signal < void(void)> | signal_reloadShader |
| boost::signalslib::signal < void(bool)> | signal_wireframeSet |
| boost::signalslib::signal < void(bool)> | signal_shadowStateChanged |
| boost::signalslib::signal < void(bool)> | signal_showPerformanceOverlaySet |
| boost::signalslib::signal < void(bool)> | signal_showImguiOverlaySet |
| boost::signalslib::signal < void(DtChannelConfiguration::ProjectionResizePolicy)> | signal_channelProjectionResizePolicySet |
| boost::signalslib::signal < void(int)> | signal_symbolTransparencyChanged |
| boost::signalslib::signal < void(const std::string &)> | signal_activeStatsChanged |
| boost::signalslib::signal < void(bool)> | signal_terrainScalingEnabledChanged |
| boost::signalslib::signal < void(double)> | signal_terrainScaleFactorChanged |
| boost::signalslib::signal < void(bool)> | signal_clearTrackHistoriesOnTerrainScaleChanged |
| boost::signalslib::signal < void(bool)> | signal_dofUseAutofocusChanged |
| boost::signalslib::signal < void(double)> | signal_dofFocalDepthChanged |
| boost::signalslib::signal < void(double)> | signal_dofFocalRangeChanged |
| boost::signalslib::signal < void(double)> | signal_waterOnScreenSizeChanged |
| boost::signalslib::signal < void(float)> | signal_indirectLodTransitionPercentageChanged |
| boost::signalslib::signal < void(bool)> | signal_crepuscularRaysEnabledChanged |
| boost::signalslib::signal < void(bool)> | signal_atcGlobalTerrainEnableChanged |
| boost::signalslib::signal < void(bool)> | signal_atcGlobalModelEnableChanged |
| boost::signalslib::signal < void(bool)> | signal_atcEnableDitherChanged |
| boost::signalslib::signal < void(int)> | signal_componentVisualizationComboChanged |
| boost::signalslib::signal < void(float)> | signal_hbaoRadiusSliderChanged |
| boost::signalslib::signal < void(float)> | signal_hbaoBiasSliderChanged |
| boost::signalslib::signal < void(float)> | signal_hbaoExponentSliderChanged |
| boost::signalslib::signal < void(float)> | signal_hbaoSmallScalarSliderChanged |
| boost::signalslib::signal < void(float)> | signal_hbaoLargeScalarSliderChanged |
| boost::signalslib::signal < void(int)> | signal_hbaoDepthClampComboChanged |
|
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 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 |
For indirect rendering, set the lod fade in/fade out distance as a percentage of the start and end distance for the given lod. Default is 20(%))
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 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.
|
overridevirtual |
set the radius value for the HBAO effect
Implements makVrv::DtRenderSettingsInterface.
|
overridevirtual |
set the maximum radius value for the HBAO effect
Implements makVrv::DtRenderSettingsInterface.
|
overridevirtual |
set the bias value for the HBAO effect
Implements makVrv::DtRenderSettingsInterface.
|
overridevirtual |
set the maximumbias value for the HBAO effect
Implements makVrv::DtRenderSettingsInterface.
|
overridevirtual |
set the exponent value for the HBAO effect
Implements makVrv::DtRenderSettingsInterface.
|
overridevirtual |
set the maximum exponent value for the HBAO effect
Implements makVrv::DtRenderSettingsInterface.
|
overridevirtual |
set the small scalar value for the HBAO effect
Implements makVrv::DtRenderSettingsInterface.
|
overridevirtual |
set the maximum scalar value for the HBAO effect
Implements makVrv::DtRenderSettingsInterface.
|
overridevirtual |
set the large scalar value for the HBAO effect
Implements makVrv::DtRenderSettingsInterface.
|
overridevirtual |
set the maximum large scalar value for the HBAO effect
Implements makVrv::DtRenderSettingsInterface.
|
overridevirtual |
set the number of decimals to use for any of the HBAO sliders
Implements makVrv::DtRenderSettingsInterface.
|
overridevirtual |
set the depth clamping mode for the HBAO effect (Edge or Border)
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 |
|
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 |