summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-29 07:40:48 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-10-29 07:40:48 +0100
commitd1d72f35a4b6371244674e06f4dd3fc3fc2ea2aa (patch)
treed840379574b7f124fb719de4fb69e98c1e3d8a79
parentbcfa72d0d2a3355e152267b5a17fa593df93e9c0 (diff)
remove rewritten code copyright notice
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-rw-r--r--facetracknoir/tracker.cpp45
1 files changed, 13 insertions, 32 deletions
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp
index a91d9f58..c1b7b3af 100644
--- a/facetracknoir/tracker.cpp
+++ b/facetracknoir/tracker.cpp
@@ -1,26 +1,15 @@
-/********************************************************************************
-* FaceTrackNoIR This program is a private project of the some enthusiastic *
-* gamers from Holland, who don't like to pay much for *
-* head-tracking. *
-* *
-* Copyright (C) 2012 Wim Vriend (Developing) *
-* Ron Hendriks (Researching and Testing) *
-* *
-* Homepage: http://facetracknoir.sourceforge.net/home/default.htm *
-* *
-* This program is free software; you can redistribute it and/or modify it *
-* under the terms of the GNU General Public License as published by the *
-* Free Software Foundation; either version 3 of the License, or (at your *
-* option) any later version. *
-* *
-* This program is distributed in the hope that it will be useful, but *
-* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY *
-* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for *
-* more details. *
-* *
-* You should have received a copy of the GNU General Public License along *
-* with this program; if not, see <http://www.gnu.org/licenses/>. *
-*********************************************************************************/
+/* Copyright (c) 2012-2013 Stanislaw Halik <sthalik@misaki.pl>
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ */
+
+/*
+ * this file appeared originally in facetracknoir, was rewritten completely
+ * following opentrack fork.
+ */
+
#include "tracker.h"
#include "facetracknoir.h"
#include <opencv2/core/core.hpp>
@@ -36,9 +25,7 @@ Tracker::Tracker( FaceTrackNoIR *parent ) :
enabled(true),
compensate(true)
{
- // Retieve the pointer to the parent
mainApp = parent;
- // Load the settings from the INI-file
}
Tracker::~Tracker()
@@ -68,7 +55,7 @@ void Tracker::run() {
bool bTracker2Confid = false;
double newpose[6] = {0};
- double last_post_filter[6];
+ double last_post_filter[6] ;
#if defined(_WIN32)
(void) timeBeginPeriod(1);
@@ -181,9 +168,6 @@ void Tracker::run() {
}
}
-//
-// Get the raw headpose, so it can be displayed.
-//
void Tracker::getHeadPose( double *data ) {
QMutexLocker foo(&mtx);
for (int i = 0; i < 6; i++)
@@ -192,9 +176,6 @@ void Tracker::getHeadPose( double *data ) {
}
}
-//
-// Get the output-headpose, so it can be displayed.
-//
void Tracker::getOutputHeadPose( double *data ) {
QMutexLocker foo(&mtx);
for (int i = 0; i < 6; i++)