16 #ifndef __mitkToFCameraMITKPlayerDevice_h
17 #define __mitkToFCameraMITKPlayerDevice_h
19 #include <MitkToFHardwareExports.h>
24 #include "itkObject.h"
25 #include "itkObjectFactory.h"
26 #include "itkMultiThreader.h"
27 #include "itkFastMutexLock.h"
43 itkFactorylessNewMacro(Self)
49 virtual bool OnConnectCamera()
override;
53 virtual bool DisconnectCamera()
override;
58 virtual void StartCamera()
override;
65 virtual void GetAmplitudes(
float* amplitudeArray,
int& imageSequence)
override;
71 virtual void GetIntensities(
float* intensityArray,
int& imageSequence)
override;
77 virtual void GetRgb(
unsigned char* rgbArray,
int& imageSequence);
83 virtual void GetDistances(
float* distanceArray,
int& imageSequence)
override;
93 virtual void GetAllImages(
float* distanceArray,
float* amplitudeArray,
float* intensityArray,
char* sourceDataArray,
94 int requiredImageSequence,
int& capturedImageSequence,
unsigned char* rgbDataArray=NULL)
override;
99 virtual void SetInputFileName(std::string inputFileName);
104 virtual void SetProperty(
const char *propertyKey,
BaseProperty* propertyValue )
override;
114 virtual void UpdateCamera()
override;
118 static ITK_THREAD_RETURN_TYPE Acquire(
void* pInfoStruct);
122 void CleanUpDataBuffers();
126 void AllocateDataBuffers();
133 float** m_DistanceDataBuffer;
134 float** m_AmplitudeDataBuffer;
135 float** m_IntensityDataBuffer;
136 unsigned char** m_RGBDataBuffer;
itk::SmartPointer< Self > Pointer
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