summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/tracker.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-29 15:53:44 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-29 15:53:57 +0200
commit6fdcf9004e0aafb796592ab5120f1bd90190e2c3 (patch)
tree6137eec789f565791008667741e44136140556eb /facetracknoir/tracker.h
parent64a5350500baf0db90dca6a753ab6e6ece52043d (diff)
Remove rarely-used features to improve maintainability
Diffstat (limited to 'facetracknoir/tracker.h')
-rw-r--r--facetracknoir/tracker.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/facetracknoir/tracker.h b/facetracknoir/tracker.h
index 035a88ed..c10ae6fb 100644
--- a/facetracknoir/tracker.h
+++ b/facetracknoir/tracker.h
@@ -135,15 +135,6 @@ class Tracker : public QThread {
Q_OBJECT
private:
- bool useAxisReverse; // Use Axis Reverse
- float YawAngle4ReverseAxis; // Axis Reverse settings
- float Z_Pos4ReverseAxis;
- float Z_PosWhenReverseAxis;
-
-
- volatile bool inhibit[6];
- volatile bool inhibit_zero;
-
FaceTrackNoIR *mainApp;
protected:
@@ -153,17 +144,8 @@ protected:
public:
Tracker( FaceTrackNoIR *parent );
~Tracker();
-
-// void registerHeadPoseCallback();
- bool handleGameCommand ( int command );
void loadSettings(); // Load settings from the INI-file
- //bool isShortKeyPressed( TShortKey *key, BYTE *keystate );
- //bool isMouseKeyPressed( int *key, DIMOUSESTATE *mousestate );
-
- bool getTrackingActive() { return do_tracking && confid; }
- bool getAxisReverse() { return do_axis_reverse; }
-
- bool getConfid() { return confid; }
+ bool getTrackingActive() { return confid; }
void setInvertAxis(Axis axis, bool invert);
@@ -174,12 +156,7 @@ public:
float getRadsFromDegrees ( float degrees ) { return (degrees * 0.017453f); }
volatile bool should_quit;
// following are now protected by hTrackMutex
- volatile bool do_tracking; // Start/stop tracking, using the shortkey
volatile bool do_center; // Center head-position, using the shortkey
- volatile bool do_inhibit; // Inhibit DOF-axis, using the shortkey
- volatile bool do_game_zero; // Set in-game zero, using the shortkey
- volatile bool do_axis_reverse; // Axis reverse, using the shortkey
-
// Flags to start/stop/reset tracking
volatile bool confid; // Tracker data is OK;