summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/tracker.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2012-11-19 20:35:21 +0000
committerWim Vriend <facetracknoir@gmail.com>2012-11-19 20:35:21 +0000
commit4eb3dd795deb3fb605524e72f67fbdd8e161f4e1 (patch)
tree983466c3b4bf34ef1582fb3dfe6e661e9dc4a21b /FaceTrackNoIR/tracker.h
parentb3d3a1f1d4f9739a506990edefcd2d81502368d4 (diff)
Changed defaults for AltPitch
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@193 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/tracker.h')
-rw-r--r--FaceTrackNoIR/tracker.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/FaceTrackNoIR/tracker.h b/FaceTrackNoIR/tracker.h
index e6d6a14d..fa5bf7ca 100644
--- a/FaceTrackNoIR/tracker.h
+++ b/FaceTrackNoIR/tracker.h
@@ -94,15 +94,15 @@ class FaceTrackNoIR; // pre-define parent-class to avoid circular includes
class THeadPoseDOF {
public:
- THeadPoseDOF(QString primary, QString secondary = "", int maxInput = 50, int maxOutput = 180) {
+ THeadPoseDOF(QString primary, QString secondary = "", int maxInput1 = 50, int maxOutput1 = 180, int maxInput2 = 50, int maxOutput2 = 90) {
QSettings settings("Abbequerque Inc.", "FaceTrackNoIR"); // Registry settings (in HK_USER)
QString currentFile = settings.value ( "SettingsFile", QCoreApplication::applicationDirPath() + "/Settings/default.ini" ).toString();
QSettings iniFile( currentFile, QSettings::IniFormat ); // Application settings (in INI-file)
- curvePtr = new FunctionConfig(primary, maxInput, maxOutput); // Create the Function-config for input-output translation
+ curvePtr = new FunctionConfig(primary, maxInput1, maxOutput1); // Create the Function-config for input-output translation
curvePtr->loadSettings(iniFile); // Load the settings from the INI-file
if (secondary != "") {
- curvePtrAlt = new FunctionConfig(secondary, maxInput, maxOutput);
+ curvePtrAlt = new FunctionConfig(secondary, maxInput2, maxOutput2);
curvePtrAlt->loadSettings(iniFile);
}