Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions
icl::io::KinectGrabber Struct Reference

Special Grabber implementation for Microsoft's Kinect Device. More...

#include <KinectGrabber.h>

Inheritance diagram for icl::io::KinectGrabber:
icl::io::Grabber icl::utils::Uncopyable icl::utils::Configurable

List of all members.

Public Types

enum  Mode {
  GRAB_RGB_IMAGE, GRAB_BAYER_IMAGE, GRAB_DEPTH_IMAGE, GRAB_IR_IMAGE_8BIT,
  GRAB_IR_IMAGE_10BIT
}

Public Member Functions

ICLIO_API KinectGrabber (Mode mode=GRAB_DEPTH_IMAGE, int deviceID=0, const utils::Size &size=utils::Size::VGA) throw (utils::ICLException)
ICLIO_API ~KinectGrabber ()
 Destructor.
virtual ICLIO_API const
core::ImgBase
acquireImage ()
 grabs a new image
ICLIO_API void processPropertyChange (const utils::Configurable::Property &prop)
 callback for changed configurable properties

Static Public Member Functions

static ICLIO_API const
std::vector
< GrabberDeviceDescription > & 
getDeviceList (bool rescan)
 returns a list of attached kinect devices

Protected Attributes

Impl * m_impl
 internal hidden implementation class

Private Member Functions

void updateState ()

Detailed Description

Special Grabber implementation for Microsoft's Kinect Device.

This class implements ICL's Grabber interface for Microsofts Kinect Device. Internally, it uses libfreenect to access the device.


Member Enumeration Documentation

Enumerator:
GRAB_RGB_IMAGE 

grabs rgb images form the kinects rgb camera

GRAB_BAYER_IMAGE 

not supported yet

GRAB_DEPTH_IMAGE 

grabs the core::depth image from kinect

GRAB_IR_IMAGE_8BIT 

grabs the kinects IR-image in most common 8Bit depth

GRAB_IR_IMAGE_10BIT 

grabs the kinects IR-image in 10Bit core::depth (use depth16s at least)


Constructor & Destructor Documentation

Destructor.


Member Function Documentation

grabs a new image

Reimplemented from icl::io::Grabber.

static ICLIO_API const std::vector<GrabberDeviceDescription>& icl::io::KinectGrabber::getDeviceList ( bool  rescan) [static]

returns a list of attached kinect devices

callback for changed configurable properties

Reimplemented from icl::io::Grabber.


Member Data Documentation

Impl* icl::io::KinectGrabber::m_impl [protected]

internal hidden implementation class

hidden internal data


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines