Image Component Library (ICL)
|
abstract super-class of all Image generators More...
#include <OpenNIUtils.h>
Public Types | |
enum | Generators { RGB, DEPTH, IR, NOT_SPECIFIED = -1 } |
an enum listing all supported data generators More... | |
Public Member Functions | |
virtual bool | acquireImage (core::ImgBase *dest)=0 |
grab function grabs an image returns whether grabbing worked More... | |
virtual bool | newFrameAvailable ()=0 |
checks whether a new frame is available More... | |
virtual Generators | getGeneratorType ()=0 |
tells the type of the Generator More... | |
virtual xn::MapGenerator * | getMapGenerator ()=0 |
returns underlying xn::MapGenerator instance More... | |
virtual core::ImgBase * | initBuffer ()=0 |
Creates an core::ImgBase for ReadWriteBuffer. More... | |
virtual MapGeneratorOptions * | getMapGeneratorOptions ()=0 |
getter for MapGeneratorOptions More... | |
Static Public Member Functions | |
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... | |
abstract super-class of all Image generators
|
pure virtual |
grab function grabs an image returns whether grabbing worked
Implemented in icl::io::icl_openni::OpenNIIRGenerator, icl::io::icl_openni::OpenNIRgbGenerator, and icl::io::icl_openni::OpenNIDepthGenerator.
|
static |
Creates the corresponding Generator.
|
static |
creates a string describing the current MapOutputMode
|
pure virtual |
tells the type of the Generator
Implemented in icl::io::icl_openni::OpenNIIRGenerator, icl::io::icl_openni::OpenNIRgbGenerator, and icl::io::icl_openni::OpenNIDepthGenerator.
|
pure virtual |
returns underlying xn::MapGenerator instance
Implemented in icl::io::icl_openni::OpenNIIRGenerator, icl::io::icl_openni::OpenNIRgbGenerator, and icl::io::icl_openni::OpenNIDepthGenerator.
|
pure virtual |
getter for MapGeneratorOptions
Implemented in icl::io::icl_openni::OpenNIIRGenerator, icl::io::icl_openni::OpenNIRgbGenerator, and icl::io::icl_openni::OpenNIDepthGenerator.
|
static |
creates an info string for MapOutputModes of MapGenerator gen.
|
pure virtual |
Creates an core::ImgBase for ReadWriteBuffer.
Implements icl::io::icl_openni::ReadWriteBufferHandler< core::ImgBase >.
Implemented in icl::io::icl_openni::OpenNIIRGenerator, icl::io::icl_openni::OpenNIRgbGenerator, and icl::io::icl_openni::OpenNIDepthGenerator.
|
pure virtual |
checks whether a new frame is available
Implemented in icl::io::icl_openni::OpenNIIRGenerator, icl::io::icl_openni::OpenNIRgbGenerator, and icl::io::icl_openni::OpenNIDepthGenerator.