16 #ifndef __mitkKinectV2Device_h
17 #define __mitkKinectV2Device_h
20 #include <MitkKinectV2Exports.h>
24 #include <itkObject.h>
25 #include <itkObjectFactory.h>
26 #include <itkMultiThreader.h>
27 #include <itkFastMutexLock.h>
29 #include <vtkSmartPointer.h>
30 #include <vtkPolyData.h>
50 itkFactorylessNewMacro(Self)
57 virtual bool OnConnectCamera();
61 virtual bool DisconnectCamera();
67 virtual void StartCamera();
71 virtual void StopCamera();
76 virtual void UpdateCamera();
80 virtual bool IsCameraActive();
87 virtual void GetAmplitudes(
float* amplitudeArray,
int& imageSequence);
93 virtual void GetIntensities(
float* intensityArray,
int& imageSequence);
99 virtual void GetDistances(
float* distanceArray,
int& imageSequence);
109 virtual void GetAllImages(
float* distanceArray,
float* amplitudeArray,
float* intensityArray,
char* sourceDataArray,
110 int requiredImageSequence,
int& capturedImageSequence,
unsigned char* rgbDataArray=NULL);
119 int GetRGBCaptureWidth();
123 int GetRGBCaptureHeight();
134 static ITK_THREAD_RETURN_TYPE Acquire(
void* pInfoStruct);
itk::SmartPointer< Self > Pointer
float ** m_DistanceDataBuffer
buffer holding the last distance images
Virtual interface and base class for all Time-of-Flight devices.
DataCollection - Class to facilitate loading/accessing structured data.
vcl_size_t m_RGBBufferSize
Size of RGB buffer (i.e. memory size of RGB image)
vcl_size_t m_DepthBufferSize
Size of depth buffer (i.e. memory size of depth and infrared image)
KinectV2Controller::Pointer m_Controller
corresponding CameraController
unsigned char ** m_RGBDataBuffer
buffer holding the last RGB image
#define mitkClassMacro(className, SuperClassName)
Interface for all representations of Microsoft Kinect V2 devices. Kinect2Device internally holds an i...
vtkSmartPointer< vtkPolyData > m_PolyData
Surface generated via the Kinect V2 SDK with default/unknown calibration.
float ** m_AmplitudeDataBuffer
buffer holding the last amplitude images