16 #ifndef __mitkToFCameraPMDRawDataDevice_h
17 #define __mitkToFCameraPMDRawDataDevice_h
19 #include <MitkPMDExports.h>
40 itkFactorylessNewMacro(Self)
43 itkSetMacro(ChannelSize,
int);
44 itkGetMacro(ChannelSize,
int);
48 virtual bool OnConnectCamera();
52 virtual bool DisconnectCamera();
57 virtual void StartCamera();
61 virtual void StopCamera();
65 virtual void UpdateCamera();
69 virtual bool IsCameraActive();
76 virtual void GetAmplitudes(
float* amplitudeArray,
int& imageSequence);
82 virtual void GetIntensities(
float* intensityArray,
int& imageSequence);
88 virtual void GetDistances(
float* distanceArray,
int& imageSequence);
98 virtual void GetAllImages(
float* distanceArray,
float* amplitudeArray,
float* intensityArray,
char* sourceDataArray,
99 int requiredImageSequence,
int& capturedImageSequence,
unsigned char* rgbDataArray=NULL);
110 virtual void SetProperty(
const char *propertyKey,
BaseProperty* propertyValue );
121 virtual void AllocateSourceData();
126 virtual void CleanUpSourceData();
131 virtual void AllocatePixelArrays();
135 virtual void CleanupPixelArrays();
139 static ITK_THREAD_RETURN_TYPE Acquire(
void* pInfoStruct);
154 void XYAxisFlipImage(
float* imageData,
float* &flippedData,
int xAxis,
int yAxis,
int dimension = 1 );
itk::SmartPointer< Self > Pointer
char * m_SourceDataArray
array holding the current PMD source data
char ** m_SourceDataBuffer
buffer holding the last acquired images
Virtual interface and base class for all Time-of-Flight devices.
unsigned int m_OriginControllerHeight
holds the original controller height
DataCollection - Class to facilitate loading/accessing structured data.
Interface for all representations of PMD ToF devices. ToFCameraPMDDevice internally holds an instance...
Abstract base class for properties.
virtual void GetChannelSourceData(short *, vtkShortArray *)
#define mitkClassMacro(className, SuperClassName)
ThreadedToFRawDataReconstruction::Pointer m_RawDataSource
ToFCameraPMDController::Pointer m_Controller
corresponding CameraController
short * m_ShortSourceData
array holding the current PMD raw data
unsigned int m_OriginControllerWidth
holds the original controller width