VR-Forces Developer's Guide
 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  class DtCoordinateSystem;
31 
35  {
36  public:
37 
39  static DtEyepointInfoWidgetLogic* create( DtDe& de,
41 
43  virtual ~DtEyepointInfoWidgetLogic();
44 
45  virtual void setCoordinateSystem(
48 
50  void onObserverAboutToBeDestroyed( DtInputDriver* inputDriver,
51  DtObserver* observer );
52 
53  void onCurrentObserverChanged( DtInputDriver* inputDriver,
54  DtObserver* observer );
55 
60  void slot_unitChanged( const DtUnicode& displayUnitCollectionName, const DtUnicode& displayUnitName, unsigned int unitEnumerationValue );
61 
62  virtual void slot_activate( DtDe* de );
63  virtual void slot_deactivate( DtDe* de );
64 
65  public:
66 
67  virtual void clear();
68  virtual void resetAllFields();
69  virtual void update();
70 
71  virtual void onCoordSysChanged( const QString& s );
72 
73  virtual void onOrientationModeChanged( const QString& s );
74 
75  protected:
76 
77  void updateLocation( DtObserverObject* observer );
78  void updateOrientation( DtObserverObject* observer );
79 
80  void updateLocationLabels();
81  void updateOrientationLabels();
82 
84  virtual void slot_coordinateSystemChanged();
85 
86  private:
87 
91 
92  protected:
93 
96 
100 
103  DtCoordinateSystem* myCoordinateSystem = nullptr;
104  };
105 
106 }
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
Contains makVrv::DtSubjectObserver class.
DtSignalConnectionManager myConnections
Definition: DtEyepointInfoWidgetLogic.h:98
#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:94
bool myOrientationModeIsLocalFlag
Definition: DtEyepointInfoWidgetLogic.h:99
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:32
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
DtEyepointInfoWidgetInterface * myInterface
Definition: DtEyepointInfoWidgetLogic.h:95
The logic for populating the DtEyepointInfoWidget.
Definition: DtEyepointInfoWidgetLogic.h:34
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:40
Base class to provide boost signal/slot management.
Contains makVrv::DtUniqueID type.
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:72
Contains the DtDisplayUnitsSettingsRecord class declaration.
Interface for DtEyepointInfoWidgets.
Definition: DtEyepointInfoWidgetInterface.h:23
makArchives::DtDisplayUnitsSettingsRecord::CoordSys myCoordSys
Definition: DtEyepointInfoWidgetLogic.h:97

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)