diff --git a/Modules/ToFHardware/mitkKinectController.cpp b/Modules/ToFHardware/mitkKinectController.cpp index 45ddf84379..dd813fe850 100644 --- a/Modules/ToFHardware/mitkKinectController.cpp +++ b/Modules/ToFHardware/mitkKinectController.cpp @@ -1,193 +1,203 @@ /*========================================================================= Program: Medical Imaging & Interaction Toolkit Module: $RCSfile$ Language: C++ Date: $Date: 2010-05-27 16:06:53 +0200 (Do, 27 Mai 2010) $ Version: $Revision: $ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. See MITKCopyright.txt or http://www.mitk.org/copyright.html for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =========================================================================*/ #include "mitkKinectController.h" namespace mitk { KinectController::KinectController(): m_Context(NULL), m_DepthGenerator(NULL), m_ImageGenerator(NULL), m_ConnectionCheck(false), m_CaptureWidth(640), m_CaptureHeight(480) { } KinectController::~KinectController() { } bool KinectController::OpenCameraConnection() { if (!m_ConnectionCheck) { // Initialize the OpenNI status - m_ConnectionCheck = !ErrorText(m_Context.InitFromXmlFile("C:/Temp/SamplesConfig.xml")); + MITK_INFO<<"Before initialization"<