VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDiGuySettingsInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCoreQt/vrvCoreQt.h>
13 
14 #include <boost/signal.hpp>
15 
16 namespace makVrv
17 {
18  class DtUnicode;
19 
24  {
25  public:
26 
28  virtual ~DtDiGuySettingsInterface();
29 
31 
32 
34  virtual bool instancingEnabled() const = 0;
35 
37  virtual void setInstancingEnabled( bool enabled ) = 0;
38 
40  virtual int instancedLod() const = 0;
41 
43  virtual void setInstancedLod( int lod ) = 0;
44 
46  virtual bool visualizeInstancing() const = 0;
47 
49  virtual void setVisualizeInstancing( bool enabled ) = 0;
50 
52  virtual float maxDrawDistance() const = 0;
53 
55  virtual void setMaxDrawDistance( float distance ) = 0;
56 
58  virtual float maxMotionUpdateDistance() const = 0;
59 
61  virtual void setMaxMotionUpdateDistance(float distance) = 0;
62 
64  virtual bool multiThreadUpdate() const = 0;
65 
67  virtual void setMultiThreadUpdate( bool enabled ) = 0;
68 
70 
71  virtual void setDistanceUnitLabels( const DtUnicode& distNotation) = 0;
72 
73  virtual void setDistanceDecimals( int decimals ) = 0;
74 
76  virtual void setMaxDrawDistanceRange( float max, float min, float step ) = 0;
77 
79  virtual void setMaxMotionUpdateDistanceRange(float max, float min, float step) = 0;
80 
82  virtual void setInstancedLodMax( int max ) = 0;
83 
85 
86 
89  boost::signal<void (bool)> signal_diGuyInstancingEnabledChanged;
90 
93  boost::signal<void (int)> signal_diGuyInstancedLodChanged;
94 
97  boost::signal<void (bool)> signal_diGuyVisualizeInstancingChanged;
98 
101  boost::signal<void (float)> signal_diGuyMaxDrawDistanceChanged;
102 
105  boost::signal<void(float)> signal_diGuyMaxMotionUpdateDistanceChanged;
106 
109  boost::signal<void (bool)> signal_diGuyMultiThreadUpdateChanged;
110 
112 
113  };
114 
115 }
A unicode string.
Definition: DtUnicode.h:33
boost::signal< void(float)> signal_diGuyMaxDrawDistanceChanged
Signals that the user changed the max draw distance.
Definition: DtDiGuySettingsInterface.h:101
boost::signal< void(int)> signal_diGuyInstancedLodChanged
Signals that the user changed the instancing lod value (1-7).
Definition: DtDiGuySettingsInterface.h:93
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
boost::signal< void(bool)> signal_diGuyVisualizeInstancingChanged
Signals that the user changed the visualize instancing checkbox.
Definition: DtDiGuySettingsInterface.h:97
Contains DLL export macros.
boost::signal< void(float)> signal_diGuyMaxMotionUpdateDistanceChanged
Signals that the user changed the max draw distance.
Definition: DtDiGuySettingsInterface.h:105
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points.
Interface for the diguy settings widget.
Definition: DtDiGuySettingsInterface.h:23
boost::signal< void(bool)> signal_diGuyMultiThreadUpdateChanged
Signals that the user changed the multi threaded update checkbox.
Definition: DtDiGuySettingsInterface.h:109
boost::signal< void(bool)> signal_diGuyInstancingEnabledChanged
Signals that the user changed the instancing enabled checkbox.
Definition: DtDiGuySettingsInterface.h:89

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)