Interface to the Kinect camera.
More...
#include <mitkKinectController.h>
Interface to the Kinect camera.
Definition at line 34 of file mitkKinectController.h.
mitk::KinectController::KinectController |
( |
| ) |
|
|
protected |
mitk::KinectController::~KinectController |
( |
| ) |
|
|
protected |
Pointer mitk::KinectController::Clone |
( |
| ) |
const |
bool mitk::KinectController::CloseCameraConnection |
( |
| ) |
|
|
virtual |
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 |
rgb | pointer to memory location where rgb information should be stored |
Definition at line 198 of file mitkKinectController.cpp.
void mitk::KinectController::GetAmplitudes |
( |
float * |
amplitudes | ) |
|
unsigned int mitk::KinectController::GetCaptureHeight |
( |
| ) |
const |
unsigned int mitk::KinectController::GetCaptureWidth |
( |
| ) |
const |
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 170 of file mitkKinectController.cpp.
void mitk::KinectController::GetIntensities |
( |
float * |
intensities | ) |
|
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 182 of file mitkKinectController.cpp.
bool mitk::KinectController::GetUseIR |
( |
| ) |
const |
mitk::KinectController::mitkClassMacroItkParent |
( |
KinectController |
, |
|
|
itk::Object |
|
|
) |
| |
static Pointer mitk::KinectController::New |
( |
| ) |
|
|
static |
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 80 of file mitkKinectController.cpp.
References MITK_ERROR.
void mitk::KinectController::SetUseIR |
( |
bool |
useIR | ) |
|
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 160 of file mitkKinectController.cpp.
The documentation for this class was generated from the following files: