Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Virtual interface and base class for all Time-of-Flight devices. More...
#include <mitkToFCameraDevice.h>
Public Member Functions | |
mitkClassMacroItkParent (ToFCameraDevice, itk::Object) | |
virtual bool | OnConnectCamera ()=0 |
Opens a connection to the ToF camera. Has to be implemented in the specialized inherited classes. More... | |
virtual bool | ConnectCamera () |
ConnectCamera Internally calls OnConnectCamera() of the respective device implementation. More... | |
virtual bool | DisconnectCamera ()=0 |
closes the connection to the camera More... | |
virtual void | StartCamera ()=0 |
starts the continuous updating of the camera. A separate thread updates the source data, the main thread processes the source data and creates images and coordinates More... | |
virtual void | StopCamera () |
stops the continuous updating of the camera More... | |
virtual bool | IsCameraActive () |
returns true if the camera is connected and started More... | |
virtual bool | IsCameraConnected () |
returns true if the camera is connected More... | |
virtual void | UpdateCamera ()=0 |
updates the camera for image acquisition More... | |
virtual void | GetAmplitudes (float *amplitudeArray, int &imageSequence)=0 |
gets the amplitude data from the ToF camera as the strength of the active illumination of every pixel These values can be used to determine the quality of the distance values. The higher the amplitude value, the higher the accuracy of the according distance value More... | |
virtual void | GetIntensities (float *intensityArray, int &imageSequence)=0 |
gets the intensity data from the ToF camera as a greyscale image More... | |
virtual void | GetDistances (float *distanceArray, int &imageSequence)=0 |
gets the distance data from the ToF camera measuring the distance between the camera and the different object points in millimeters More... | |
virtual void | GetAllImages (float *distanceArray, float *amplitudeArray, float *intensityArray, char *sourceDataArray, int requiredImageSequence, int &capturedImageSequence, unsigned char *rgbDataArray=NULL)=0 |
gets the 3 images (distance, amplitude, intensity) from the ToF camera. Caution! The user is responsible for allocating and deleting the images. More... | |
virtual int | GetCaptureWidth () |
get the currently set capture width More... | |
virtual int | GetCaptureHeight () |
get the currently set capture height More... | |
virtual int | GetSourceDataSize () |
get the currently set source data size More... | |
virtual int | GetBufferSize () |
get the currently set buffer size More... | |
virtual int | GetMaxBufferSize () |
get the currently set max buffer size More... | |
void | SetBoolProperty (const char *propertyKey, bool boolValue) |
set a bool property in the property list More... | |
void | SetIntProperty (const char *propertyKey, int intValue) |
set an int property in the property list More... | |
void | SetFloatProperty (const char *propertyKey, float floatValue) |
set a float property in the property list More... | |
void | SetStringProperty (const char *propertyKey, const char *stringValue) |
set a string property in the property list More... | |
virtual void | SetProperty (const char *propertyKey, BaseProperty *propertyValue) |
set a BaseProperty property in the property list More... | |
virtual BaseProperty * | GetProperty (const char *propertyKey) |
get a BaseProperty from the property list More... | |
bool | GetBoolProperty (const char *propertyKey, bool &boolValue) |
get a bool from the property list More... | |
bool | GetStringProperty (const char *propertyKey, std::string &string) |
get a string from the property list More... | |
bool | GetIntProperty (const char *propertyKey, int &integer) |
get an int from the property list More... | |
virtual int | GetRGBCaptureWidth () |
virtual int | GetRGBCaptureHeight () |
Protected Member Functions | |
ToFCameraDevice () | |
~ToFCameraDevice () | |
virtual void | AllocatePixelArrays () |
method for allocating memory for pixel arrays m_IntensityArray, m_DistanceArray and m_AmplitudeArray More... | |
virtual void | CleanupPixelArrays () |
method for cleanup memory allocated for pixel arrays m_IntensityArray, m_DistanceArray and m_AmplitudeArray More... | |
Protected Attributes | |
float * | m_IntensityArray |
float array holding the intensity image More... | |
float * | m_DistanceArray |
float array holding the distance image More... | |
float * | m_AmplitudeArray |
float array holding the amplitude image More... | |
int | m_BufferSize |
buffer size of the image buffer needed for loss-less acquisition of range data More... | |
int | m_MaxBufferSize |
maximal buffer size needed for initialization of data arrays. Default value is 100. More... | |
int | m_CurrentPos |
current position in the buffer which will be retrieved by the Get methods More... | |
int | m_FreePos |
current position in the buffer which will be filled with data acquired from the hardware More... | |
int | m_CaptureWidth |
width of the range image (x dimension) More... | |
int | m_CaptureHeight |
height of the range image (y dimension) More... | |
int | m_PixelNumber |
number of pixels in the range image (m_CaptureWidth*m_CaptureHeight) More... | |
int | m_RGBImageWidth |
width of the RGB image (x dimension) More... | |
int | m_RGBImageHeight |
height of the RGB image (y dimension) More... | |
int | m_RGBPixelNumber |
number of pixels in the range image (m_RGBImageWidth*m_RGBImageHeight) More... | |
int | m_SourceDataSize |
size of the PMD source data More... | |
itk::MultiThreader::Pointer | m_MultiThreader |
itk::MultiThreader used for thread handling More... | |
itk::FastMutexLock::Pointer | m_ImageMutex |
mutex for images provided by the range camera More... | |
itk::FastMutexLock::Pointer | m_CameraActiveMutex |
mutex for the cameraActive flag More... | |
int | m_ThreadID |
ID of the started thread. More... | |
bool | m_CameraActive |
flag indicating if the camera is currently active or not. Caution: thread safe access only! More... | |
bool | m_CameraConnected |
flag indicating if the camera is successfully connected or not. Caution: thread safe access only! More... | |
int | m_ImageSequence |
counter for acquired images More... | |
PropertyList::Pointer | m_PropertyList |
a list of the corresponding properties More... | |
Virtual interface and base class for all Time-of-Flight devices.
Definition at line 40 of file mitkToFCameraDevice.h.
|
protected |
Definition at line 21 of file mitkToFCameraDevice.cpp.
References m_AmplitudeArray, m_CameraActiveMutex, m_CaptureHeight, m_CaptureWidth, m_DistanceArray, m_ImageMutex, m_IntensityArray, m_MultiThreader, m_PropertyList, m_RGBImageHeight, m_RGBImageWidth, m_RGBPixelNumber, mitk::New(), and mitk::PropertyList::New().
|
protected |
Definition at line 46 of file mitkToFCameraDevice.cpp.
|
protectedvirtual |
method for allocating memory for pixel arrays m_IntensityArray, m_DistanceArray and m_AmplitudeArray
Reimplemented in mitk::ToFCameraPMDRawDataDevice.
Definition at line 133 of file mitkToFCameraDevice.cpp.
References CleanupPixelArrays(), m_AmplitudeArray, m_DistanceArray, m_IntensityArray, and m_PixelNumber.
Referenced by mitk::ToFCameraMITKPlayerDevice::OnConnectCamera(), and mitk::ToFCameraPMDDevice::OnConnectCamera().
|
protectedvirtual |
method for cleanup memory allocated for pixel arrays m_IntensityArray, m_DistanceArray and m_AmplitudeArray
Reimplemented in mitk::ToFCameraPMDRawDataDevice.
Definition at line 117 of file mitkToFCameraDevice.cpp.
References m_AmplitudeArray, m_DistanceArray, and m_IntensityArray.
Referenced by AllocatePixelArrays(), and mitk::ToFCameraPMDDevice::~ToFCameraPMDDevice().
|
virtual |
ConnectCamera Internally calls OnConnectCamera() of the respective device implementation.
Reimplemented in mitk::ToFCameraPMDRawDataCamBoardDevice.
Definition at line 178 of file mitkToFCameraDevice.cpp.
References OnConnectCamera().
|
pure virtual |
closes the connection to the camera
Implemented in mitk::KinectV2Device, mitk::KinectDevice, mitk::ToFCameraPMDDevice, mitk::ToFCameraMESADevice, mitk::ToFCameraMITKPlayerDevice, and mitk::ToFCameraPMDRawDataDevice.
|
pure virtual |
gets the 3 images (distance, amplitude, intensity) from the ToF camera. Caution! The user is responsible for allocating and deleting the images.
distanceArray | contains the returned distance data as an array. |
amplitudeArray | contains the returned amplitude data as an array. |
intensityArray | contains the returned intensity data as an array. |
sourceDataArray | contains the complete source data from the camera device. |
requiredImageSequence | the required image sequence number |
capturedImageSequence | the actually captured image sequence number |
Implemented in mitk::KinectV2Device, mitk::KinectDevice, mitk::ToFCameraMESADevice, mitk::ToFCameraPMDDevice, mitk::ToFCameraPMDRawDataDevice, mitk::ToFCameraMITKPlayerDevice, and mitk::ToFCameraPMDRawDataCamBoardDevice.
|
pure virtual |
gets the amplitude data from the ToF camera as the strength of the active illumination of every pixel These values can be used to determine the quality of the distance values. The higher the amplitude value, the higher the accuracy of the according distance value
imageSequence | the actually captured image sequence number |
amplitudeArray | contains the returned amplitude data as an array. |
Implemented in mitk::KinectV2Device, mitk::KinectDevice, mitk::ToFCameraMESADevice, mitk::ToFCameraPMDDevice, mitk::ToFCameraPMDRawDataDevice, mitk::ToFCameraMITKPlayerDevice, and mitk::ToFCameraPMDRawDataCamBoardDevice.
bool mitk::ToFCameraDevice::GetBoolProperty | ( | const char * | propertyKey, |
bool & | boolValue | ||
) |
get a bool from the property list
Definition at line 80 of file mitkToFCameraDevice.cpp.
References GetProperty().
Referenced by mitk::KinectV2Device::Acquire(), mitk::ToFCameraPMDRawDataCamCubeDevice::SetProperty(), mitk::ToFCameraPMDCamCubeDevice::SetProperty(), mitk::ToFCameraMESASR4000Device::SetProperty(), and mitk::KinectDevice::SetProperty().
|
virtual |
get the currently set buffer size
|
virtual |
get the currently set capture height
Referenced by mitk::ToFCameraPMDRawDataCamBoardDevice::ConnectCamera(), mitk::ToFCameraPMDRawDataCamCubeDevice::GetChannelSourceData(), mitk::KinectDevice::GetRGBCaptureHeight(), and mitk::ToFCameraPMDRawDataDevice::XYAxisFlipImage().
|
virtual |
get the currently set capture width
Referenced by mitk::ToFCameraPMDRawDataCamBoardDevice::ConnectCamera(), mitk::ToFCameraPMDRawDataCamCubeDevice::GetChannelSourceData(), mitk::KinectDevice::GetRGBCaptureWidth(), and mitk::ToFCameraPMDRawDataDevice::XYAxisFlipImage().
|
pure virtual |
gets the distance data from the ToF camera measuring the distance between the camera and the different object points in millimeters
distanceArray | contains the returned distances data as an array. |
imageSequence | the actually captured image sequence number |
Implemented in mitk::KinectV2Device, mitk::KinectDevice, mitk::ToFCameraMESADevice, mitk::ToFCameraPMDDevice, mitk::ToFCameraPMDRawDataDevice, mitk::ToFCameraMITKPlayerDevice, and mitk::ToFCameraPMDRawDataCamBoardDevice.
|
pure virtual |
gets the intensity data from the ToF camera as a greyscale image
intensityArray | contains the returned intensities data as an array. |
imageSequence | the actually captured image sequence number |
Implemented in mitk::KinectV2Device, mitk::KinectDevice, mitk::ToFCameraMESADevice, mitk::ToFCameraPMDDevice, mitk::ToFCameraPMDRawDataDevice, mitk::ToFCameraMITKPlayerDevice, and mitk::ToFCameraPMDRawDataCamBoardDevice.
bool mitk::ToFCameraDevice::GetIntProperty | ( | const char * | propertyKey, |
int & | integer | ||
) |
get an int from the property list
Definition at line 103 of file mitkToFCameraDevice.cpp.
References GetProperty().
Referenced by mitk::ToFCameraPMDDevice::SetProperty(), mitk::ToFCameraPMDRawDataDevice::SetProperty(), and mitk::ToFCameraMESADevice::SetProperty().
|
virtual |
get the currently set max buffer size
|
virtual |
get a BaseProperty from the property list
Definition at line 75 of file mitkToFCameraDevice.cpp.
References m_PropertyList.
Referenced by mitk::KinectV2Device::Acquire(), GetBoolProperty(), GetIntProperty(), and GetStringProperty().
|
virtual |
Reimplemented in mitk::KinectV2Device, and mitk::KinectDevice.
Definition at line 151 of file mitkToFCameraDevice.cpp.
References m_RGBImageHeight.
|
virtual |
Reimplemented in mitk::KinectV2Device, and mitk::KinectDevice.
Definition at line 146 of file mitkToFCameraDevice.cpp.
References m_RGBImageWidth.
|
virtual |
get the currently set source data size
bool mitk::ToFCameraDevice::GetStringProperty | ( | const char * | propertyKey, |
std::string & | string | ||
) |
get a string from the property list
Definition at line 90 of file mitkToFCameraDevice.cpp.
References GetProperty().
Referenced by mitk::ToFCameraPMDPlayerDevice::SetProperty(), and mitk::ToFCameraMITKPlayerDevice::SetProperty().
|
virtual |
returns true if the camera is connected and started
Reimplemented in mitk::KinectV2Device, mitk::KinectDevice, mitk::ToFCameraMESADevice, and mitk::ToFCameraPMDRawDataDevice.
Definition at line 170 of file mitkToFCameraDevice.cpp.
References m_CameraActive, and m_CameraActiveMutex.
Referenced by mitk::ToFCameraMITKPlayerDevice::Acquire(), and mitk::ToFCameraPMDDevice::Acquire().
|
virtual |
returns true if the camera is connected
Definition at line 185 of file mitkToFCameraDevice.cpp.
References m_CameraConnected.
mitk::ToFCameraDevice::mitkClassMacroItkParent | ( | ToFCameraDevice | , |
itk::Object | |||
) |
|
pure virtual |
Opens a connection to the ToF camera. Has to be implemented in the specialized inherited classes.
Implemented in mitk::KinectV2Device, mitk::KinectDevice, mitk::ToFCameraPMDDevice, mitk::ToFCameraMESADevice, mitk::ToFCameraMITKPlayerDevice, and mitk::ToFCameraPMDRawDataDevice.
Referenced by ConnectCamera().
void mitk::ToFCameraDevice::SetBoolProperty | ( | const char * | propertyKey, |
bool | boolValue | ||
) |
set a bool property in the property list
Definition at line 50 of file mitkToFCameraDevice.cpp.
References mitk::BoolProperty::New(), and SetProperty().
Referenced by mitk::ToFCameraMITKPlayerDevice::OnConnectCamera(), and mitk::KinectDevice::OnConnectCamera().
void mitk::ToFCameraDevice::SetFloatProperty | ( | const char * | propertyKey, |
float | floatValue | ||
) |
set a float property in the property list
Definition at line 60 of file mitkToFCameraDevice.cpp.
References mitk::FloatProperty::New(), and SetProperty().
void mitk::ToFCameraDevice::SetIntProperty | ( | const char * | propertyKey, |
int | intValue | ||
) |
set an int property in the property list
Definition at line 55 of file mitkToFCameraDevice.cpp.
References mitk::IntProperty::New(), and SetProperty().
|
virtual |
set a BaseProperty property in the property list
Reimplemented in mitk::KinectDevice, mitk::ToFCameraMESADevice, mitk::ToFCameraPMDRawDataDevice, mitk::ToFCameraPMDDevice, mitk::ToFCameraMITKPlayerDevice, mitk::ToFCameraPMDPlayerDevice, mitk::ToFCameraMESASR4000Device, mitk::ToFCameraPMDCamBoardDevice, mitk::ToFCameraPMDCamCubeDevice, mitk::ToFCameraPMDRawDataCamBoardDevice, and mitk::ToFCameraPMDRawDataCamCubeDevice.
Definition at line 70 of file mitkToFCameraDevice.cpp.
References m_PropertyList.
Referenced by mitk::KinectV2Device::GetAllImages(), SetBoolProperty(), SetFloatProperty(), SetIntProperty(), mitk::ToFCameraPMDDevice::SetProperty(), mitk::ToFCameraPMDRawDataDevice::SetProperty(), mitk::ToFCameraMESADevice::SetProperty(), mitk::KinectDevice::SetProperty(), and SetStringProperty().
void mitk::ToFCameraDevice::SetStringProperty | ( | const char * | propertyKey, |
const char * | stringValue | ||
) |
set a string property in the property list
Definition at line 65 of file mitkToFCameraDevice.cpp.
References mitk::StringProperty::New(), and SetProperty().
|
pure virtual |
starts the continuous updating of the camera. A separate thread updates the source data, the main thread processes the source data and creates images and coordinates
Implemented in mitk::KinectV2Device, mitk::KinectDevice, mitk::ToFCameraPMDDevice, mitk::ToFCameraMESADevice, mitk::ToFCameraMITKPlayerDevice, and mitk::ToFCameraPMDRawDataDevice.
|
virtual |
stops the continuous updating of the camera
Reimplemented in mitk::KinectV2Device, mitk::KinectDevice, mitk::ToFCameraMESADevice, and mitk::ToFCameraPMDRawDataDevice.
Definition at line 156 of file mitkToFCameraDevice.cpp.
References m_CameraActive, m_CameraActiveMutex, m_MultiThreader, and m_ThreadID.
|
pure virtual |
updates the camera for image acquisition
Implemented in mitk::ToFCameraMITKPlayerDevice, mitk::KinectV2Device, mitk::KinectDevice, mitk::ToFCameraPMDDevice, mitk::ToFCameraMESADevice, and mitk::ToFCameraPMDRawDataDevice.
|
protected |
float array holding the amplitude image
Definition at line 205 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraPMDRawDataDevice::Acquire(), mitk::ToFCameraPMDRawDataDevice::AllocatePixelArrays(), AllocatePixelArrays(), mitk::ToFCameraPMDRawDataDevice::CleanupPixelArrays(), CleanupPixelArrays(), mitk::ToFCameraMESADevice::DisconnectCamera(), mitk::KinectDevice::DisconnectCamera(), mitk::KinectV2Device::DisconnectCamera(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetAllImages(), mitk::ToFCameraPMDRawDataDevice::GetAllImages(), mitk::ToFCameraPMDDevice::GetAllImages(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetAmplitudes(), mitk::ToFCameraPMDRawDataDevice::GetAmplitudes(), mitk::ToFCameraPMDDevice::GetAmplitudes(), mitk::ToFCameraMESADevice::OnConnectCamera(), mitk::KinectDevice::OnConnectCamera(), mitk::KinectV2Device::OnConnectCamera(), and ToFCameraDevice().
|
protected |
buffer size of the image buffer needed for loss-less acquisition of range data
Definition at line 206 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraMITKPlayerDevice::Acquire(), mitk::ToFCameraMESADevice::Acquire(), mitk::ToFCameraPMDDevice::Acquire(), mitk::KinectDevice::Acquire(), mitk::KinectV2Device::Acquire(), mitk::ToFCameraPMDRawDataDevice::Acquire(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetAllImages(), mitk::ToFCameraMITKPlayerDevice::GetAllImages(), mitk::ToFCameraPMDRawDataDevice::GetAllImages(), mitk::ToFCameraPMDDevice::GetAllImages(), mitk::ToFCameraMESADevice::GetAllImages(), mitk::KinectDevice::GetAllImages(), mitk::KinectV2Device::GetAllImages(), mitk::ToFCameraPMDRawDataDevice::StartCamera(), mitk::ToFCameraMITKPlayerDevice::StartCamera(), mitk::ToFCameraMESADevice::StartCamera(), mitk::KinectDevice::StartCamera(), mitk::ToFCameraPMDDevice::StartCamera(), and mitk::KinectV2Device::StartCamera().
|
protected |
flag indicating if the camera is currently active or not. Caution: thread safe access only!
Definition at line 221 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraPMDRawDataCamBoardDevice::GetAllImages(), mitk::ToFCameraPMDRawDataDevice::GetAllImages(), mitk::ToFCameraPMDDevice::GetAllImages(), mitk::ToFCameraMESADevice::GetAllImages(), mitk::KinectDevice::GetAllImages(), mitk::KinectV2Device::GetAllImages(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetAmplitudes(), mitk::ToFCameraPMDRawDataDevice::GetAmplitudes(), mitk::ToFCameraPMDDevice::GetAmplitudes(), mitk::ToFCameraMESADevice::GetAmplitudes(), mitk::KinectDevice::GetAmplitudes(), mitk::KinectV2Device::GetAmplitudes(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetDistances(), mitk::ToFCameraPMDRawDataDevice::GetDistances(), mitk::ToFCameraPMDDevice::GetDistances(), mitk::ToFCameraMESADevice::GetDistances(), mitk::KinectDevice::GetDistances(), mitk::KinectV2Device::GetDistances(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetIntensities(), mitk::ToFCameraPMDRawDataDevice::GetIntensities(), mitk::ToFCameraPMDDevice::GetIntensities(), mitk::ToFCameraMESADevice::GetIntensities(), mitk::ToFCameraPMDRawDataDevice::IsCameraActive(), mitk::ToFCameraMESADevice::IsCameraActive(), IsCameraActive(), mitk::KinectDevice::IsCameraActive(), mitk::KinectV2Device::IsCameraActive(), mitk::ToFCameraPMDRawDataDevice::StartCamera(), mitk::ToFCameraMITKPlayerDevice::StartCamera(), mitk::ToFCameraMESADevice::StartCamera(), mitk::ToFCameraPMDDevice::StartCamera(), mitk::KinectDevice::StartCamera(), mitk::KinectV2Device::StartCamera(), mitk::ToFCameraPMDRawDataDevice::StopCamera(), mitk::ToFCameraMESADevice::StopCamera(), mitk::KinectDevice::StopCamera(), StopCamera(), and mitk::KinectV2Device::StopCamera().
|
protected |
mutex for the cameraActive flag
Definition at line 219 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraPMDRawDataDevice::IsCameraActive(), mitk::ToFCameraMESADevice::IsCameraActive(), IsCameraActive(), mitk::KinectDevice::IsCameraActive(), mitk::KinectV2Device::IsCameraActive(), mitk::ToFCameraPMDRawDataDevice::StartCamera(), mitk::ToFCameraMITKPlayerDevice::StartCamera(), mitk::ToFCameraMESADevice::StartCamera(), mitk::ToFCameraPMDDevice::StartCamera(), mitk::KinectDevice::StartCamera(), mitk::KinectV2Device::StartCamera(), mitk::ToFCameraPMDRawDataDevice::StopCamera(), mitk::ToFCameraMESADevice::StopCamera(), mitk::KinectDevice::StopCamera(), StopCamera(), mitk::KinectV2Device::StopCamera(), and ToFCameraDevice().
|
protected |
flag indicating if the camera is successfully connected or not. Caution: thread safe access only!
Definition at line 222 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraPMDRawDataDevice::DisconnectCamera(), mitk::ToFCameraMITKPlayerDevice::DisconnectCamera(), mitk::ToFCameraMESADevice::DisconnectCamera(), mitk::KinectDevice::DisconnectCamera(), mitk::ToFCameraPMDDevice::DisconnectCamera(), mitk::KinectV2Device::DisconnectCamera(), IsCameraConnected(), mitk::ToFCameraPMDRawDataDevice::OnConnectCamera(), mitk::ToFCameraMITKPlayerDevice::OnConnectCamera(), mitk::ToFCameraMESADevice::OnConnectCamera(), mitk::KinectDevice::OnConnectCamera(), mitk::ToFCameraPMDDevice::OnConnectCamera(), mitk::KinectV2Device::OnConnectCamera(), mitk::ToFCameraPMDRawDataDevice::StartCamera(), mitk::ToFCameraMITKPlayerDevice::StartCamera(), mitk::ToFCameraMESADevice::StartCamera(), mitk::KinectDevice::StartCamera(), mitk::ToFCameraPMDDevice::StartCamera(), and mitk::KinectV2Device::StartCamera().
|
protected |
height of the range image (y dimension)
Definition at line 211 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraPMDDevice::GetAllImages(), mitk::ToFCameraPMDDevice::GetAmplitudes(), mitk::ToFCameraPMDDevice::GetDistances(), mitk::ToFCameraPMDDevice::GetIntensities(), mitk::ToFCameraPMDRawDataDevice::OnConnectCamera(), mitk::ToFCameraMITKPlayerDevice::OnConnectCamera(), mitk::ToFCameraMESADevice::OnConnectCamera(), mitk::KinectDevice::OnConnectCamera(), mitk::ToFCameraPMDDevice::OnConnectCamera(), mitk::KinectV2Device::OnConnectCamera(), and ToFCameraDevice().
|
protected |
width of the range image (x dimension)
Definition at line 210 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraPMDDevice::GetAllImages(), mitk::ToFCameraPMDDevice::GetAmplitudes(), mitk::ToFCameraPMDDevice::GetDistances(), mitk::ToFCameraPMDDevice::GetIntensities(), mitk::ToFCameraPMDRawDataDevice::OnConnectCamera(), mitk::ToFCameraMITKPlayerDevice::OnConnectCamera(), mitk::ToFCameraMESADevice::OnConnectCamera(), mitk::KinectDevice::OnConnectCamera(), mitk::ToFCameraPMDDevice::OnConnectCamera(), mitk::KinectV2Device::OnConnectCamera(), and ToFCameraDevice().
|
protected |
current position in the buffer which will be retrieved by the Get methods
Definition at line 208 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraMITKPlayerDevice::Acquire(), mitk::ToFCameraMESADevice::Acquire(), mitk::ToFCameraPMDDevice::Acquire(), mitk::KinectDevice::Acquire(), mitk::KinectV2Device::Acquire(), mitk::ToFCameraPMDRawDataDevice::Acquire(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetAllImages(), mitk::ToFCameraMITKPlayerDevice::GetAllImages(), mitk::ToFCameraPMDRawDataDevice::GetAllImages(), mitk::ToFCameraPMDDevice::GetAllImages(), mitk::ToFCameraMESADevice::GetAllImages(), mitk::KinectDevice::GetAllImages(), mitk::KinectV2Device::GetAllImages(), mitk::ToFCameraMITKPlayerDevice::GetAmplitudes(), mitk::ToFCameraPMDDevice::GetAmplitudes(), mitk::ToFCameraMESADevice::GetAmplitudes(), mitk::KinectV2Device::GetAmplitudes(), mitk::ToFCameraMITKPlayerDevice::GetDistances(), mitk::ToFCameraPMDDevice::GetDistances(), mitk::ToFCameraMESADevice::GetDistances(), mitk::KinectV2Device::GetDistances(), mitk::ToFCameraMITKPlayerDevice::GetIntensities(), mitk::ToFCameraPMDDevice::GetIntensities(), mitk::ToFCameraMESADevice::GetIntensities(), mitk::ToFCameraMITKPlayerDevice::GetRgb(), mitk::ToFCameraPMDRawDataDevice::StartCamera(), mitk::ToFCameraMITKPlayerDevice::StartCamera(), mitk::ToFCameraMESADevice::StartCamera(), mitk::ToFCameraPMDDevice::StartCamera(), mitk::KinectDevice::StartCamera(), and mitk::KinectV2Device::StartCamera().
|
protected |
float array holding the distance image
Definition at line 204 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraPMDRawDataDevice::Acquire(), mitk::ToFCameraPMDRawDataDevice::AllocatePixelArrays(), AllocatePixelArrays(), mitk::ToFCameraPMDRawDataDevice::CleanupPixelArrays(), CleanupPixelArrays(), mitk::ToFCameraMESADevice::DisconnectCamera(), mitk::KinectDevice::DisconnectCamera(), mitk::KinectV2Device::DisconnectCamera(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetAllImages(), mitk::ToFCameraPMDRawDataDevice::GetAllImages(), mitk::ToFCameraPMDDevice::GetAllImages(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetDistances(), mitk::ToFCameraPMDRawDataDevice::GetDistances(), mitk::ToFCameraPMDDevice::GetDistances(), mitk::ToFCameraMESADevice::OnConnectCamera(), mitk::KinectDevice::OnConnectCamera(), mitk::KinectV2Device::OnConnectCamera(), and ToFCameraDevice().
|
protected |
current position in the buffer which will be filled with data acquired from the hardware
Definition at line 209 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraMITKPlayerDevice::Acquire(), mitk::ToFCameraMESADevice::Acquire(), mitk::ToFCameraPMDDevice::Acquire(), mitk::KinectDevice::Acquire(), mitk::KinectV2Device::Acquire(), mitk::ToFCameraPMDRawDataDevice::Acquire(), mitk::ToFCameraPMDRawDataDevice::StartCamera(), mitk::ToFCameraMITKPlayerDevice::StartCamera(), mitk::ToFCameraMESADevice::StartCamera(), mitk::KinectDevice::StartCamera(), mitk::ToFCameraPMDDevice::StartCamera(), and mitk::KinectV2Device::StartCamera().
|
protected |
mutex for images provided by the range camera
Definition at line 218 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraMITKPlayerDevice::Acquire(), mitk::ToFCameraMESADevice::Acquire(), mitk::ToFCameraPMDDevice::Acquire(), mitk::KinectDevice::Acquire(), mitk::KinectV2Device::Acquire(), mitk::ToFCameraPMDRawDataDevice::Acquire(), mitk::ToFCameraMITKPlayerDevice::GetAllImages(), mitk::ToFCameraPMDDevice::GetAllImages(), mitk::KinectV2Device::GetAllImages(), mitk::ToFCameraMITKPlayerDevice::GetAmplitudes(), mitk::ToFCameraPMDDevice::GetAmplitudes(), mitk::ToFCameraMESADevice::GetAmplitudes(), mitk::KinectDevice::GetAmplitudes(), mitk::KinectV2Device::GetAmplitudes(), mitk::ToFCameraMITKPlayerDevice::GetDistances(), mitk::ToFCameraPMDDevice::GetDistances(), mitk::ToFCameraMESADevice::GetDistances(), mitk::KinectDevice::GetDistances(), mitk::KinectV2Device::GetDistances(), mitk::ToFCameraMITKPlayerDevice::GetIntensities(), mitk::ToFCameraPMDDevice::GetIntensities(), mitk::ToFCameraMESADevice::GetIntensities(), mitk::ToFCameraMITKPlayerDevice::GetRgb(), mitk::ToFCameraPMDRawDataDevice::StartCamera(), mitk::ToFCameraMITKPlayerDevice::StartCamera(), mitk::ToFCameraMESADevice::StartCamera(), mitk::ToFCameraPMDDevice::StartCamera(), mitk::KinectDevice::StartCamera(), mitk::KinectV2Device::StartCamera(), and ToFCameraDevice().
|
protected |
counter for acquired images
Definition at line 223 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraMITKPlayerDevice::Acquire(), mitk::ToFCameraMESADevice::Acquire(), mitk::ToFCameraPMDDevice::Acquire(), mitk::KinectDevice::Acquire(), mitk::KinectV2Device::Acquire(), mitk::ToFCameraPMDRawDataDevice::Acquire(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetAllImages(), mitk::ToFCameraMITKPlayerDevice::GetAllImages(), mitk::ToFCameraPMDRawDataDevice::GetAllImages(), mitk::ToFCameraPMDDevice::GetAllImages(), mitk::ToFCameraMESADevice::GetAllImages(), mitk::KinectDevice::GetAllImages(), mitk::KinectV2Device::GetAllImages(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetAmplitudes(), mitk::ToFCameraMITKPlayerDevice::GetAmplitudes(), mitk::ToFCameraPMDRawDataDevice::GetAmplitudes(), mitk::ToFCameraPMDDevice::GetAmplitudes(), mitk::ToFCameraMESADevice::GetAmplitudes(), mitk::KinectDevice::GetAmplitudes(), mitk::KinectV2Device::GetAmplitudes(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetDistances(), mitk::ToFCameraMITKPlayerDevice::GetDistances(), mitk::ToFCameraPMDRawDataDevice::GetDistances(), mitk::ToFCameraPMDDevice::GetDistances(), mitk::ToFCameraMESADevice::GetDistances(), mitk::KinectDevice::GetDistances(), mitk::KinectV2Device::GetDistances(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetIntensities(), mitk::ToFCameraMITKPlayerDevice::GetIntensities(), mitk::ToFCameraPMDRawDataDevice::GetIntensities(), mitk::ToFCameraPMDDevice::GetIntensities(), mitk::ToFCameraMESADevice::GetIntensities(), mitk::ToFCameraMITKPlayerDevice::GetRgb(), mitk::ToFCameraPMDRawDataDevice::StartCamera(), mitk::ToFCameraMITKPlayerDevice::StartCamera(), mitk::ToFCameraMESADevice::StartCamera(), mitk::KinectDevice::StartCamera(), mitk::ToFCameraPMDDevice::StartCamera(), and mitk::KinectV2Device::StartCamera().
|
protected |
float array holding the intensity image
Definition at line 203 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraPMDRawDataDevice::Acquire(), mitk::ToFCameraPMDRawDataDevice::AllocatePixelArrays(), AllocatePixelArrays(), mitk::ToFCameraPMDRawDataDevice::CleanupPixelArrays(), CleanupPixelArrays(), mitk::ToFCameraMESADevice::DisconnectCamera(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetAllImages(), mitk::ToFCameraPMDRawDataDevice::GetAllImages(), mitk::ToFCameraPMDDevice::GetAllImages(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetIntensities(), mitk::ToFCameraPMDRawDataDevice::GetIntensities(), mitk::ToFCameraPMDDevice::GetIntensities(), mitk::ToFCameraMESADevice::OnConnectCamera(), and ToFCameraDevice().
|
protected |
maximal buffer size needed for initialization of data arrays. Default value is 100.
Definition at line 207 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraMITKPlayerDevice::AllocateDataBuffers(), mitk::ToFCameraPMDDevice::AllocateSourceData(), mitk::ToFCameraPMDRawDataDevice::AllocateSourceData(), mitk::ToFCameraMITKPlayerDevice::CleanUpDataBuffers(), mitk::ToFCameraPMDDevice::CleanUpSourceData(), mitk::ToFCameraPMDRawDataDevice::CleanUpSourceData(), mitk::ToFCameraMESADevice::DisconnectCamera(), mitk::KinectDevice::DisconnectCamera(), mitk::KinectV2Device::DisconnectCamera(), mitk::ToFCameraMESADevice::OnConnectCamera(), mitk::KinectDevice::OnConnectCamera(), and mitk::KinectV2Device::OnConnectCamera().
|
protected |
itk::MultiThreader used for thread handling
Definition at line 217 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraPMDRawDataDevice::StartCamera(), mitk::ToFCameraMITKPlayerDevice::StartCamera(), mitk::ToFCameraMESADevice::StartCamera(), mitk::ToFCameraPMDDevice::StartCamera(), mitk::KinectDevice::StartCamera(), mitk::KinectV2Device::StartCamera(), mitk::ToFCameraPMDRawDataDevice::StopCamera(), mitk::ToFCameraMESADevice::StopCamera(), mitk::KinectDevice::StopCamera(), StopCamera(), mitk::KinectV2Device::StopCamera(), and ToFCameraDevice().
|
protected |
number of pixels in the range image (m_CaptureWidth*m_CaptureHeight)
Definition at line 212 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraMITKPlayerDevice::AllocateDataBuffers(), mitk::ToFCameraPMDRawDataDevice::AllocatePixelArrays(), AllocatePixelArrays(), mitk::ToFCameraPMDRawDataCamBoardDevice::ConnectCamera(), mitk::ToFCameraMITKPlayerDevice::GetAllImages(), mitk::ToFCameraPMDRawDataDevice::GetAllImages(), mitk::ToFCameraMESADevice::GetAllImages(), mitk::KinectDevice::GetAllImages(), mitk::ToFCameraMITKPlayerDevice::GetAmplitudes(), mitk::ToFCameraPMDRawDataDevice::GetAmplitudes(), mitk::ToFCameraMESADevice::GetAmplitudes(), mitk::ToFCameraMITKPlayerDevice::GetDistances(), mitk::ToFCameraPMDRawDataDevice::GetDistances(), mitk::ToFCameraMESADevice::GetDistances(), mitk::ToFCameraMITKPlayerDevice::GetIntensities(), mitk::ToFCameraPMDRawDataDevice::GetIntensities(), mitk::ToFCameraMESADevice::GetIntensities(), mitk::ToFCameraPMDRawDataDevice::OnConnectCamera(), mitk::ToFCameraMITKPlayerDevice::OnConnectCamera(), mitk::ToFCameraMESADevice::OnConnectCamera(), mitk::ToFCameraPMDDevice::OnConnectCamera(), mitk::KinectDevice::OnConnectCamera(), and mitk::KinectV2Device::OnConnectCamera().
|
protected |
a list of the corresponding properties
Definition at line 225 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraMITKPlayerDevice::DisconnectCamera(), GetProperty(), mitk::ToFCameraPMDRawDataCamCubeDevice::SetProperty(), mitk::ToFCameraPMDRawDataCamBoardDevice::SetProperty(), mitk::ToFCameraPMDCamCubeDevice::SetProperty(), mitk::ToFCameraPMDCamBoardDevice::SetProperty(), mitk::ToFCameraMESASR4000Device::SetProperty(), mitk::ToFCameraPMDPlayerDevice::SetProperty(), mitk::ToFCameraMITKPlayerDevice::SetProperty(), mitk::ToFCameraPMDDevice::SetProperty(), mitk::ToFCameraPMDRawDataDevice::SetProperty(), mitk::ToFCameraMESADevice::SetProperty(), mitk::KinectDevice::SetProperty(), SetProperty(), and ToFCameraDevice().
|
protected |
height of the RGB image (y dimension)
Definition at line 214 of file mitkToFCameraDevice.h.
Referenced by mitk::KinectV2Device::GetRGBCaptureHeight(), GetRGBCaptureHeight(), mitk::ToFCameraMITKPlayerDevice::OnConnectCamera(), mitk::KinectDevice::OnConnectCamera(), mitk::KinectV2Device::OnConnectCamera(), and ToFCameraDevice().
|
protected |
width of the RGB image (x dimension)
Definition at line 213 of file mitkToFCameraDevice.h.
Referenced by mitk::KinectV2Device::GetRGBCaptureWidth(), GetRGBCaptureWidth(), mitk::ToFCameraMITKPlayerDevice::OnConnectCamera(), mitk::KinectDevice::OnConnectCamera(), mitk::KinectV2Device::OnConnectCamera(), and ToFCameraDevice().
|
protected |
number of pixels in the range image (m_RGBImageWidth*m_RGBImageHeight)
Definition at line 215 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraMITKPlayerDevice::AllocateDataBuffers(), mitk::ToFCameraMITKPlayerDevice::GetAllImages(), mitk::KinectDevice::GetAllImages(), mitk::ToFCameraMITKPlayerDevice::GetRgb(), mitk::ToFCameraMITKPlayerDevice::OnConnectCamera(), mitk::KinectDevice::OnConnectCamera(), mitk::KinectV2Device::OnConnectCamera(), and ToFCameraDevice().
|
protected |
size of the PMD source data
Definition at line 216 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraPMDRawDataDevice::AllocatePixelArrays(), mitk::ToFCameraPMDDevice::AllocateSourceData(), mitk::ToFCameraPMDRawDataDevice::AllocateSourceData(), mitk::ToFCameraPMDRawDataCamBoardDevice::GetAllImages(), mitk::ToFCameraPMDRawDataDevice::GetAllImages(), mitk::ToFCameraPMDDevice::GetAllImages(), mitk::ToFCameraPMDRawDataDevice::OnConnectCamera(), and mitk::ToFCameraPMDDevice::OnConnectCamera().
|
protected |
ID of the started thread.
Definition at line 220 of file mitkToFCameraDevice.h.
Referenced by mitk::ToFCameraPMDRawDataDevice::StartCamera(), mitk::ToFCameraMITKPlayerDevice::StartCamera(), mitk::ToFCameraMESADevice::StartCamera(), mitk::ToFCameraPMDDevice::StartCamera(), mitk::KinectDevice::StartCamera(), mitk::KinectV2Device::StartCamera(), mitk::ToFCameraPMDRawDataDevice::StopCamera(), mitk::ToFCameraMESADevice::StopCamera(), mitk::KinectDevice::StopCamera(), StopCamera(), and mitk::KinectV2Device::StopCamera().