YARP
Yet Another Robot Platform
yarp::dev::IFrameGrabberRgb Class Referenceabstract

RGB Interface to a FrameGrabber device. More...

#include <yarp/dev/FrameGrabberInterfaces.h>

+ Inheritance diagram for yarp::dev::IFrameGrabberRgb:

Public Member Functions

virtual ~IFrameGrabberRgb ()
 
virtual bool getRgbBuffer (unsigned char *buffer)=0
 Get a rgb buffer from the frame grabber, if required demosaicking/color reconstruction is applied. More...
 
virtual int height () const =0
 Return the height of each frame. More...
 
virtual int width () const =0
 Return the width of each frame. More...
 

Detailed Description

RGB Interface to a FrameGrabber device.

Definition at line 209 of file FrameGrabberInterfaces.h.

Constructor & Destructor Documentation

◆ ~IFrameGrabberRgb()

virtual yarp::dev::IFrameGrabberRgb::~IFrameGrabberRgb ( )
inlinevirtual

Definition at line 212 of file FrameGrabberInterfaces.h.

Member Function Documentation

◆ getRgbBuffer()

virtual bool yarp::dev::IFrameGrabberRgb::getRgbBuffer ( unsigned char *  buffer)
pure virtual

Get a rgb buffer from the frame grabber, if required demosaicking/color reconstruction is applied.

Parameters
bufferpointer to the buffer to be filled (must be previously allocated)
Returns
true/false upon success/failure

Implemented in V4L_camera, and USBCameraDriver.

◆ height()

virtual int yarp::dev::IFrameGrabberRgb::height ( ) const
pure virtual

Return the height of each frame.

Returns
image height

Implemented in V4L_camera, USBCameraDriverRaw, USBCameraDriverRgb, and USBCameraDriver.

◆ width()

virtual int yarp::dev::IFrameGrabberRgb::width ( ) const
pure virtual

Return the width of each frame.

Returns
image width

Implemented in V4L_camera, USBCameraDriverRaw, USBCameraDriverRgb, and USBCameraDriver.


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