Fawkes API  Fawkes Development Version
fawkes::OpenNiAspect Class Reference

Thread aspect to get access to the OpenNI context. More...

#include <>>

Inheritance diagram for fawkes::OpenNiAspect:

List of all members.

Public Member Functions

 OpenNiAspect ()
 Constructor.
virtual ~OpenNiAspect ()
 Virtual empty destructor.

Protected Attributes

LockPtr< xn::Context > openni
 Central OpenNI context.

Friends

class OpenNiAspectIniFin

Detailed Description

Thread aspect to get access to the OpenNI context.

Give this aspect to your thread to interact with the central OpenNI context. Use this as a last resort, first check if the desired information is available via the blackboard (e.g. user skeleton data) or via FireVision (camera images).

Author:
Tim Niemueller

Constructor & Destructor Documentation

fawkes::OpenNiAspect::OpenNiAspect ( )

Constructor.

Definition at line 49 of file openni.cpp.

fawkes::OpenNiAspect::~OpenNiAspect ( ) [virtual]

Virtual empty destructor.

Definition at line 56 of file openni.cpp.


Member Data Documentation

fawkes:LockPtr< xn::Context > fawkes::OpenNiAspect::openni [protected]

Central OpenNI context.

Make sure you use proper locking in your application when using the class, or chaos and havoc will come upon you.

Definition at line 48 of file openni.h.

Referenced by OpenNiDepthThread::init(), OpenNiDepthThread::loop(), OpenNiHandTrackerThread::init(), OpenNiImageThread::init(), OpenNiImageThread::loop(), OpenNiPointCloudThread::init(), OpenNiPointCloudThread::loop(), and OpenNiUserTrackerThread::init().


The documentation for this class was generated from the following files: