#include <CameraDriver.h>
|
| GazeboYarpCameraDriver () |
|
virtual | ~GazeboYarpCameraDriver () |
|
virtual bool | open (yarp::os::Searchable &config) |
| Yarp interfaces start here.
|
|
virtual bool | close () |
|
virtual yarp::os::Stamp | getLastInputStamp () |
|
virtual bool | getImage (yarp::sig::ImageOf< yarp::sig::PixelRgb > &image) |
| Get an rgb image from the frame grabber, if required demosaicking/color reconstruction is applied.
|
|
virtual int | height () const |
| Return the height of each frame.
|
|
virtual int | width () const |
| Return the width of each frame.
|
|
virtual bool | captureImage (const unsigned char *_image, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format) |
|
virtual int | getRawBufferSize () |
|
void | print (unsigned char *pixbuf, int pixbuf_w, int pixbuf_h, int x, int y, char *s, int size) |
|
◆ GazeboYarpCameraDriver()
GazeboYarpCameraDriver::GazeboYarpCameraDriver |
( |
| ) |
|
◆ ~GazeboYarpCameraDriver()
GazeboYarpCameraDriver::~GazeboYarpCameraDriver |
( |
| ) |
|
|
virtual |
◆ open()
bool GazeboYarpCameraDriver::open |
( |
yarp::os::Searchable & | config | ) |
|
|
virtual |
Yarp interfaces start here.
◆ close()
bool GazeboYarpCameraDriver::close |
( |
| ) |
|
|
virtual |
◆ getLastInputStamp()
yarp::os::Stamp GazeboYarpCameraDriver::getLastInputStamp |
( |
| ) |
|
|
virtual |
◆ getImage()
bool GazeboYarpCameraDriver::getImage |
( |
yarp::sig::ImageOf< yarp::sig::PixelRgb > & | image | ) |
|
|
virtual |
Get an rgb image from the frame grabber, if required demosaicking/color reconstruction is applied.
- Parameters
-
image | the image to be filled |
- Returns
- true/false upon success/failure
◆ height()
int GazeboYarpCameraDriver::height |
( |
| ) |
const |
|
virtual |
Return the height of each frame.
- Returns
- image height
◆ width()
int GazeboYarpCameraDriver::width |
( |
| ) |
const |
|
virtual |
Return the width of each frame.
- Returns
- image width
◆ captureImage()
bool GazeboYarpCameraDriver::captureImage |
( |
const unsigned char * | _image, |
|
|
unsigned int | _width, |
|
|
unsigned int | _height, |
|
|
unsigned int | _depth, |
|
|
const std::string & | _format ) |
|
virtual |
◆ getRawBufferSize()
int GazeboYarpCameraDriver::getRawBufferSize |
( |
| ) |
|
|
virtual |
◆ print()
void GazeboYarpCameraDriver::print |
( |
unsigned char * | pixbuf, |
|
|
int | pixbuf_w, |
|
|
int | pixbuf_h, |
|
|
int | x, |
|
|
int | y, |
|
|
char * | s, |
|
|
int | size ) |
The documentation for this class was generated from the following files: