VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
makVrv::DtLightingRenderSettingsLogic Class Reference

This is the logic for the render settings widget. More...

Public Member Functions

 DtLightingRenderSettingsLogic (DtDe &de, DtPersistenceControlsInterface &persistenceControls, DtLightingRenderSettingsInterface &widget)
 CTOR.
virtual ~DtLightingRenderSettingsLogic ()
 DTOR.

Protected Member Functions

void sendSettingsToGui ()
 Set up the gui with the current Render settings.
void slot_lightingDiffuseScaleChanged (float scale)
 Called when diffuse light scale is changed by the gui.
void slot_lightingAmbientScaleChanged (float scale)
 Called when ambient light scale is changed by the gui.
void slot_lightingEmissionScaleChanged (float scale)
 Called when emissive texture scale is changed by the gui.
void slot_globalAmbientValueSet (double ambientValue)
 Called when the ambient value setting is changed by the gui.
void slot_useGlobalAmbientSet (bool useGlobalAmbient)
 Called when the use material ambient value setting is changed by the gui.
void slot_globalDiffuseValueSet (double diffuseValue)
 Called when the diffuse value setting is changed by the gui.
void slot_useGlobalDiffuseSet (bool useGlobalDiffuse)
 Called when the use material diffuse value setting is changed by the gui.
void slot_perPixelLightingEnabledChanged (bool enabled)
 Called when per-pixel lighting mode is changed by the gui.

Persistence slots

DtSignalConnectionManager myConnections
 Called when settings are restored.
DtLightingRenderSettingsInterfacemyInterface
 Called when settings are restored.
DtPersistenceControlsInterfacemyPersistenceControls
 Called when settings are restored.
DtDemyDe
 Called when settings are restored.
void on_import ()
 Called when settings are restored.
void on_export ()
 Called when settings are restored.
void on_importFilePathChosen (const std::string &filePath)
 Called when settings are restored.
void on_exportFilePathChosen (const std::string &filePath)
 Called when settings are restored.
virtual void settingsRestored (const DtSettingsBackup *)
 Called when settings are restored.

Detailed Description

This is the logic for the render settings widget.

Constructor & Destructor Documentation

makVrv::DtLightingRenderSettingsLogic::DtLightingRenderSettingsLogic ( DtDe de,
DtPersistenceControlsInterface persistenceControls,
DtLightingRenderSettingsInterface widget 
)

CTOR.

virtual makVrv::DtLightingRenderSettingsLogic::~DtLightingRenderSettingsLogic ( )
virtual

DTOR.

Member Function Documentation

void makVrv::DtLightingRenderSettingsLogic::sendSettingsToGui ( )
protected

Set up the gui with the current Render settings.

void makVrv::DtLightingRenderSettingsLogic::slot_lightingDiffuseScaleChanged ( float  scale)
protected

Called when diffuse light scale is changed by the gui.

void makVrv::DtLightingRenderSettingsLogic::slot_lightingAmbientScaleChanged ( float  scale)
protected

Called when ambient light scale is changed by the gui.

void makVrv::DtLightingRenderSettingsLogic::slot_lightingEmissionScaleChanged ( float  scale)
protected

Called when emissive texture scale is changed by the gui.

void makVrv::DtLightingRenderSettingsLogic::slot_globalAmbientValueSet ( double  ambientValue)
protected

Called when the ambient value setting is changed by the gui.

void makVrv::DtLightingRenderSettingsLogic::slot_useGlobalAmbientSet ( bool  useGlobalAmbient)
protected

Called when the use material ambient value setting is changed by the gui.

void makVrv::DtLightingRenderSettingsLogic::slot_globalDiffuseValueSet ( double  diffuseValue)
protected

Called when the diffuse value setting is changed by the gui.

void makVrv::DtLightingRenderSettingsLogic::slot_useGlobalDiffuseSet ( bool  useGlobalDiffuse)
protected

Called when the use material diffuse value setting is changed by the gui.

void makVrv::DtLightingRenderSettingsLogic::slot_perPixelLightingEnabledChanged ( bool  enabled)
protected

Called when per-pixel lighting mode is changed by the gui.

void makVrv::DtLightingRenderSettingsLogic::on_import ( )
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

void makVrv::DtLightingRenderSettingsLogic::on_export ( )
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

void makVrv::DtLightingRenderSettingsLogic::on_importFilePathChosen ( const std::string &  filePath)
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

void makVrv::DtLightingRenderSettingsLogic::on_exportFilePathChosen ( const std::string &  filePath)
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

virtual void makVrv::DtLightingRenderSettingsLogic::settingsRestored ( const DtSettingsBackup )
protectedvirtual

Called when settings are restored.

Resets gui if the restored object type is of this class

Member Data Documentation

DtSignalConnectionManager makVrv::DtLightingRenderSettingsLogic::myConnections
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

DtLightingRenderSettingsInterface& makVrv::DtLightingRenderSettingsLogic::myInterface
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

DtPersistenceControlsInterface& makVrv::DtLightingRenderSettingsLogic::myPersistenceControls
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

DtDe& makVrv::DtLightingRenderSettingsLogic::myDe
protected

Called when settings are restored.

Resets gui if the restored object type is of this class


The documentation for this class was generated from the following file:

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)