Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
12 #ifndef mitkKinectDevice_h
13 #define mitkKinectDevice_h
15 #include <MitkKinectExports.h>
20 #include "itkObject.h"
21 #include "itkObjectFactory.h"
22 #include "itkMultiThreader.h"
23 #include "itkFastMutexLock.h"
44 itkFactorylessNewMacro(Self);
52 virtual bool OnConnectCamera();
56 virtual bool DisconnectCamera();
62 virtual void StartCamera();
66 virtual void StopCamera();
71 virtual void UpdateCamera();
75 virtual bool IsCameraActive();
82 virtual void GetAmplitudes(
float* amplitudeArray,
int& imageSequence);
88 virtual void GetIntensities(
float* intensityArray,
int& imageSequence);
94 virtual void GetDistances(
float* distanceArray,
int& imageSequence);
105 virtual void GetAllImages(
float* distanceArray,
float* amplitudeArray,
float* intensityArray,
char* sourceDataArray,
106 int requiredImageSequence,
int& capturedImageSequence,
unsigned char* rgbDataArray=
nullptr);
110 KinectController::Pointer GetController();
115 virtual void SetProperty(
const char *propertyKey,
BaseProperty* propertyValue );
119 int GetRGBCaptureWidth();
123 int GetRGBCaptureHeight();
134 static ITK_THREAD_RETURN_TYPE Acquire(
void* pInfoStruct);
KinectController::Pointer m_Controller
corresponding CameraController
Abstract base class for properties.
Interface for all representations of Kinect devices. KinectDevice internally holds an instance of Kin...
Find image slices visible on a given plane.
unsigned char ** m_RGBDataBuffer
buffer holding the last RGB image
float ** m_DistanceDataBuffer
buffer holding the last distance images
#define mitkClassMacro(className, SuperClassName)
float ** m_AmplitudeDataBuffer
buffer holding the last infra-red (IR) images
Virtual interface and base class for all Time-of-Flight devices.