VR-Forces 5.0.3 Developer's Guide
 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) 2020 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 
64  //@ }
65 
67  //@ {
68  void on_import();
69  void on_export();
70  void on_importFilePathChosen(const std::string& filePath);
71  void on_exportFilePathChosen(const std::string& filePath);
72  //@ }
73 
76  virtual void settingsRestored(const DtSettingsBackup*);
77 
78  protected:
83  };
84 }
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:20
Provides a method of doign settings backup.
Definition: DtSettingsBackup.h:23
Base class to provide boost signal/slot management.
DtSignalConnectionManager myConnections
Called when settings are restored. Resets gui if the restored object type is of this class...
Definition: DtLightingRenderSettingsLogic.h:79
This is the logic for the render settings widget.
Definition: DtLightingRenderSettingsLogic.h:27
DtDe & myDe
Called when settings are restored. Resets gui if the restored object type is of this class...
Definition: DtLightingRenderSettingsLogic.h:82
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
DtLightingRenderSettingsInterface & myInterface
Called when settings are restored. Resets gui if the restored object type is of this class...
Definition: DtLightingRenderSettingsLogic.h:80
DtPersistenceControlsInterface & myPersistenceControls
Called when settings are restored. Resets gui if the restored object type is of this class...
Definition: DtLightingRenderSettingsLogic.h:81

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)