VR-Forces 4.6 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 }

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)