VR-Forces 4.8 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 }
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:44
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:24
DtSignalConnectionManager mySignals
Definition: DtEyepointInfoWidgetLogic.h:94
DtEyepointInfoWidgetInterface * myInterface
Definition: DtEyepointInfoWidgetLogic.h:91
The logic for populating the DtEyepointInfoWidget.
Definition: DtEyepointInfoWidgetLogic.h:36
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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)