Medical Imaging Interaction Toolkit
2022.10.99-184f3f8c
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
12 #ifndef mitkToFCameraMITKPlayerDevice_h
13 #define mitkToFCameraMITKPlayerDevice_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;
#define MITKTOFHARDWARE_EXPORT
Device class representing a player for MITK-ToF images.
Abstract base class for properties.
std::string m_InputFileName
member holding the file name of the current input file
ToFCameraMITKPlayerController::Pointer m_Controller
member holding the corresponding controller
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Virtual interface and base class for all Time-of-Flight devices.