Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
12 #ifndef mitkToFCameraPMDController_h
13 #define mitkToFCameraPMDController_h
15 #include <MitkPMDExports.h>
19 #include "itkObject.h"
20 #include "itkObjectFactory.h"
41 virtual bool OpenCameraConnection() = 0;
45 virtual bool CloseCameraConnection();
50 virtual bool GetAmplitudes(
float* amplitudeArray);
56 virtual bool GetAmplitudes(
char* sourceData,
float* amplitudeArray);
61 virtual bool GetIntensities(
float* intensityArray);
67 virtual bool GetIntensities(
char* sourceData,
float* intensityArray);
72 virtual bool GetDistances(
float* distanceArray);
78 virtual bool GetDistances(
char* sourceData,
float* distanceArray);
83 virtual bool GetSourceData(
char* sourceDataArray);
88 bool GetShortSourceData(
short* sourceData);
94 virtual bool UpdateCamera();
99 virtual int GetModulationFrequency();
107 virtual int SetModulationFrequency(
unsigned int modulationFrequency);
112 virtual int GetIntegrationTime();
120 virtual int SetIntegrationTime(
unsigned int integrationTime);
124 virtual void SetInputFileName(std::string inputFileName);
129 itkGetMacro(CaptureWidth,
unsigned int);
134 itkGetMacro(CaptureHeight,
unsigned int);
139 itkGetMacro(InternalCaptureWidth,
unsigned int);
144 itkGetMacro(InternalCaptureHeight,
unsigned int);
146 itkGetMacro(SourceDataStructSize,
int);
159 bool ErrorText(
int error);
167 virtual void TransformCameraOutput(
float* in,
float* out,
bool isDist)=0;
169 char m_PMDError[128];
char * m_ProcParam
holds processing parameter(s)
int m_PixelNumber
holds the number of pixels contained in the image
int m_SourceDataSize
size of the original PMD source data
unsigned int m_InternalCaptureWidth
holds the width of the image in pixel as it is requested by the user (cf. TransformCameraOutput()) De...
int m_SourceDataStructSize
size of the PMD source data struct and the PMD source data
std::string m_InputFileName
input file name used by PMD player classes
int m_PMDRes
holds the current result message provided by PMD
unsigned int m_CaptureHeight
holds the height of the image in pixel as it is originally acquired by the camera
#define mitkClassMacroItkParent(className, SuperClassName)
Find image slices visible on a given plane.
unsigned int m_CaptureWidth
holds the width of the image in pixel as it is originally acquired by the camera
char * m_SourceParam
holds source parameter(s)
bool m_ConnectionCheck
flag showing whether the camera is connected (true) or not (false)
int m_NumberOfBytes
holds the number of bytes contained in the image
Virtual interface and base class for all PMD Time-of-Flight devices. Wraps PMD API provided in PMDSDK...
char * m_SourcePlugin
holds name of source plugin to be loaded (e.g. camcube3.W64.pap for CamCube 3.0 on Win64 platform)
unsigned int m_InternalCaptureHeight
holds the height of the image in pixel as is it requested by the user (cf. TransformCameraOutput()) D...
char * m_ProcPlugin
holds name of processing plugin to be loaded (e.g. camcubeproc.W64.pap for CamCube 3....