DtLightingRenderSettingsWidget implements the DtLightingRenderSettingsInterface for Qt.
More...
DtLightingRenderSettingsWidget implements the DtLightingRenderSettingsInterface for Qt.
It provides the Qt widgets used to change lighting rendering settings such as lighting scalars
| makVrv::DtLightingRenderSettingsWidget::DtLightingRenderSettingsWidget |
( |
DtDe & |
de, |
|
|
QWidget * |
parent, |
|
|
Qt::WindowFlags |
flags = Qt::Widget |
|
) |
| |
| virtual makVrv::DtLightingRenderSettingsWidget::~DtLightingRenderSettingsWidget |
( |
| ) |
|
|
virtual |
| virtual void makVrv::DtLightingRenderSettingsWidget::setLightingDiffuseScale |
( |
float |
scale | ) |
|
|
virtual |
Set the scale factor for diffuse scene light values.
- Parameters
-
| [in] | scale | is the scale to apply to the diffuse lighting values that come from Silverlining |
Implements makVrv::DtLightingRenderSettingsInterface.
| virtual void makVrv::DtLightingRenderSettingsWidget::setLightingAmbientScale |
( |
float |
scale | ) |
|
|
virtual |
Set the scale factor for ambient scene light values.
- Parameters
-
| [in] | scale | is the scale to apply to the ambient lighting values that come from Silverlining |
Implements makVrv::DtLightingRenderSettingsInterface.
| virtual void makVrv::DtLightingRenderSettingsWidget::setLightingEmissionScale |
( |
float |
scale | ) |
|
|
virtual |
| virtual void makVrv::DtLightingRenderSettingsWidget::setUseGlobalDiffuse |
( |
bool |
useGlobalDiffuse | ) |
|
|
virtual |
Set the use material ambient.
- Parameters
-
| [in] | useGlobalDiffuse | boolean value to enable/disable the usage of the diffuse material value placed on individual objects |
Implements makVrv::DtLightingRenderSettingsInterface.
| virtual void makVrv::DtLightingRenderSettingsWidget::setGlobalDiffuseValue |
( |
float |
diffuseValue | ) |
|
|
virtual |
| virtual void makVrv::DtLightingRenderSettingsWidget::setUseGlobalAmbient |
( |
bool |
useGlobalAmbient | ) |
|
|
virtual |
Set the use material ambient flag.
- Parameters
-
| [in] | useGlobalAmbient | boolean value to enable/disable the usage of the ambient material value placed on individual objects |
Implements makVrv::DtLightingRenderSettingsInterface.
| virtual void makVrv::DtLightingRenderSettingsWidget::setGlobalAmbientValue |
( |
float |
ambientValue | ) |
|
|
virtual |
| virtual void makVrv::DtLightingRenderSettingsWidget::setPerPixelLightingEnabled |
( |
bool |
state | ) |
|
|
virtual |
| void makVrv::DtLightingRenderSettingsWidget::on_lightingDiffuseScaleChanged |
( |
double |
scale | ) |
|
|
protectedslot |
Slots used to communicate between the widget and its Qt sub-widgets.
| void makVrv::DtLightingRenderSettingsWidget::on_lightingAmbientScaleChanged |
( |
double |
scale | ) |
|
|
protectedslot |
| void makVrv::DtLightingRenderSettingsWidget::on_lightingEmissionScaleChanged |
( |
double |
scale | ) |
|
|
protectedslot |
| void makVrv::DtLightingRenderSettingsWidget::on_globalAmbientValueSliderChanged |
( |
double |
val | ) |
|
|
protectedslot |
| void makVrv::DtLightingRenderSettingsWidget::on_useGlobalAmbientCheckChanged |
( |
int |
state | ) |
|
|
protectedslot |
| void makVrv::DtLightingRenderSettingsWidget::on_globalDiffuseValueSliderChanged |
( |
double |
val | ) |
|
|
protectedslot |
| void makVrv::DtLightingRenderSettingsWidget::on_useGlobalDiffuseCheckChanged |
( |
int |
state | ) |
|
|
protectedslot |
| void makVrv::DtLightingRenderSettingsWidget::on_perPixelLightingEnabledCheckChanged |
( |
int |
state | ) |
|
|
protectedslot |
| void makVrv::DtLightingRenderSettingsWidget::setupGui |
( |
| ) |
|
|
protected |
Sets up the widget's fields.
Non-virtual (Called from CTOR).
| void makVrv::DtLightingRenderSettingsWidget::connectToSignals |
( |
| ) |
|
|
protected |
Connects widget signals to slots.
Non-virtual (Called from CTOR).
| DtDe& makVrv::DtLightingRenderSettingsWidget::myDe |
|
protected |
| QLabel* makVrv::DtLightingRenderSettingsWidget::myLightingDiffuseScaleLabel |
|
protected |
| QLabel* makVrv::DtLightingRenderSettingsWidget::myLightingAmbientScaleLabel |
|
protected |
| QLabel* makVrv::DtLightingRenderSettingsWidget::myLightingEmissionScaleLabel |
|
protected |
| QCheckBox* makVrv::DtLightingRenderSettingsWidget::myUseGlobalDiffuseCheckbox |
|
protected |
| QLabel* makVrv::DtLightingRenderSettingsWidget::myGlobalDiffuseValueLabel |
|
protected |
| QCheckBox* makVrv::DtLightingRenderSettingsWidget::myUseGlobalAmbientCheckbox |
|
protected |
| QLabel* makVrv::DtLightingRenderSettingsWidget::myGlobalAmbientValueLabel |
|
protected |
| QCheckBox* makVrv::DtLightingRenderSettingsWidget::myPerPixelLightingEnabledCheckbox |
|
protected |
The documentation for this class was generated from the following file: