VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCoreQt
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
>
17
#include <
vrvCore/DtSubjectObserver.h
>
18
#include <
vrvUtil/DtSignalConnectionManager.h
>
19
#include <
makArchives/DtDisplayUnitsSettingsRecord.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
36
class
DT_DLL_VRVCOREQT
DtEyepointInfoWidgetLogic
:
public
DtDeObserver
37
{
38
public
:
39
41
static
DtEyepointInfoWidgetLogic
* create(
DtDe
& de,
42
DtEyepointInfoWidgetInterface
* iFace );
43
45
virtual
~
DtEyepointInfoWidgetLogic
();
46
47
virtual
void
setCoordinateSystem(
48
makArchives::DtDisplayUnitsSettingsRecord::CoordSys
s );
49
virtual
makArchives::DtDisplayUnitsSettingsRecord::CoordSys
coordSys()
const
;
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
85
DtEyepointInfoWidgetLogic
(
DtDe
& de,
86
DtEyepointInfoWidgetInterface
* iFace );
87
88
protected
:
89
90
DtDe
&
myDe
;
91
DtEyepointInfoWidgetInterface
*
myInterface
;
92
93
makArchives::DtDisplayUnitsSettingsRecord::CoordSys
myCoordSys
;
94
DtSignalConnectionManager
mySignals
;
95
bool
myOrientationModeIsLocalFlag
;
96
};
97
98
}
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)