diff options
author | Stéphane Lenclud <github@lenclud.com> | 2019-02-07 12:41:00 +0100 |
---|---|---|
committer | Stéphane Lenclud <github@lenclud.com> | 2019-02-07 13:24:14 +0100 |
commit | 26ad3d2b154f9161cf577060f9b161e3312b5e76 (patch) | |
tree | 2caea6565fe3c2b070ab5260380664246a4d10fb /tracker-kinect-face | |
parent | 0011f928da90b6b7116f3c633a0a0cb855d75024 (diff) |
Kinect: Removing unused coordinate mapper.
Diffstat (limited to 'tracker-kinect-face')
-rw-r--r-- | tracker-kinect-face/kinect_face_tracker.cpp | 9 | ||||
-rw-r--r-- | tracker-kinect-face/kinect_face_tracker.h | 3 |
2 files changed, 0 insertions, 12 deletions
diff --git a/tracker-kinect-face/kinect_face_tracker.cpp b/tracker-kinect-face/kinect_face_tracker.cpp index 9f4f133b..104ecda8 100644 --- a/tracker-kinect-face/kinect_face_tracker.cpp +++ b/tracker-kinect-face/kinect_face_tracker.cpp @@ -111,9 +111,6 @@ KinectFaceTracker::~KinectFaceTracker() // done with color frame reader SafeRelease(iColorFrameReader); - // done with coordinate mapper - SafeRelease(iCoordinateMapper); - // close the Kinect Sensor if (iKinectSensor) { @@ -248,12 +245,6 @@ HRESULT KinectFaceTracker::InitializeDefaultSensor() hr = iKinectSensor->Open(); } - // TODO: check if we still need that guy - if (SUCCEEDED(hr)) - { - hr = iKinectSensor->get_CoordinateMapper(&iCoordinateMapper); - } - // Create color frame reader if (SUCCEEDED(hr)) { diff --git a/tracker-kinect-face/kinect_face_tracker.h b/tracker-kinect-face/kinect_face_tracker.h index a6d4e89b..6273cba1 100644 --- a/tracker-kinect-face/kinect_face_tracker.h +++ b/tracker-kinect-face/kinect_face_tracker.h @@ -81,9 +81,6 @@ private: // Current Kinect IKinectSensor* iKinectSensor = nullptr; - // Coordinate mapper - ICoordinateMapper* iCoordinateMapper = nullptr; - // Color reader IColorFrameReader* iColorFrameReader = nullptr; |