Interface to the Kinect 2 camera. Currently, the Microsoft SDK is used.
More...
#include <mitkKinectV2Controller.h>
Interface to the Kinect 2 camera. Currently, the Microsoft SDK is used.
Definition at line 32 of file mitkKinectV2Controller.h.
◆ KinectV2Controller()
mitk::KinectV2Controller::KinectV2Controller |
( |
| ) |
|
|
protected |
◆ ~KinectV2Controller()
mitk::KinectV2Controller::~KinectV2Controller |
( |
| ) |
|
|
protected |
◆ CloseCameraConnection()
bool mitk::KinectV2Controller::CloseCameraConnection |
( |
| ) |
|
|
virtual |
◆ GetAllData()
void mitk::KinectV2Controller::GetAllData |
( |
float * | distances, |
|
|
float * | amplitudes, |
|
|
unsigned char * | rgb ) |
convenience method for faster access to distance and rgb data
- Parameters
-
distances | pointer to memory location where distances should be stored |
amplitudes | |
rgb | pointer to memory location where rgb information should be stored |
Definition at line 364 of file mitkKinectV2Controller.cpp.
◆ GetAmplitudes()
void mitk::KinectV2Controller::GetAmplitudes |
( |
float * | amplitudes | ) |
|
◆ GetDepthCaptureHeight()
int mitk::KinectV2Controller::GetDepthCaptureHeight |
( |
| ) |
const |
◆ GetDepthCaptureWidth()
int mitk::KinectV2Controller::GetDepthCaptureWidth |
( |
| ) |
const |
◆ GetDistances()
void mitk::KinectV2Controller::GetDistances |
( |
float * | distances | ) |
|
acquire new distance data from the Kinect camera
- Parameters
-
distances | pointer to memory location where distances should be stored |
Definition at line 197 of file mitkKinectV2Controller.cpp.
◆ GetIntensities()
void mitk::KinectV2Controller::GetIntensities |
( |
float * | intensities | ) |
|
◆ GetRgb()
void mitk::KinectV2Controller::GetRgb |
( |
unsigned char * | rgb | ) |
|
acquire new rgb data from the Kinect camera
- Parameters
-
rgb | pointer to memory location where rgb information should be stored |
Definition at line 295 of file mitkKinectV2Controller.cpp.
◆ GetRGBCaptureHeight()
int mitk::KinectV2Controller::GetRGBCaptureHeight |
( |
| ) |
const |
◆ GetVtkPolyData()
vtkSmartPointer< vtkPolyData > mitk::KinectV2Controller::GetVtkPolyData |
( |
| ) |
|
◆ InitializeMultiFrameReader()
bool mitk::KinectV2Controller::InitializeMultiFrameReader |
( |
| ) |
|
Setup MultiFrameReader of Kinect V2. This reader can acquire different types of data. Here it is used to acquire depth, RGB and infrared images.
Definition at line 150 of file mitkKinectV2Controller.cpp.
◆ itkCloneMacro()
mitk::KinectV2Controller::itkCloneMacro |
( |
Self | | ) |
const |
◆ itkFactorylessNewMacro()
mitk::KinectV2Controller::itkFactorylessNewMacro |
( |
Self | | ) |
|
◆ mitkClassMacroItkParent()
◆ OpenCameraConnection()
bool mitk::KinectV2Controller::OpenCameraConnection |
( |
| ) |
|
|
virtual |
opens a connection to the Kinect V2 camera.
- Exceptions
-
mitkException | In case of no connection, an exception is thrown! |
Definition at line 114 of file mitkKinectV2Controller.cpp.
◆ SetGenerateTriangularMesh()
void mitk::KinectV2Controller::SetGenerateTriangularMesh |
( |
bool | flag | ) |
|
◆ SetTriangulationThreshold()
void mitk::KinectV2Controller::SetTriangulationThreshold |
( |
double | triangulationThreshold | ) |
|
◆ UpdateCamera()
bool mitk::KinectV2Controller::UpdateCamera |
( |
| ) |
|
|
virtual |
updates the camera. The update function of the hardware interface is called only when new data is available
- Exceptions
-
mitkException | In case of no connection, an exception is thrown! |
Definition at line 189 of file mitkKinectV2Controller.cpp.
The documentation for this class was generated from the following files: