12 #ifndef __mitkToFCameraMITKPlayerDevice_h 13 #define __mitkToFCameraMITKPlayerDevice_h 15 #include <MitkToFHardwareExports.h> 20 #include "itkObject.h" 21 #include "itkObjectFactory.h" 22 #include "itkMultiThreader.h" 23 #include "itkFastMutexLock.h" 39 itkFactorylessNewMacro(Self);
46 bool OnConnectCamera()
override;
50 bool DisconnectCamera()
override;
55 void StartCamera()
override;
62 void GetAmplitudes(
float* amplitudeArray,
int& imageSequence)
override;
68 void GetIntensities(
float* intensityArray,
int& imageSequence)
override;
74 virtual void GetRgb(
unsigned char* rgbArray,
int& imageSequence);
80 void GetDistances(
float* distanceArray,
int& imageSequence)
override;
90 void GetAllImages(
float* distanceArray,
float* amplitudeArray,
float* intensityArray,
char* sourceDataArray,
91 int requiredImageSequence,
int& capturedImageSequence,
unsigned char* rgbDataArray=
nullptr)
override;
96 virtual void SetInputFileName(std::string inputFileName);
101 void SetProperty(
const char *propertyKey,
BaseProperty* propertyValue )
override;
111 void UpdateCamera()
override;
115 static ITK_THREAD_RETURN_TYPE Acquire(
void* pInfoStruct);
119 void CleanUpDataBuffers();
123 void AllocateDataBuffers();
130 float** m_DistanceDataBuffer;
131 float** m_AmplitudeDataBuffer;
132 float** m_IntensityDataBuffer;
133 unsigned char** m_RGBDataBuffer;
std::string m_InputFileName
member holding the file name of the current input file
Virtual interface and base class for all Time-of-Flight devices.
DataCollection - Class to facilitate loading/accessing structured data.
Abstract base class for properties.
Device class representing a player for MITK-ToF images.
#define mitkClassMacro(className, SuperClassName)
ToFCameraMITKPlayerController::Pointer m_Controller
member holding the corresponding controller