16 #ifndef __mitkKinectDevice_h
17 #define __mitkKinectDevice_h
19 #include <MitkKinectExports.h>
24 #include "itkObject.h"
25 #include "itkObjectFactory.h"
26 #include "itkMultiThreader.h"
27 #include "itkFastMutexLock.h"
48 itkFactorylessNewMacro(Self)
55 virtual bool OnConnectCamera();
59 virtual bool DisconnectCamera();
65 virtual void StartCamera();
69 virtual void StopCamera();
74 virtual void UpdateCamera();
78 virtual bool IsCameraActive();
85 virtual void GetAmplitudes(
float* amplitudeArray,
int& imageSequence);
91 virtual void GetIntensities(
float* intensityArray,
int& imageSequence);
97 virtual void GetDistances(
float* distanceArray,
int& imageSequence);
104 virtual void GetAllImages(
float* distanceArray,
float* amplitudeArray,
float* intensityArray,
char* sourceDataArray,
105 int requiredImageSequence,
int& capturedImageSequence,
unsigned char* rgbDataArray=NULL);
114 virtual void SetProperty(
const char *propertyKey,
BaseProperty* propertyValue );
118 int GetRGBCaptureWidth();
122 int GetRGBCaptureHeight();
133 static ITK_THREAD_RETURN_TYPE Acquire(
void* pInfoStruct);
itk::SmartPointer< Self > Pointer
float ** m_DistanceDataBuffer
buffer holding the last distance images
float ** m_AmplitudeDataBuffer
buffer holding the last infra-red (IR) images
Virtual interface and base class for all Time-of-Flight devices.
DataCollection - Class to facilitate loading/accessing structured data.
Interface for all representations of Kinect devices. KinectDevice internally holds an instance of Kin...
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)
KinectController::Pointer m_Controller
corresponding CameraController
unsigned char ** m_RGBDataBuffer
buffer holding the last RGB image