Image Component Library (ICL)
|
RGB Image Generator. More...
#include <OpenNIUtils.h>
Public Member Functions | |
OpenNIRgbGenerator (int num) | |
Creates RgbGenerator number num from Context. | |
~OpenNIRgbGenerator () | |
Destructor frees all resouurces. | |
bool | acquireImage (core::ImgBase *dest) |
grab function grabs an image returns whether grabbing worked | |
bool | newFrameAvailable () |
checks whether a new frame is available | |
Generators | getGeneratorType () |
tells the type of the Generator | |
xn::MapGenerator * | getMapGenerator () |
returns underlying xn::MapGenerator instance | |
core::Img8u * | initBuffer () |
Creates an core::Img8u for ReadWriteBuffer. | |
MapGeneratorOptions * | getMapGeneratorOptions () |
getter for MapGeneratorOptions | |
Private Attributes | |
xn::NodeInfo * | m_DeviceInfo |
A NodeInfo for the used device. | |
xn::ImageGenerator * | m_RgbGenerator |
the underlying rgb-image generator | |
unsigned int | m_FrameId |
the id of the last grabbed frame | |
xn::DepthGenerator * | m_DepthGenerator |
the underlying core::depth generator | |
xn::IRGenerator * | m_IrGenerator |
xn::ImageMetaData | m_RgbMD |
a ImagehMetaData object holding image information | |
MapGeneratorOptions * | m_Options |
pointer to internally used MapGeneratorOptions |
RGB Image Generator.
Creates RgbGenerator number num from Context.
Destructor frees all resouurces.
bool icl::io::icl_openni::OpenNIRgbGenerator::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::OpenNIRgbGenerator::getMapGenerator | ( | ) | [virtual] |
returns underlying xn::MapGenerator instance
Implements icl::io::icl_openni::OpenNIMapGenerator.
getter for MapGeneratorOptions
Implements icl::io::icl_openni::OpenNIMapGenerator.
core::Img8u* icl::io::icl_openni::OpenNIRgbGenerator::initBuffer | ( | ) | [virtual] |
Creates an core::Img8u for ReadWriteBuffer.
Implements icl::io::icl_openni::OpenNIMapGenerator.
bool icl::io::icl_openni::OpenNIRgbGenerator::newFrameAvailable | ( | ) | [virtual] |
checks whether a new frame is available
Implements icl::io::icl_openni::OpenNIMapGenerator.
xn::DepthGenerator* icl::io::icl_openni::OpenNIRgbGenerator::m_DepthGenerator [private] |
the underlying core::depth generator
The Xtion cam does not provide rgb images without depthGenerator being created.
xn::NodeInfo* icl::io::icl_openni::OpenNIRgbGenerator::m_DeviceInfo [private] |
A NodeInfo for the used device.
unsigned int icl::io::icl_openni::OpenNIRgbGenerator::m_FrameId [private] |
the id of the last grabbed frame
xn::IRGenerator* icl::io::icl_openni::OpenNIRgbGenerator::m_IrGenerator [private] |
pointer to internally used MapGeneratorOptions
xn::ImageGenerator* icl::io::icl_openni::OpenNIRgbGenerator::m_RgbGenerator [private] |
the underlying rgb-image generator
xn::ImageMetaData icl::io::icl_openni::OpenNIRgbGenerator::m_RgbMD [private] |
a ImagehMetaData object holding image information