Fawkes API
Fawkes Development Version
|
Thread aspect to get access to the OpenNI context. More...
#include <>>
Public Member Functions | |
OpenNiAspect () | |
Constructor. More... | |
virtual | ~OpenNiAspect () |
Virtual empty destructor. More... | |
![]() | |
const std::list< const char * > & | get_aspects () const |
Get list of aspect names attached to a aspected thread. More... | |
Protected Attributes | |
LockPtr< xn::Context > | openni |
Central OpenNI context. More... | |
Friends | |
class | OpenNiAspectIniFin |
Additional Inherited Members | |
![]() | |
void | add_aspect (const char *name) |
Add an aspect to a thread. More... | |
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).
fawkes::OpenNiAspect::OpenNiAspect | ( | ) |
|
virtual |
|
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 OpenNiHandTrackerThread::init(), OpenNiDepthThread::init(), OpenNiImageThread::init(), OpenNiUserTrackerThread::init(), OpenNiPointCloudThread::init(), OpenNiDepthThread::loop(), OpenNiImageThread::loop(), OpenNiPointCloudThread::loop(), and ~OpenNiAspect().