VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
performanceOptionsWidgetLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtPerformanceOptionsWidgetLogic.h,v $ $Revision: 1.1 $ $State: Exp $
7 ******************************************************************************/
8 
11 
13 
14 #pragma once
15 
18 
19 #include <string>
20 
21 namespace makVrv
22 {
23  class DtDe;
24 }
25 
27 
28 namespace makVrf
29 {
30  class DtVrfBackendState;
31  class DtPerformanceOptionsWidgetInterface;
32 
34  {
35  public:
36 
39 
42 
43  protected:
44 
47  virtual void slot_performanceOptionsChanged(double);
48 
49  virtual void slot_userDefinedSmoothing(bool);
50 
51  virtual void slot_smoothingEnabled(bool);
52  virtual void slot_userDefinedSmoothingPeriod(double);
53 
54  virtual void slot_deadReckoningSettingsChanged(const DtDeadReckoningSettings&);
55 
56  virtual double setSliderFromTranslationThreshold();
57 
58  virtual double translationThresholdFromPosition(int position) const;
59  virtual double rotationThresholdFromPosition(int position) const;
60  virtual double smoothingValueFromPosition(int position) const;
61 
63  void sendDRDataToServers(double);
64 
65  virtual void updateTranslationLabel(double threshold);
66  virtual void updateRotationLabel(double threshold);
67  virtual void updateSmoothingLabel(double threshold);
68 
69  protected:
77  };
78 
80  {
81  public:
84 
87 
89  static void registerInstance(makVrv::DtDe& de, DtPerformanceOptionsWidgetLogicCreator* instance);
90 
92  };
93 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Dead reckoning settings used by the performance options dialog to set dead reckoning values for entit...
Definition: deadReckoningSettings.h:31
#define DT_DLL_VRFGUISETTINGSWIDGETS
Definition: vrfGuiSettingsWidgets.h:22
double myLastSentRotationThreshold
Definition: performanceOptionsWidgetLogic.h:73
makVrv::DtDe & myDe
Definition: performanceOptionsWidgetLogic.h:70
double myMaxTranslationThreshold
Definition: performanceOptionsWidgetLogic.h:74
Contains makVrv::DtVirtualBaseClass class.
double myLastSentTranslationThreshold
Definition: performanceOptionsWidgetLogic.h:72
double myMaxRotationThreshold
Definition: performanceOptionsWidgetLogic.h:75
Definition: performanceOptionsWidgetInterface.h:29
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
Definition: performanceOptionsWidgetLogic.h:79
Definition: performanceOptionsWidgetLogic.h:33
double myMaxSmoothingThreshold
Definition: performanceOptionsWidgetLogic.h:76
DtPerformanceOptionsWidgetInterface & myInterface
Definition: performanceOptionsWidgetLogic.h:71

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)