Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
12 #ifndef mitkToFCameraMESAController_h
13 #define mitkToFCameraMESAController_h
15 #include <MitkMESASR4000ModuleExports.h>
18 #include "itkObject.h"
19 #include "itkObjectFactory.h"
39 virtual bool OpenCameraConnection() = 0;
43 virtual bool CloseCameraConnection();
48 virtual bool GetAmplitudes(
float* amplitudeArray);
53 virtual bool GetIntensities(
float* intensityArray);
58 virtual bool GetDistances(
float* distanceArray);
62 virtual bool UpdateCamera();
67 virtual int GetModulationFrequency() = 0;
75 virtual int SetModulationFrequency(
unsigned int modulationFrequency) = 0;
80 virtual int GetIntegrationTime() = 0;
88 virtual int SetIntegrationTime(
unsigned int integrationTime) = 0;
92 virtual void SetInputFileName(std::string inputFileName);
97 itkGetMacro(CaptureWidth,
unsigned int);
102 itkGetMacro(CaptureHeight,
unsigned int);
115 bool ErrorText(
int error);
117 char m_MESAError[128];
int m_NumberOfBytes
holds the number of bytes contained in the image
int m_PixelNumber
holds the number of pixels contained in the image
unsigned int m_CaptureHeight
holds the height of the image in pixel
bool m_ConnectionCheck
flag showing whether the camera is connected (true) or not (false)
int m_NumImg
holds the number of images the camera provided (distance, intensity, etc)
Virtual interface and base class for all MESA Time-of-Flight devices. Wraps MESA API provided in libr...
#define mitkClassMacroItkParent(className, SuperClassName)
Find image slices visible on a given plane.
unsigned int m_CaptureWidth
holds the width of the image in pixel
std::string m_InputFileName
input file name used by MESA player classes
int m_MESARes
holds the current result message provided by MESA
float m_MaxRangeFactor
holds the factor to calculate the real distance depends on the modulation frequency