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];
float m_MaxRangeFactor
holds the factor to calculate the real distance depends on the modulation frequency ...
int m_MESARes
holds the current result message provided by MESA
DataCollection - Class to facilitate loading/accessing structured data.
int m_NumImg
holds the number of images the camera provided (distance, intensity, etc)
int m_NumberOfBytes
holds the number of bytes contained in the image
#define mitkClassMacroItkParent(className, SuperClassName)
std::string m_InputFileName
input file name used by MESA player classes
unsigned int m_CaptureHeight
holds the height of the image in pixel
Virtual interface and base class for all MESA Time-of-Flight devices. Wraps MESA API provided in libr...
bool m_ConnectionCheck
flag showing whether the camera is connected (true) or not (false)
unsigned int m_CaptureWidth
holds the width of the image in pixel
int m_PixelNumber
holds the number of pixels contained in the image