12 #ifndef mitkKinectV2Controller_h
13 #define mitkKinectV2Controller_h
15 #include <MitkKinectV2Exports.h>
19 #include <itkObject.h>
20 #include <itkObjectFactory.h>
22 #include <vtkSmartPointer.h>
23 #include <vtkPolyData.h>
38 itkFactorylessNewMacro(Self);
41 int GetRGBCaptureWidth()
const;
42 int GetRGBCaptureHeight()
const;
43 int GetDepthCaptureWidth()
const;
44 int GetDepthCaptureHeight()
const;
51 bool InitializeMultiFrameReader();
57 virtual bool OpenCameraConnection();
61 virtual bool CloseCameraConnection();
66 virtual bool UpdateCamera();
71 void GetDistances(
float* distances);
72 void GetAmplitudes(
float* amplitudes);
73 void GetIntensities(
float* intensities);
77 void SetGenerateTriangularMesh(
bool flag);
78 void SetTriangulationThreshold(
double triangulationThreshold);
84 void GetRgb(
unsigned char* rgb);
91 void GetAllData(
float* distances,
float* amplitudes,
unsigned char* rgb);
100 class KinectV2ControllerPrivate;
101 KinectV2ControllerPrivate *d;