![]() |
VR-Forces Development_Version 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 | 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 | setLensFlareEnabled (bool state) |
| Set the lens flare state. | |
| 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. | |
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 Slots | |
User input slots. | |
Receives notification that the user has changed a widget's value. | |
| void | on_refreshColorizedDrawablesButtonClicked () |
| void | on_reloadShaderButton_clicked () |
| void | on_wireframeCheckChanged (int state) |
| void | on_renderStatsChanged (int state) |
| void | on_renderProfilerChanged (int state) |
| void | on_myChannelProjectionResizePolicyCombo_currentIndexChanged (int index) |
| void | on_SymbolTransparencyChanged (int state) |
| void | on_terrainScalingEnabledCheckChanged (int state) |
| void | on_terrainScaleFactorSliderChanged (int val) |
| void | on_ClearTrackHistoriesCheckChanged (int state) |
| void | on_useAutofocusCheckChanged (int state) |
| void | on_focalDepthSliderChanged (double val) |
| void | on_focalRangeSliderChanged (double val) |
| void | on_lensFlareCheckChanged (int state) |
| void | on_crepuscularRaysCheckChanged (int state) |
| void | on_componentVisualizationCombo_currentIndexChanged (int selectedIndex) |
| void | on_colorizeDrawablesCheckChanged (int state) |
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 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 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 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.
|
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 |