Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
12 #ifndef mitkToFImageGrabber_h
13 #define mitkToFImageGrabber_h
15 #include <MitkToFHardwareExports.h>
20 #include <itkObject.h>
21 #include <itkObjectFactory.h>
40 itkFactorylessNewMacro(
Self);
44 void ShowDebugImage(
float* distances);
48 virtual bool ConnectCamera();
52 virtual bool DisconnectCamera();
57 virtual void StartCamera();
61 virtual void StopCamera();
65 virtual bool IsCameraActive();
69 virtual bool IsCameraConnected();
85 int SetModulationFrequency(
int modulationFrequency);
90 int GetModulationFrequency();
96 int SetIntegrationTime(
int integrationTime);
101 int GetIntegrationTime();
106 int GetCaptureWidth();
111 int GetCaptureHeight();
116 int GetPixelNumber();
121 int GetRGBImageWidth();
126 int GetRGBImageHeight();
131 int GetRGBPixelNumber();
134 void SetBoolProperty(
const char* propertyKey,
bool boolValue );
136 void SetIntProperty(
const char* propertyKey,
int intValue );
138 void SetFloatProperty(
const char* propertyKey,
float floatValue );
140 void SetStringProperty(
const char* propertyKey,
const char* stringValue );
142 void SetProperty(
const char *propertyKey,
BaseProperty* propertyValue );
144 bool GetBoolProperty(
const char* propertyKey);
146 int GetIntProperty(
const char* propertyKey);
148 float GetFloatProperty(
const char* propertyKey);
150 const char* GetStringProperty(
const char* propertyKey);
160 void OnToFCameraDeviceModified();
165 virtual void CleanUpImageArrays();
169 virtual void AllocateImageArrays();
174 void InitializeImages();
202 void GenerateData()
override;
float * m_AmplitudeArray
member holding the current amplitude array
Abstract base class for properties.
Superclass of all classes generating Images (instances of class Image) as output.
float * m_IntensityArray
member holding the current intensity array
Image source providing ToF images. Interface for filters provided in ToFProcessing module.
int m_RGBImageHeight
Height of the captured RGB image.
float * m_DistanceArray
member holding the current distance array
ToFCameraDevice::Pointer m_ToFCameraDevice
Device allowing access to ToF image data.
Image source providing ToF images. Interface for filters provided in ToFProcessing module.
Find image slices visible on a given plane.
char * m_SourceDataArray
member holding the current source data array
Superclass of all classes generating some kind of mitk::BaseData.
int m_SourceDataSize
size of the source data in bytes
int m_RGBPixelNumber
Number of pixels in the RGB image.
int m_CaptureWidth
Width of the captured ToF image.
unsigned long m_DeviceObserverTag
tag of the observer for the ToFCameraDevice
unsigned char * m_RgbDataArray
member holding the current rgb data array
int m_CaptureHeight
Height of the captured ToF image.
int m_ImageSequence
counter for currently acquired images
#define mitkClassMacro(className, SuperClassName)
int m_PixelNumber
Number of pixels in the image.
int m_RGBImageWidth
Width of the captured RGB image.
Virtual interface and base class for all Time-of-Flight devices.