Image Component Library (ICL)
Public Member Functions | Private Attributes | List of all members
icl::io::icl_openni::OpenNIIRGenerator Class Reference

IR Image Generator. More...

#include <OpenNIUtils.h>

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

Public Member Functions

 OpenNIIRGenerator (int num)
 Creates IRGenerator number num from Context. More...
 
 ~OpenNIIRGenerator ()
 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::Img16sinitBuffer ()
 Creates an core::Img8u for ReadWriteBuffer. More...
 
MapGeneratorOptionsgetMapGeneratorOptions ()
 getter for MapGeneratorOptions More...
 

Private Attributes

xn::NodeInfo * m_DeviceInfo
 A NodeInfo for the used device. More...
 
xn::IRGenerator * m_IrGenerator
 the underlying it-image generator More...
 
xn::IRMetaData m_IrMD
 a ImagehMetaData object holding image information More...
 
MapGeneratorOptionsm_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 OpenNIMapGeneratorcreateGenerator (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...
 

Detailed Description

IR Image Generator.

Constructor & Destructor Documentation

◆ OpenNIIRGenerator()

icl::io::icl_openni::OpenNIIRGenerator::OpenNIIRGenerator ( int  num)

Creates IRGenerator number num from Context.

◆ ~OpenNIIRGenerator()

icl::io::icl_openni::OpenNIIRGenerator::~OpenNIIRGenerator ( )

Destructor frees all resouurces.

Member Function Documentation

◆ acquireImage()

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.

◆ getGeneratorType()

Generators icl::io::icl_openni::OpenNIIRGenerator::getGeneratorType ( )
virtual

tells the type of the Generator

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

◆ getMapGenerator()

xn::MapGenerator* icl::io::icl_openni::OpenNIIRGenerator::getMapGenerator ( )
virtual

returns underlying xn::MapGenerator instance

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

◆ getMapGeneratorOptions()

MapGeneratorOptions* icl::io::icl_openni::OpenNIIRGenerator::getMapGeneratorOptions ( )
virtual

◆ initBuffer()

core::Img16s* icl::io::icl_openni::OpenNIIRGenerator::initBuffer ( )
virtual

◆ newFrameAvailable()

bool icl::io::icl_openni::OpenNIIRGenerator::newFrameAvailable ( )
virtual

checks whether a new frame is available

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

Member Data Documentation

◆ m_DeviceInfo

xn::NodeInfo* icl::io::icl_openni::OpenNIIRGenerator::m_DeviceInfo
private

A NodeInfo for the used device.

◆ m_FrameId

unsigned int icl::io::icl_openni::OpenNIIRGenerator::m_FrameId
private

the id of the last grabbed frame

◆ m_IrGenerator

xn::IRGenerator* icl::io::icl_openni::OpenNIIRGenerator::m_IrGenerator
private

the underlying it-image generator

◆ m_IrMD

xn::IRMetaData icl::io::icl_openni::OpenNIIRGenerator::m_IrMD
private

a ImagehMetaData object holding image information

◆ m_Options

MapGeneratorOptions* icl::io::icl_openni::OpenNIIRGenerator::m_Options
private

pointer to internally used MapGeneratorOptions


The documentation for this class was generated from the following file: