Interface to the Kinect camera.
More...
#include <mitkKinectController.h>
Interface to the Kinect camera.
Definition at line 30 of file mitkKinectController.h.
◆ KinectController()
mitk::KinectController::KinectController |
( |
| ) |
|
|
protected |
◆ ~KinectController()
mitk::KinectController::~KinectController |
( |
| ) |
|
|
protected |
◆ CloseCameraConnection()
bool mitk::KinectController::CloseCameraConnection |
( |
| ) |
|
|
virtual |
◆ GetAllData()
void mitk::KinectController::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 194 of file mitkKinectController.cpp.
◆ GetAmplitudes()
void mitk::KinectController::GetAmplitudes |
( |
float * | amplitudes | ) |
|
◆ GetCaptureHeight()
unsigned int mitk::KinectController::GetCaptureHeight |
( |
| ) |
const |
◆ GetCaptureWidth()
unsigned int mitk::KinectController::GetCaptureWidth |
( |
| ) |
const |
◆ GetDistances()
void mitk::KinectController::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 166 of file mitkKinectController.cpp.
◆ GetIntensities()
void mitk::KinectController::GetIntensities |
( |
float * | intensities | ) |
|
◆ GetRgb()
void mitk::KinectController::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 178 of file mitkKinectController.cpp.
◆ GetUseIR()
bool mitk::KinectController::GetUseIR |
( |
| ) |
const |
◆ itkCloneMacro()
mitk::KinectController::itkCloneMacro |
( |
Self | | ) |
|
◆ itkFactorylessNewMacro()
mitk::KinectController::itkFactorylessNewMacro |
( |
Self | | ) |
|
◆ mitkClassMacroItkParent()
mitk::KinectController::mitkClassMacroItkParent |
( |
KinectController | , |
|
|
itk::Object | ) |
◆ OpenCameraConnection()
bool mitk::KinectController::OpenCameraConnection |
( |
| ) |
|
|
virtual |
opens a connection to the Kinect camera.
- Exceptions
-
mitkException | In case of no connection, an exception is thrown! |
Definition at line 76 of file mitkKinectController.cpp.
◆ SetUseIR()
void mitk::KinectController::SetUseIR |
( |
bool | useIR | ) |
|
◆ UpdateCamera()
bool mitk::KinectController::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 156 of file mitkKinectController.cpp.
The documentation for this class was generated from the following files: