12 #ifndef mitkToFCameraMITKPlayerDevice_h
13 #define mitkToFCameraMITKPlayerDevice_h
15 #include <MitkToFHardwareExports.h>
20 #include "itkObject.h"
21 #include "itkObjectFactory.h"
37 itkFactorylessNewMacro(Self);
44 bool OnConnectCamera()
override;
48 bool DisconnectCamera()
override;
53 void StartCamera()
override;
60 void GetAmplitudes(
float* amplitudeArray,
int& imageSequence)
override;
66 void GetIntensities(
float* intensityArray,
int& imageSequence)
override;
72 virtual void GetRgb(
unsigned char* rgbArray,
int& imageSequence);
78 void GetDistances(
float* distanceArray,
int& imageSequence)
override;
89 void GetAllImages(
float* distanceArray,
float* amplitudeArray,
float* intensityArray,
char* sourceDataArray,
90 int requiredImageSequence,
int& capturedImageSequence,
unsigned char* rgbDataArray=
nullptr)
override;
95 virtual void SetInputFileName(std::string inputFileName);
100 void SetProperty(
const char *propertyKey,
BaseProperty* propertyValue )
override;
110 void UpdateCamera()
override;
118 void CleanUpDataBuffers();
122 void AllocateDataBuffers();
129 float** m_DistanceDataBuffer;
130 float** m_AmplitudeDataBuffer;
131 float** m_IntensityDataBuffer;
132 unsigned char** m_RGBDataBuffer;