From d422aa8c965218408d4a7c2a1d53b35bb2e9533b Mon Sep 17 00:00:00 2001 From: victor martins Date: Thu, 15 Mar 2012 13:40:58 +0100 Subject: [PATCH] ... --- src/VOpenNIDevice.cpp | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/VOpenNIDevice.cpp b/src/VOpenNIDevice.cpp index 377a7d7..8882878 100644 --- a/src/VOpenNIDevice.cpp +++ b/src/VOpenNIDevice.cpp @@ -240,7 +240,7 @@ namespace V ss << "Pose detection in progress: '" << strPose << "' on User: " << nId << std::endl; DEBUG_MESSAGE( ss.str().c_str() ); - OpenNIDevice* device = static_cast( pCookie ); + //OpenNIDevice* device = static_cast( pCookie ); } @@ -250,8 +250,7 @@ namespace V std::stringstream ss; ss << "Pose detection end. User: '" << strPose << "'. Id: " << nId << std::endl; DEBUG_MESSAGE( ss.str().c_str() ); - - OpenNIDeviceManager::Instance().setText( ss.str() ); + //OpenNIDeviceManager::Instance().setText( ss.str() ); } @@ -261,19 +260,17 @@ namespace V std::stringstream ss; ss << "Calibration started for user " << nId << std::endl; DEBUG_MESSAGE( ss.str().c_str() ); - - OpenNIDeviceManager::Instance().setText( ss.str() ); + //OpenNIDeviceManager::Instance().setText( ss.str() ); } // Callback: Started calibration void XN_CALLBACK_TYPE OpenNIDevice::Callback_CalibrationInProgress( xn::SkeletonCapability& capability, XnUserID nId, XnCalibrationStatus calibrationError, void* pCookie ) { - std::stringstream ss; - ss << "Calibration in progress for user " << nId << std::endl; - DEBUG_MESSAGE( ss.str().c_str() ); - - OpenNIDeviceManager::Instance().setText( ss.str() ); + //std::stringstream ss; + //ss << "Calibration in progress for user " << nId << std::endl; + //DEBUG_MESSAGE( ss.str().c_str() ); + //OpenNIDeviceManager::Instance().setText( ss.str() ); }