VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtEyepointInfoWidgetLogic.h
Go to the documentation of this file.
1 /********************************************************************
2  * Copyright (c) 2011 MaK Technologies, Inc.
3  * All rights reserved.
4  ********************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCoreQt/vrvCoreQt.h>
13 #include <vrvCore/DtUniqueID.h>
17 #include <matrix/vlVector.h>
18 
19 class QString;
20 class DtTaitBryan;
21 
22 namespace makVrv
23 {
24 
25  class DtDe;
26  class DtObserver;
27  class DtInputDriver;
28  class DtObserverObject;
29  class DtEyepointInfoWidgetInterface;
30 
34  {
35  public:
36 
38  static DtEyepointInfoWidgetLogic* create( DtDe& de,
40 
42  virtual ~DtEyepointInfoWidgetLogic();
43 
44  virtual void setCoordinateSystem(
47 
49  void onObserverAboutToBeDestroyed( DtInputDriver* inputDriver,
50  DtObserver* observer );
51 
52  void onCurrentObserverChanged( DtInputDriver* inputDriver,
53  DtObserver* observer );
54 
59  void slot_unitChanged( const DtUnicode& displayUnitCollectionName, const DtUnicode& displayUnitName, unsigned int unitEnumerationValue );
60 
61  virtual void slot_activate( DtDe* de );
62  virtual void slot_deactivate( DtDe* de );
63 
64  public:
65 
66  virtual void clear();
67  virtual void resetAllFields();
68  virtual void update();
69 
70  virtual void onCoordSysChanged( const QString& s );
71 
72  virtual void onOrientationModeChanged( const QString& s );
73 
74  protected:
75 
76  void updateLocation( DtObserverObject* observer );
77  void updateOrientation( DtObserverObject* observer );
78 
79  void updateLocationLabels();
80  void updateOrientationLabels();
81 
82  private:
83 
87 
88  protected:
89 
92 
96  };
97 
98 }
A unicode string.
Definition: DtUnicode.h:33
Contains makVrv::DtSubjectObserver class.
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
CoordSys
Enumeration of the different coordinate system types.
Definition: DtDisplayUnitsSettingsRecord.h:30
DtDe & myDe
Definition: DtEyepointInfoWidgetLogic.h:90
bool myOrientationModeIsLocalFlag
Definition: DtEyepointInfoWidgetLogic.h:95
A facade for a DtObserverObject.
Definition: DtObserver.h:37
This abstract base class defines the interface for OS-specific keyboard and mouse event listeners...
Definition: DtObserverObject.h:29
This class&#39;s main responsibility is to handle keyboard and mouse events from OSG (Qt events are route...
Definition: DtInputDriver.h:43
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtSignalConnectionManager mySignals
Definition: DtEyepointInfoWidgetLogic.h:94
DtEyepointInfoWidgetInterface * myInterface
Definition: DtEyepointInfoWidgetLogic.h:91
The logic for populating the DtEyepointInfoWidget.
Definition: DtEyepointInfoWidgetLogic.h:33
Base class to provide boost signal/slot management.
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains the DtDisplayUnitsSettingsRecord class declaration.
Interface for DtEyepointInfoWidgets.
Definition: DtEyepointInfoWidgetInterface.h:23
makArchives::DtDisplayUnitsSettingsRecord::CoordSys myCoordSys
Definition: DtEyepointInfoWidgetLogic.h:93

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)