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 |
◆ Clone()
Pointer mitk::KinectController::Clone |
( |
| ) |
const |
◆ CloseCameraConnection()
virtual bool mitk::KinectController::CloseCameraConnection |
( |
| ) |
|
|
virtual |
closes the connection to the camera
◆ 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 |
◆ 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 |
◆ 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 |
◆ GetUseIR()
bool mitk::KinectController::GetUseIR |
( |
| ) |
const |
◆ mitkClassMacroItkParent()
mitk::KinectController::mitkClassMacroItkParent |
( |
KinectController |
, |
|
|
itk::Object |
|
|
) |
| |
◆ New()
static Pointer mitk::KinectController::New |
( |
| ) |
|
|
static |
◆ OpenCameraConnection()
virtual bool mitk::KinectController::OpenCameraConnection |
( |
| ) |
|
|
virtual |
opens a connection to the Kinect camera.
- Exceptions
-
mitkException | In case of no connection, an exception is thrown! |
◆ SetUseIR()
void mitk::KinectController::SetUseIR |
( |
bool |
useIR | ) |
|
◆ UpdateCamera()
virtual 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! |
The documentation for this class was generated from the following file: