VR-Vantage API Documentation
DtEnvironmentLogic.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2011 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 /*****************************************************************************
6  * $RCSfile: DtEnvironmentLogic.h,v $ $Revision: 1.13 $ $State: Exp $
7  *****************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCoreQt/vrvCoreQt.h>
16 
18 
19 #include <string>
20 
21 namespace makArchives
22 {
23  class DtCloudLayerRecord;
24 }
25 
26 namespace makVrv
27 {
28 
29  class DtDe;
30  class DtEnvironmentInterface;
31  class DtPersistenceControlsInterface;
32 
36  {
37  public:
38 
41  DtPersistenceControlsInterface& persInterface);
42 
45 
46  protected:
47 
48  void sendSettingsToGui();
49 
50  void remoteSettingsChanged(bool enabled);
51 
52  void refreshRemoteSettings();
53 
54  void createNewCloudLayer();
55 
56  void addCloudLayer( const makArchives::DtCloudLayerRecord& curIter );
57 
58  void deleteCloudLayer(int index);
59 
60  void enableCloudLayer(int index, bool enabled);
61 
62  //Connected to signal emitted when a cloud layer was added.
63  void on_cloudLayerAdded(int index);
64 
65  //Connected to signal emitted when a cloud layer was destroyed.
66  void on_cloudLayerDestroyed( int index );
67 
68  //Connected to signal emitted when a cloud layer is enabled/disabled.
69  void on_cloudLayerEnabledChanged( int index, bool enabled );
70 
71  void on_displayUnitsChanged( int type );
72 
73  void exportSettings( const std::string& fileName );
74  void importSettings( const std::string& fileName );
75 
76  void restoreFactorySettings();
77 
78  void enablePrecipitation( bool );
79 
80  void setPrecipitationType( const std::string& type );
81 
82  void setPrecipitationIntensity( float );
83 
84  void setTurbidity( float );
85  void setVisibilityDistance( float );
86 
87  void addNewCloudLayer(const makArchives::DtCloudLayerRecord& cloudRec);
88 
89  void editCloudLayer(int index);
90  void cloudLayerEdited(int index, const makArchives::DtCloudLayerRecord& cloudRec);
91 
92  void on_precipitationSettingsChanged();
93  void on_atmosphericParametersChanged();
94 
95  void on_import();
96  void on_export();
97 
98  protected:
99 
104 
105  };
106 
107 }


Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)