Image Component Library (ICL)
|
IR Image Generator. More...
#include <OpenNIUtils.h>
Public Member Functions | |
OpenNIIRGenerator (xn::Context *context, int num) | |
Creates IRGenerator number num from Context. | |
~OpenNIIRGenerator () | |
Destructor frees all resouurces. | |
bool | acquireImage (core::ImgBase *dest) |
grab function grabs an image returns whether grabbing worked | |
Generators | getGeneratorType () |
tells the type of the Generator | |
xn::MapGenerator * | getMapGenerator () |
returns underlying xn::MapGenerator instance | |
core::Img16s * | initBuffer () |
Creates an core::Img8u for ReadWriteBuffer. | |
MapGeneratorOptions * | getMapGeneratorOptions () |
getter for MapGeneratorOptions | |
Private Attributes | |
xn::Context * | m_Context |
the OpenNI context | |
xn::NodeInfo * | m_DeviceInfo |
A NodeInfo for the used device. | |
xn::IRGenerator * | m_IrGenerator |
the underlying it-image generator | |
xn::IRMetaData | m_IrMD |
a ImagehMetaData object holding image information | |
MapGeneratorOptions * | m_Options |
pointer to internally used MapGeneratorOptions |
IR Image Generator.
icl::io::icl_openni::OpenNIIRGenerator::OpenNIIRGenerator | ( | xn::Context * | context, |
int | num | ||
) |
Creates IRGenerator number num from Context.
Destructor frees all resouurces.
bool icl::io::icl_openni::OpenNIIRGenerator::acquireImage | ( | core::ImgBase * | dest | ) | [virtual] |
grab function grabs an image returns whether grabbing worked
Implements icl::io::icl_openni::OpenNIMapGenerator.
tells the type of the Generator
Implements icl::io::icl_openni::OpenNIMapGenerator.
xn::MapGenerator* icl::io::icl_openni::OpenNIIRGenerator::getMapGenerator | ( | ) | [virtual] |
returns underlying xn::MapGenerator instance
Implements icl::io::icl_openni::OpenNIMapGenerator.
getter for MapGeneratorOptions
Implements icl::io::icl_openni::OpenNIMapGenerator.
core::Img16s* icl::io::icl_openni::OpenNIIRGenerator::initBuffer | ( | ) | [virtual] |
Creates an core::Img8u for ReadWriteBuffer.
Implements icl::io::icl_openni::OpenNIMapGenerator.
xn::Context* icl::io::icl_openni::OpenNIIRGenerator::m_Context [private] |
the OpenNI context
xn::NodeInfo* icl::io::icl_openni::OpenNIIRGenerator::m_DeviceInfo [private] |
A NodeInfo for the used device.
xn::IRGenerator* icl::io::icl_openni::OpenNIIRGenerator::m_IrGenerator [private] |
the underlying it-image generator
xn::IRMetaData icl::io::icl_openni::OpenNIIRGenerator::m_IrMD [private] |
a ImagehMetaData object holding image information
pointer to internally used MapGeneratorOptions