Image Component Library (ICL)
|
Generic interface for PointCloud sources. More...
#include <GenericPointCloudGrabber.h>
Public Member Functions | |
GenericPointCloudGrabber () | |
Empty constructor (creates a null instance) | |
GenericPointCloudGrabber (const std::string &sourceType, const std::string &srcDescription) | |
Constructor with initialization. | |
GenericPointCloudGrabber (const utils::ProgArg &pa) | |
direct initialization from program argument | |
~GenericPointCloudGrabber () | |
destructor | |
void | init (const std::string &sourceType, const std::string &srcDescription) |
deferred intialization | |
void | init (const utils::ProgArg &pa) |
deferred initialization from ProgArg (most common perhaps) | |
bool | isNull () const |
not initialized yet? | |
virtual void | grab (PointCloudObjectBase &dst) |
fills the given point cloud with grabbed information | |
virtual const core::Img32f * | getDepthImage () const |
returns the last grabbed point cloud's underlying depth image (if available) | |
virtual const core::Img8u * | getColorImage () const |
returns the last grabbed point cloud's underlying depth image (if available) | |
Private Attributes | |
Data * | m_data |
Generic interface for PointCloud sources.
Empty constructor (creates a null instance)
icl::geom::GenericPointCloudGrabber::GenericPointCloudGrabber | ( | const std::string & | sourceType, |
const std::string & | srcDescription | ||
) |
Constructor with initialization.
Possible plugins: cam device description is then: "depth-cam-type:depth-cam-id:depth-cam-file" + optionally ":color-cam-type:color-cam-id:color-cam-file" file filename pattern (not yet implemented) rsb rsb-transport-list: rsb-scope-list
direct initialization from program argument
Prog-arg is assumed to have 2 sub-args
virtual const core::Img8u* icl::geom::GenericPointCloudGrabber::getColorImage | ( | ) | const [virtual] |
returns the last grabbed point cloud's underlying depth image (if available)
Reimplemented from icl::geom::PointCloudGrabber.
virtual const core::Img32f* icl::geom::GenericPointCloudGrabber::getDepthImage | ( | ) | const [virtual] |
returns the last grabbed point cloud's underlying depth image (if available)
Reimplemented from icl::geom::PointCloudGrabber.
virtual void icl::geom::GenericPointCloudGrabber::grab | ( | PointCloudObjectBase & | dst | ) | [virtual] |
fills the given point cloud with grabbed information
Implements icl::geom::PointCloudGrabber.
void icl::geom::GenericPointCloudGrabber::init | ( | const std::string & | sourceType, |
const std::string & | srcDescription | ||
) |
deferred intialization
void icl::geom::GenericPointCloudGrabber::init | ( | const utils::ProgArg & | pa | ) |
deferred initialization from ProgArg (most common perhaps)
Prog-arg is assumed to have 2 sub-args
bool icl::geom::GenericPointCloudGrabber::isNull | ( | ) | const |
not initialized yet?
Data* icl::geom::GenericPointCloudGrabber::m_data [private] |