Image Component Library (ICL)
|
Depth Image Generator. More...
#include <OpenNIUtils.h>
Public Member Functions | |
OpenNIDepthGenerator (int num) | |
Creates DepthGenerator number num from Context. More... | |
~OpenNIDepthGenerator () | |
Destructor frees all resouurces. More... | |
bool | acquireImage (core::ImgBase *dest) |
grab function grabs an image returns whether grabbing worked More... | |
bool | newFrameAvailable () |
checks whether a new frame is available More... | |
Generators | getGeneratorType () |
tells the type of the Generator More... | |
xn::MapGenerator * | getMapGenerator () |
returns underlying xn::MapGenerator instance More... | |
core::ImgBase * | initBuffer () |
Creates an core::Img16s for ReadWriteBuffer. More... | |
MapGeneratorOptions * | getMapGeneratorOptions () |
getter for MapGeneratorOptions More... | |
Private Attributes | |
xn::DepthGenerator * | m_DepthGenerator |
the underlying core::depth generator More... | |
xn::DepthMetaData | m_DepthMD |
a DepthMetaData object holding image information More... | |
MapGeneratorOptions * | m_Options |
pointer to internally used MapGeneratorOptions More... | |
unsigned int | m_FrameId |
the id of the last grabbed frame More... | |
Additional Inherited Members | |
Public Types inherited from icl::io::icl_openni::OpenNIMapGenerator | |
enum | Generators { RGB, DEPTH, IR, NOT_SPECIFIED = -1 } |
an enum listing all supported data generators More... | |
Static Public Member Functions inherited from icl::io::icl_openni::OpenNIMapGenerator | |
static OpenNIMapGenerator * | createGenerator (std::string id) |
Creates the corresponding Generator. More... | |
static std::string | getMapOutputModeInfo (xn::MapGenerator *gen) |
creates an info string for MapOutputModes of MapGenerator gen. More... | |
static std::string | getCurrentMapOutputMode (xn::MapGenerator *gen) |
creates a string describing the current MapOutputMode More... | |
Depth Image Generator.
icl::io::icl_openni::OpenNIDepthGenerator::OpenNIDepthGenerator | ( | int | num | ) |
Creates DepthGenerator number num from Context.
icl::io::icl_openni::OpenNIDepthGenerator::~OpenNIDepthGenerator | ( | ) |
Destructor frees all resouurces.
|
virtual |
grab function grabs an image returns whether grabbing worked
Implements icl::io::icl_openni::OpenNIMapGenerator.
|
virtual |
tells the type of the Generator
Implements icl::io::icl_openni::OpenNIMapGenerator.
|
virtual |
returns underlying xn::MapGenerator instance
Implements icl::io::icl_openni::OpenNIMapGenerator.
|
virtual |
getter for MapGeneratorOptions
Implements icl::io::icl_openni::OpenNIMapGenerator.
|
virtual |
Creates an core::Img16s for ReadWriteBuffer.
Implements icl::io::icl_openni::OpenNIMapGenerator.
|
virtual |
checks whether a new frame is available
Implements icl::io::icl_openni::OpenNIMapGenerator.
|
private |
the underlying core::depth generator
|
private |
a DepthMetaData object holding image information
|
private |
the id of the last grabbed frame
|
private |
pointer to internally used MapGeneratorOptions