VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDiGuySettingsLogic.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCoreQt/vrvCoreQt.h>
13 
16 
17 namespace makVrv
18 {
19 
20  class DtSettingsBackup;
21  class DtPersistenceControlsInterface;
22  class DtDiGuySettingsInterface;
23 
27  {
28  public:
29 
32  DtPersistenceControlsInterface& persistenceControls,
33  DtDiGuySettingsInterface& widget );
34 
36  virtual ~DtDiGuySettingsLogic();
37 
38  protected:
39 
43  virtual void displayUnitsChanged();
44 
46  virtual void sendSettingsToGui();
47 
49 
50 
52  virtual void slot_diGuyInstancingEnabledChanged( bool enable);
53 
55  virtual void slot_diGuyInstancedLodChanged( int lod);
56 
58  virtual void slot_diGuyVisualizeInstancingChanged( bool enable );
59 
61  virtual void slot_diGuyTextureVariationChanged(bool enable);
62 
64  virtual void slot_diGuyMaxDrawDistanceChanged( float distance );
65 
67  virtual void slot_settingMaxDrawDistanceChanged( float distance );
68 
70  virtual void slot_diGuyMaxMotionUpdateDistanceChanged(float distance);
71 
73  virtual void slot_settingMaxMotionUpdateDistanceChanged(float distance);
74 
76  virtual void slot_diGuyMultiThreadUpdateChanged( bool enable );
77 
78  //@ }
79 
81 
82 
83  virtual void on_import();
84  virtual void on_export();
85  virtual void on_importFilePathChosen( const std::string& filePath );
86  virtual void on_exportFilePathChosen( const std::string& filePath );
87  virtual void on_settingsRestored( const DtSettingsBackup* b );
88 
89  //@ }
90 
91  protected:
92 
97 
98  };
99 
100 }
DtDiGuySettingsInterface & myInterface
Definition: DtDiGuySettingsLogic.h:94
#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
DtDe & myDe
Definition: DtDiGuySettingsLogic.h:96
DtSignalConnectionManager mySignals
Definition: DtDiGuySettingsLogic.h:93
Contains makVrv::DtVirtualBaseClass class.
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points. Coordinates are in local database coordinates The coordinat...
Interface for the diguy settings widget. Used by the logic to communicate with the widget...
Definition: DtDiGuySettingsInterface.h:23
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.
The logic for the diguy settings dialog.
Definition: DtDiGuySettingsLogic.h:26
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:72
DtPersistenceControlsInterface & myPersistenceControls
Definition: DtDiGuySettingsLogic.h:95

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)