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

Depth Image Generator. More...

#include <OpenNIUtils.h>

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

List of all members.

Public Member Functions

 OpenNIDepthGenerator (int num)
 Creates DepthGenerator number num from Context.
 ~OpenNIDepthGenerator ()
 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::ImgBaseinitBuffer ()
 Creates an core::Img16s for ReadWriteBuffer.
MapGeneratorOptionsgetMapGeneratorOptions ()
 getter for MapGeneratorOptions

Private Attributes

xn::DepthGenerator * m_DepthGenerator
 the underlying core::depth generator
xn::DepthMetaData m_DepthMD
 a DepthMetaData object holding image information
MapGeneratorOptionsm_Options
 pointer to internally used MapGeneratorOptions
unsigned int m_FrameId
 the id of the last grabbed frame

Detailed Description

Depth Image Generator.


Constructor & Destructor Documentation

Creates DepthGenerator 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

a DepthMetaData object holding image information

the id of the last grabbed frame

pointer to internally used MapGeneratorOptions


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