16 #ifndef __mitkToFCameraMESAController_h
17 #define __mitkToFCameraMESAController_h
19 #include <MitkMESASR4000ModuleExports.h>
22 #include "itkObject.h"
23 #include "itkObjectFactory.h"
43 virtual bool OpenCameraConnection() = 0;
47 virtual bool CloseCameraConnection();
52 virtual bool GetAmplitudes(
float* amplitudeArray);
57 virtual bool GetIntensities(
float* intensityArray);
62 virtual bool GetDistances(
float* distanceArray);
66 virtual bool UpdateCamera();
71 virtual int GetModulationFrequency() = 0;
79 virtual int SetModulationFrequency(
unsigned int modulationFrequency) = 0;
84 virtual int GetIntegrationTime() = 0;
92 virtual int SetIntegrationTime(
unsigned int integrationTime) = 0;
96 virtual void SetInputFileName(std::string inputFileName);
101 itkGetMacro(CaptureWidth,
unsigned int);
106 itkGetMacro(CaptureHeight,
unsigned int);
119 bool ErrorText(
int error);
121 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