VR-Forces 4.7 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 /********************************************************************
6  * $RCSfile: DtEyepointInfoWidgetLogic.h,v $ $Revision: 1.19 $ $State: Exp $
7  ********************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCoreQt/vrvCoreQt.h>
16 #include <vrvCore/DtUniqueID.h>
20 #include <matrix/vlVector.h>
21 
22 class QString;
23 class DtTaitBryan;
24 
25 namespace makVrv
26 {
27 
28  class DtDe;
29  class DtObserver;
30  class DtInputDriver;
31  class DtObserverObject;
32  class DtEyepointInfoWidgetInterface;
33 
37  {
38  public:
39 
41  static DtEyepointInfoWidgetLogic* create( DtDe& de,
43 
45  virtual ~DtEyepointInfoWidgetLogic();
46 
47  virtual void setCoordinateSystem(
50 
52  void onObserverAboutToBeDestroyed( DtInputDriver* inputDriver,
53  DtObserver* observer );
54 
55  void onCurrentObserverChanged( DtInputDriver* inputDriver,
56  DtObserver* observer );
57 
58  void slot_unitChanged( int type );
59  void slot_decimalsChanged( int type );
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 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)