Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
12 #ifndef mitkToFCameraMITKPlayerController_h
13 #define mitkToFCameraMITKPlayerController_h
15 #include <MitkToFHardwareExports.h>
20 #include "itkObject.h"
21 #include "itkObjectFactory.h"
37 itkFactorylessNewMacro(Self);
45 virtual bool OpenCameraConnection();
50 virtual bool CloseCameraConnection();
55 virtual void GetAmplitudes(
float* amplitudeArray);
59 virtual void GetIntensities(
float* intensityArray);
63 virtual void GetDistances(
float* distanceArray);
67 virtual void GetRgb(
unsigned char* rgbArray);
71 virtual void UpdateCamera();
73 virtual void SetInputFileName(std::string inputFileName);
75 itkGetMacro(PixelNumber,
int);
76 itkGetMacro(RGBPixelNumber,
int);
77 itkGetMacro(CaptureWidth,
int);
78 itkGetMacro(CaptureHeight,
int);
79 itkGetMacro(RGBCaptureWidth,
int);
80 itkGetMacro(RGBCaptureHeight,
int);
81 itkGetMacro( DistanceImageFileName, std::string );
82 itkGetMacro( AmplitudeImageFileName, std::string );
83 itkGetMacro( IntensityImageFileName, std::string );
84 itkGetMacro( RGBImageFileName, std::string );
86 itkSetMacro( DistanceImageFileName, std::string );
87 itkSetMacro( AmplitudeImageFileName, std::string );
88 itkSetMacro( IntensityImageFileName, std::string );
89 itkSetMacro( RGBImageFileName, std::string );
int m_CaptureWidth
holds the width of the image
unsigned char * m_RGBArray
member holding the current rgb frame
FILE * m_RGBInfile
file holding the rgb data
int m_RGBCaptureHeight
same for RGB image which can be different then depth etc.
FILE * m_AmplitudeInfile
file holding the amplitude data
Image::Pointer m_AmplitudeImage
std::string m_RGBImageFileName
file name of the rgb image to be played
Controller for playing ToF images saved in NRRD format.
Image::Pointer m_IntensityImage
Image::Pointer m_DistanceImage
int m_NumberOfBytes
holds the number of bytes contained in the image
FILE * m_IntensityInfile
file holding the intensity data
#define mitkClassMacroItkParent(className, SuperClassName)
int m_RGBPixelNumber
same for RGB image
DataCollection - Class to facilitate loading/accessing structured data.
bool m_ConnectionCheck
flag showing whether the camera is connected (true) or not (false)
std::string m_InputFileName
float * m_AmplitudeArray
member holding the current amplitude frame
int m_CaptureHeight
holds the height of the image
ToFImageType m_ToFImageType
type of the ToF image to be played: 3D Volume (ToFImageType3D), temporal 2D image stack (ToFImageType...
std::string m_DistanceImageFileName
file name of the distance image to be played
int m_RGBCaptureWidth
same for RGB image which can be different then depth etc.
FILE * m_DistanceInfile
file holding the distance data
int m_NumberOfRGBBytes
same for RGB image
std::string m_IntensityImageFileName
file name of the intensity image to be played
std::vector< bool > m_ImageStatus
std::string m_AmplitudeImageFileName
file name of the amplitude image to be played
int m_PixelNumber
holds the number of pixels contained in the image
float * m_IntensityArray
member holding the current intensity frame
float * m_DistanceArray
member holding the current distance frame
Image::Pointer m_RGBImage