VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtLightingRenderSettingsLogic.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <vrvCoreQt/vrvCoreQt.h>
15 #include <vector>
16 
17 namespace makVrv
18 {
19  class DtLightingRenderSettingsInterface;
20  class DtPersistenceControlsInterface;
21  class DtModel;
22  class DtDe;
23  class DtSettingsBackup;
24 
28  {
29  public:
32  DtPersistenceControlsInterface& persistenceControls,
34 
37 
38  protected:
39 
41  void sendSettingsToGui();
42 
44  void slot_lightingDiffuseScaleChanged(float scale);
45 
47  void slot_lightingAmbientScaleChanged(float scale);
48 
50  void slot_lightingEmissionScaleChanged(float scale);
51 
53  void slot_globalAmbientValueSet(double ambientValue);
54 
56  void slot_useGlobalAmbientSet(bool useGlobalAmbient);
57 
59  void slot_globalDiffuseValueSet(double diffuseValue);
60 
62  void slot_useGlobalDiffuseSet(bool useGlobalDiffuse);
63 
65  void slot_perPixelLightingEnabledChanged(bool enabled);
66 
67  //@ }
68 
70  //@ {
71  void on_import();
72  void on_export();
73  void on_importFilePathChosen(const std::string& filePath);
74  void on_exportFilePathChosen(const std::string& filePath);
75  //@ }
76 
79  virtual void settingsRestored(const DtSettingsBackup*);
80 
81  protected:
86  };
87 }
This is the interface which the lighting render settings widget will inherit from and the logic will ...
Definition: DtLightingRenderSettingsInterface.h:19
Contains makVrv::DtChannelConfiguration class.
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
Abstract interface for controlling persistence of state in a dialog.
Definition: DtPersistenceControlsInterface.h:20
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:24
Provides a method of doign settings backup.
Definition: DtSettingsBackup.h:26
Base class to provide boost signal/slot management.
DtSignalConnectionManager myConnections
Definition: DtLightingRenderSettingsLogic.h:82
This is the logic for the render settings widget.
Definition: DtLightingRenderSettingsLogic.h:27
DtDe & myDe
Definition: DtLightingRenderSettingsLogic.h:85
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtLightingRenderSettingsInterface & myInterface
Definition: DtLightingRenderSettingsLogic.h:83
DtPersistenceControlsInterface & myPersistenceControls
Definition: DtLightingRenderSettingsLogic.h:84

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)