A Context object encapsulating the OpenNI-Context-object.
More...
#include <OpenNIUtils.h>
|
static XnStatus | waitAndUpdate () |
| calls waitAnyUpdateAll on the internal OpenNI context. More...
|
|
static XnStatus | CreateProductionTree (xn::NodeInfo &Tree, xn::ProductionNode &node) |
| calls CreateProductionTree on the internal OpenNI context. More...
|
|
static XnStatus | EnumerateProductionTrees (XnProductionNodeType type, const xn::Query *pQuery, xn::NodeInfoList &TreesList, xn::EnumerationErrors *pErrors=NULL) |
| calls EnumerateProductionTrees on the internal OpenNI context. More...
|
|
static XnStatus | Create (xn::DepthGenerator *generator) |
| calls Create on the internal OpenNI context. More...
|
|
A Context object encapsulating the OpenNI-Context-object.
◆ OpenNIContext()
icl::io::icl_openni::OpenNIContext::OpenNIContext |
( |
| ) |
|
|
private |
This is a singleton class so Constructor is private.
◆ ~OpenNIContext()
icl::io::icl_openni::OpenNIContext::~OpenNIContext |
( |
| ) |
|
|
private |
releases the corresponding OpenNI context object.
◆ Create()
static XnStatus icl::io::icl_openni::OpenNIContext::Create |
( |
xn::DepthGenerator * |
generator | ) |
|
|
static |
calls Create on the internal OpenNI context.
◆ CreateProductionTree()
static XnStatus icl::io::icl_openni::OpenNIContext::CreateProductionTree |
( |
xn::NodeInfo & |
Tree, |
|
|
xn::ProductionNode & |
node |
|
) |
| |
|
static |
calls CreateProductionTree on the internal OpenNI context.
◆ EnumerateProductionTrees()
static XnStatus icl::io::icl_openni::OpenNIContext::EnumerateProductionTrees |
( |
XnProductionNodeType |
type, |
|
|
const xn::Query * |
pQuery, |
|
|
xn::NodeInfoList & |
TreesList, |
|
|
xn::EnumerationErrors * |
pErrors = NULL |
|
) |
| |
|
static |
calls EnumerateProductionTrees on the internal OpenNI context.
◆ getInst()
static OpenNIContext* icl::io::icl_openni::OpenNIContext::getInst |
( |
| ) |
|
|
staticprivate |
initializes the context. only used internally.
◆ waitAndUpdate()
static XnStatus icl::io::icl_openni::OpenNIContext::waitAndUpdate |
( |
| ) |
|
|
static |
calls waitAnyUpdateAll on the internal OpenNI context.
◆ m_Context
xn::Context icl::io::icl_openni::OpenNIContext::m_Context |
|
private |
The internal context object.
◆ m_Initialized
bool icl::io::icl_openni::OpenNIContext::m_Initialized |
|
private |
Tells whether the internal context in initialized or not.
◆ m_Lock
The documentation for this class was generated from the following file: