VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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
DtLightingRenderSettingsInterfacemyInterface
DtPersistenceControlsInterfacemyPersistenceControls
DtDemyDe
void on_import ()
void on_export ()
void on_importFilePathChosen (const std::string &filePath)
void on_exportFilePathChosen (const std::string &filePath)
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
void makVrv::DtLightingRenderSettingsLogic::on_export ( )
protected
void makVrv::DtLightingRenderSettingsLogic::on_importFilePathChosen ( const std::string &  filePath)
protected
void makVrv::DtLightingRenderSettingsLogic::on_exportFilePathChosen ( const std::string &  filePath)
protected
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
DtLightingRenderSettingsInterface& makVrv::DtLightingRenderSettingsLogic::myInterface
protected
DtPersistenceControlsInterface& makVrv::DtLightingRenderSettingsLogic::myPersistenceControls
protected
DtDe& makVrv::DtLightingRenderSettingsLogic::myDe
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)