![]() |
VR-Forces Developer's Guide
|
DtShadowSettingsWidget implements the DtShadowSettingsInterface for Qt. It provides the Qt widgets used to change shadow settings.

Public Member Functions | |
| DtShadowSettingsWidget (DtDe &de, QWidget *parent, Qt::WindowFlags flags=Qt::Widget) | |
| virtual | ~DtShadowSettingsWidget () |
| virtual void | setShadowsEnabled (bool enabled) override |
| virtual void | setShadowsOnOceanEnabled (bool enabled) override |
| virtual void | setEntitiesCastsShadows (bool enabled) override |
| virtual void | setPropsCastsShadows (bool enabled) override |
| virtual void | setTerrainCastsShadows (bool enabled) override |
| virtual void | setMoonCastsShadows (bool enabled) override |
| virtual void | setVisualizeShadows (bool enabled) override |
| virtual void | setNumberOfSplits (unsigned int numSplits) override |
| virtual void | setUseFrontFaceCulling (bool enabled) override |
| virtual void | setUseCachedFarCascade (bool enabled) override |
| virtual void | setFarCascadeUpdateFrequency (double frequency) override |
| virtual void | setAdjustFarAndFlagsBasedOnHAT (bool enabled) override |
| virtual void | setUsePolygonOffset (bool enabled) override |
| virtual void | setPolygonOffset (float factor, float units) override |
| virtual void | setPolygonOffsetCascade (unsigned int splitIndex) override |
| virtual void | setGlobalLightShadowMapSize (unsigned int size) override |
| virtual void | setUseMaximumViewDistance (bool enabled) override |
| virtual void | setMaximumViewDistance (double viewDistance) override |
| virtual void | setSplitNearDistanceMinimumBias (double bias) override |
| virtual void | setSplitNearDistanceMaximumBias (double bias) override |
| virtual void | setShadowAmbientFactor (float shadowAmbientFactor) override |
| virtual void | setMixedSplitInterpolationValue (double interp) override |
| virtual void | setShadowStabilizationScheme (const DtUnicode &selection) override |
| virtual void | setSplitSelectionScheme (const DtUnicode &selection) override |
| virtual void | setPreFilteringScheme (const DtUnicode &selection) override |
| virtual void | setFilteringScheme (const DtUnicode &selection) override |
| virtual void | setPoissonDiskSamplingScheme (const DtUnicode &selection) override |
| virtual void | setUseViewportMulticast (bool enabled) override |
| virtual void | setNumPersistentPassesPerCascade (unsigned int numPasses) override |
| virtual void | setNumAdditionalPassesPerCascade (unsigned int numPasses) override |
| virtual void | setPcfFilterWidth (unsigned int pcfFilterWidth) override |
| virtual void | setBlendCascadesBoundaries (bool enabled) override |
| virtual void | setApplyShadowToAmbientLighting (bool applyShadowToAmbientLighting) override |
| virtual void | updateWidgetEnabledState () |
| virtual void | updateShadowsOnOceanGui (void) |
Public Member Functions inherited from makVrv::DtShadowSettingsInterface | |
| virtual | ~DtShadowSettingsInterface () |
Protected Member Functions | |
| void | setupGui () |
| void | connectToSignals () |
| void | setComboBoxSelection (QComboBox *qComboBox, const DtUnicode &selection) |
| void | reInitializePolygonOffsetCascades (int numSplits) |
Protected Attributes | |
| DtDe & | myDe |
| makVrv::DtShadowSettingsWidget::DtShadowSettingsWidget | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | flags = Qt::Widget |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
overridevirtual |
Enables/Disables the shadow rendering enable state.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Enables/Disables the shadow rendering enable state.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Enables/Disables Entities Shadow Casting.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Enables/Disables Props Shadow Casting.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Enables/Disables Terrain Shadow Casting.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Enables/Disables Moon Shadow Casting.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets shadow visualization mode.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets number of splits.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets use front face culling.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets use use cached far cascade.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets how often to update the far cascade.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets to make the near cascades automatically change size and flags in the air.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets use polygon offset.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets polygon offset parameters.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets polygon cascade.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets global light texture size for cascaded shadow mapping.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets use maximum view distance.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Set maximum view distance.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets split near distance minimum bias.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets split near distance maximum bias.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets shadow factor for modulating the scene.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets mixed logarithmic uniform split interpolation value.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets shadow stabilization scheme.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets split selection scheme.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets pre-filtering scheme.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets filtering scheme.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets poisson disk sampling scheme.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
sets use Cached Far Cascade
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets persistent number of passes per cascade.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets additional number of passes per cascade.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets PCF filter width.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets skip blend cascade boundaries.
Implements makVrv::DtShadowSettingsInterface.
|
overridevirtual |
Sets whether the shadow factor is applied to the ambient lighting.
Implements makVrv::DtShadowSettingsInterface.
|
virtual |
Turn on and off some of the widgets.
|
virtual |
|
protectedslot |
slot for shadow setting's casts shadow flag changed
|
protectedslot |
slot for shadow setting's casts shadow flag changed
|
protectedslot |
slot for shadow setting's entities casts shadow flag changed
|
protectedslot |
slot for shadow setting's props casts shadow flag changed
|
protectedslot |
slot for shadow setting's terrain casts shadow flag changed
|
protectedslot |
slot for shadow setting's moon casts shadow flag changed
|
protectedslot |
slot for shadow setting's shadow visualization mode changed
|
protectedslot |
slot for shadow setting's shadow visualization mode changed
|
protectedslot |
slot for shadow setting's use front face culling changed
|
protectedslot |
slot for shadow setting's use cached far cascade changed
|
protectedslot |
slot for shadow setting's use cached far cascade freq changed
|
protectedslot |
slot for shadow setting's auto adjustment features
|
protectedslot |
slot for shadow setting's use viewport multicast changed
|
protectedslot |
slot for shadow setting's use polygon offset changed
|
protectedslot |
slot for shadow setting's polygon offset cascade changed
|
protectedslot |
slot for shadow setting's polygon offset factor parameter changed
|
protectedslot |
slot for shadow setting's polygon offset unit parameter changed
|
protectedslot |
slot for shadow setting's global light texture size for cascaded shadow mapping changed
|
protectedslot |
slot for shadow setting's use maximum view distance changed
|
protectedslot |
slot for shadow setting's maximum view distance changed
|
protectedslot |
slot for shadow setting's split near distance minimum bias changed
|
protectedslot |
slot for shadow setting's split near distance maximum bias changed
|
protectedslot |
slot for shadow setting's shadow factor for modulating the scene changed
|
protectedslot |
slot for shadow setting's mixed logarithmic uniform split interpolation value changed
|
protectedslot |
slot for shadow setting's shadow stabilization scheme changed
|
protectedslot |
slot for shadow setting's split selection scheme changed
|
protectedslot |
slot for shadow setting's pre-filtering scheme changed
|
protectedslot |
slot for shadow setting's filtering scheme changed
|
protectedslot |
slot for shadow setting's poisson disk sampling scheme changed
|
protectedslot |
slot for shadow setting's persistent number of passes per cascade changed
|
protectedslot |
slot for shadow setting's additional number of passes per cascade changed
|
protectedslot |
slot for shadow setting's PCF filter width changed
|
protectedslot |
slot for shadow setting's blend cascades boundaries changed
|
protectedslot |
slot for shadow settings's apply shadow factor to ambient lighting checkbox changed
|
protected |
Sets up the widget's fields. Non-virtual (Called from CTOR).
|
protected |
Connects widget signals to slots. Non-virtual (Called from CTOR).
|
protected |
Sets ComboBox selection.
|
protected |
Reinitializes Polygon Offset Cascade Selections.
|
protected |