Fawkes API
Fawkes Development Version
|
23 #ifndef _PLUGINS_OPENNI_DEPTH_THREAD_H_
24 #define _PLUGINS_OPENNI_DEPTH_THREAD_H_
26 #include <aspect/blocked_timing.h>
27 #include <aspect/clock.h>
28 #include <aspect/configurable.h>
29 #include <aspect/logging.h>
30 #include <core/threading/thread.h>
31 #include <core/utils/lockptr.h>
32 #include <plugins/openni/aspect/openni.h>
35 #if defined(__linux__) && not defined(linux)
38 #if defined(__i386__) && not defined(i386)
41 #include <XnCppWrapper.h>
43 namespace firevision {
44 class SharedMemoryImageBuffer;
71 xn::DepthGenerator *depth_gen_;
72 xn::DepthMetaData * depth_md_;
76 size_t depth_bufsize_;
77 unsigned int depth_width_;
78 unsigned int depth_height_;
Thread aspect to use blocked timing.
Shared memory image buffer.
OpenNiDepthThread()
Constructor.
virtual ~OpenNiDepthThread()
Destructor.
virtual void finalize()
Finalize the thread.
Thread aspect to get access to the OpenNI context.
OpenNI Depth Provider Thread.
virtual void loop()
Code to execute in the thread.
Thread aspect to log output.
A class for handling time.
virtual void init()
Initialize the thread.
Thread class encapsulation of pthreads.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread aspect to access configuration data.
Thread aspect that allows to obtain the current time from the clock.