Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
12 #ifndef mitkToFCameraPMDRawDataDevice_h
13 #define mitkToFCameraPMDRawDataDevice_h
15 #include <MitkPMDExports.h>
36 itkFactorylessNewMacro(Self);
40 itkSetMacro(ChannelSize,
int);
41 itkGetMacro(ChannelSize,
int);
45 virtual bool OnConnectCamera();
49 virtual bool DisconnectCamera();
54 virtual void StartCamera();
58 virtual void StopCamera();
62 virtual void UpdateCamera();
66 virtual bool IsCameraActive();
73 virtual void GetAmplitudes(
float* amplitudeArray,
int& imageSequence);
79 virtual void GetIntensities(
float* intensityArray,
int& imageSequence);
85 virtual void GetDistances(
float* distanceArray,
int& imageSequence);
96 virtual void GetAllImages(
float* distanceArray,
float* amplitudeArray,
float* intensityArray,
char* sourceDataArray,
97 int requiredImageSequence,
int& capturedImageSequence,
unsigned char* rgbDataArray=
nullptr);
101 ToFCameraPMDController::Pointer GetController();
108 virtual void SetProperty(
const char *propertyKey,
BaseProperty* propertyValue );
119 virtual void AllocateSourceData();
124 virtual void CleanUpSourceData();
129 virtual void AllocatePixelArrays();
133 virtual void CleanupPixelArrays();
137 static ITK_THREAD_RETURN_TYPE Acquire(
void* pInfoStruct);
152 void XYAxisFlipImage(
float* imageData,
float* &flippedData,
int xAxis,
int yAxis,
int dimension = 1 );
unsigned int m_OriginControllerWidth
holds the original controller width
char ** m_SourceDataBuffer
buffer holding the last acquired images
Abstract base class for properties.
unsigned int m_OriginControllerHeight
holds the original controller height
ThreadedToFRawDataReconstruction::Pointer m_RawDataSource
DataCollection - Class to facilitate loading/accessing structured data.
short * m_ShortSourceData
array holding the current PMD raw data
Interface for all representations of PMD ToF devices. ToFCameraPMDDevice internally holds an instance...
char * m_SourceDataArray
array holding the current PMD source data
ToFCameraPMDController::Pointer m_Controller
corresponding CameraController
#define mitkClassMacro(className, SuperClassName)
Virtual interface and base class for all Time-of-Flight devices.
virtual void GetChannelSourceData(short *, vtkShortArray *)