summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/camera.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-20 13:25:33 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-20 13:25:33 +0200
commit0c1b4510b3f7a744cc4cad94e0d4dde45925269d (patch)
tree3fe5d5a56ee4d611c4876059ab7c1eeb8f68f5a4 /ftnoir_tracker_pt/camera.cpp
parentfa58baa2bb84fe51a6b835c72a92a7a9050cbf73 (diff)
cleanup #ifdefs
We're the only maintainer of the PT tracker now, so don't clutter the file so much.
Diffstat (limited to 'ftnoir_tracker_pt/camera.cpp')
-rw-r--r--ftnoir_tracker_pt/camera.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/ftnoir_tracker_pt/camera.cpp b/ftnoir_tracker_pt/camera.cpp
index 7c4af38f..2989c1fe 100644
--- a/ftnoir_tracker_pt/camera.cpp
+++ b/ftnoir_tracker_pt/camera.cpp
@@ -12,23 +12,6 @@
using namespace cv;
-#ifdef OPENTRACK_API
-#else
-// ----------------------------------------------------------------------------
-void get_camera_device_names(std::vector<std::string>& device_names)
-{
- videoInput VI;
- VI.listDevices();
- std::string device_name;
- for(int index = 0; ; ++index) {
- device_name = VI.getDeviceName(index);
- if (device_name.empty()) break;
- device_names.push_back(device_name);
- }
-}
-#endif
-
-// ----------------------------------------------------------------------------
void Camera::set_device_index(int index)
{
if (desired_index != index)