16 #ifndef __mitkKinectV2Controller_h
17 #define __mitkKinectV2Controller_h
19 #include <MitkKinectV2Exports.h>
23 #include <itkObject.h>
24 #include <itkObjectFactory.h>
26 #include <vtkSmartPointer.h>
27 #include <vtkPolyData.h>
42 itkFactorylessNewMacro(Self)
44 int GetRGBCaptureWidth()
const;
45 int GetRGBCaptureHeight()
const;
46 int GetDepthCaptureWidth()
const;
47 int GetDepthCaptureHeight()
const;
54 bool InitializeMultiFrameReader();
60 virtual bool OpenCameraConnection();
64 virtual bool CloseCameraConnection();
69 virtual bool UpdateCamera();
74 void GetDistances(
float* distances);
75 void GetAmplitudes(
float* amplitudes);
76 void GetIntensities(
float* intensities);
78 vtkSmartPointer<vtkPolyData> GetVtkPolyData();
80 void SetGenerateTriangularMesh(
bool flag);
81 void SetTriangulationThreshold(
double triangulationThreshold);
87 void GetRgb(
unsigned char* rgb);
93 void GetAllData(
float* distances,
float* amplitudes,
unsigned char* rgb);
102 class KinectV2ControllerPrivate;
103 KinectV2ControllerPrivate *d;
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacroItkParent(className, SuperClassName)
Interface to the Kinect 2 camera. Currently, the Microsoft SDK is used.