Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
icl::io::icl_openni::OpenNIRgbGenerator Class Reference

RGB Image Generator. More...

#include <OpenNIUtils.h>

Inheritance diagram for icl::io::icl_openni::OpenNIRgbGenerator:
icl::io::icl_openni::OpenNIMapGenerator icl::io::icl_openni::ReadWriteBufferHandler< core::ImgBase >

List of all members.

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::Img8uinitBuffer ()
 Creates an core::Img8u for ReadWriteBuffer.
MapGeneratorOptionsgetMapGeneratorOptions ()
 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
MapGeneratorOptionsm_Options
 pointer to internally used MapGeneratorOptions

Detailed Description

RGB Image Generator.


Constructor & Destructor Documentation

Creates RgbGenerator number num from Context.

Destructor frees all resouurces.


Member Function Documentation

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.

returns underlying xn::MapGenerator instance

Implements icl::io::icl_openni::OpenNIMapGenerator.

checks whether a new frame is available

Implements icl::io::icl_openni::OpenNIMapGenerator.


Member Data Documentation

the underlying core::depth generator

The Xtion cam does not provide rgb images without depthGenerator being created.

A NodeInfo for the used device.

the id of the last grabbed frame

pointer to internally used MapGeneratorOptions

the underlying rgb-image generator

a ImagehMetaData object holding image information


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines