VR-Forces 5.0.3 Developer's Guide
 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.

Public Member Functions

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

Protected Member Functions

void sendSettingsToGui ()
 
void slot_lightingDiffuseScaleChanged (float scale)
 
void slot_lightingAmbientScaleChanged (float scale)
 
void slot_lightingEmissionScaleChanged (float scale)
 
void slot_globalAmbientValueSet (double ambientValue)
 
void slot_useGlobalAmbientSet (bool useGlobalAmbient)
 
void slot_globalDiffuseValueSet (double diffuseValue)
 
void slot_useGlobalDiffuseSet (bool useGlobalDiffuse)
 

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 *)
 

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::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 Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)