VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtEntityDisplaySettingsLogic.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 
12 #include <vrvVrlQt/vrvVrlQt.h>
13 
16 
17 using namespace makArchives;
18 namespace makVrv
19 {
20 
21  class DtDe;
22  class DtEntityDisplaySettingsInterface;
23  class DtPersistenceControlsInterface;
24  class DtSettingsBackup;
25 
29  {
30  public:
31 
34  DtPersistenceControlsInterface& persistenceControls,
36 
39 
40  protected:
41 
43  void sendSettingsToGui();
44 
46  //@ {
47 
48  void slot_entityLabelsShown(bool enabled);
49  void slot_rotateEntitySymbols(bool enabled);
50 
53  void slot_infoPopupsOnSelectSet(bool enabled);
54 
56  void slot_groundClampingEnabled(bool enabled);
57 
59  void slot_smoothingEnabled(bool enabled);
60 
62  void slot_smoothingPeriodSet(float time);
63 
65  void slot_artPartSmoothingEnabled(bool enabled);
66 
68  void slot_artPartSmoothingPeriodSet(float time);
69 
71  void slot_lifeformsUprightEnabled(bool enabled);
72 
74  void slot_iconScaleChanged(float iconScale);
75 
78  void slot_groundClampingDistanceSet(float distance);
79 
81  void slot_orientationClampingEnabled(bool enabled);
82 
84  void slot_clearHistory();
85 
87  void slot_showStealthsSet(bool enabled);
88 
90  void slot_showEmitterVolumesSet(bool enabled);
91 
93  void slot_heightAboveTerrainEnabled(bool enabled);
94 
96  void slot_heightAboveTerrainSelectedOnlySet(bool enabled);
97 
98  void slot_useModelColorType(
100 
102  void slot_iconScaleSet(int scale);
103 
105  void slot_oceanWakesEnabled(bool enabled);
106 
108  void slot_rotorWashEnabled(bool enabled);
109 
111  void slot_hullSprayEffectsEnabled(bool enabled);
112 
114  void slot_buoyancyModelsEnabled(bool enabled);
115 
117  void slot_buoyancyDefaultLODDistanceChanged(double distance);
118 
120  void slot_wakeDefaultLODDistanceChanged(double distance);
121 
123  void slot_buoyancyMinimumCullDistanceChanged(double distance);
124 
126  void slot_buoyancyCullTypeChanged(
128 
130  void slot_buoyAndBeaconIconsEnabled(bool enabled);
131 
132  void slot_heightAboveTerrainPeriodChanged( unsigned int period );
133 
136  void slot_occupantsVisible(bool visible);
137 
140  void slot_wheelRotation(bool rotate);
141 
144  void slot_entitySettingsRestored(const DtSettingsBackup* s);
145 
148 
149  void on_import();
150  void on_export();
151  void on_importFilePathChosen( const std::string& filePath );
152  void on_exportFilePathChosen( const std::string& filePath );
153 
155 
157 
158  //virtual void on_groundClampingScaleChanged( float scale );
162  //virtual void on_buoyancyDefaultLODDistanceChanged( double distance );
163  //virtual void on_wakeDefaultLODDistanceChanged( double distance );
164  //virtual void on_buoyancyMinimumCullDistanceChanged(double distance );
166 
167  protected:
168 
173 
174  };
175 
176 }
The interface for an entity settings widget to communicate with its logic.
Definition: DtEntitySettingsInterface.h:28
DtSignalConnectionManager myConnections
Definition: DtEntityDisplaySettingsLogic.h:170
ColorizedModelColorType
Enumeration for the model coloring mode.
Definition: DtSharedEntityDisplaySettings.h:42
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
Abstract interface for controlling persistence of state in a dialog.
Definition: DtPersistenceControlsInterface.h:20
Contains DLL export macros.
BuoyancyCullType
Definition: DtEntitySettingsRecord.h:22
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points.
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:24
The logic for the entity display settings dialog.
Definition: DtEntityDisplaySettingsLogic.h:28
Provides a method of doign settings backup.
Definition: DtSettingsBackup.h:26
DtEntityDisplaySettingsInterface & myInterface
Definition: DtEntityDisplaySettingsLogic.h:171
DtPersistenceControlsInterface & myPersistenceControls
Definition: DtEntityDisplaySettingsLogic.h:172
Base class to provide boost signal/slot management.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains the DtSharedEntityDisplaySettings class declaration.
DtDe & myDe
These are connected to signals from Shared Entity Display Settings so that their values can be conver...
Definition: DtEntityDisplaySettingsLogic.h:169

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)