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

RGB Interface to a FrameGrabber device. More...

#include <yarp/dev/IFrameGrabberRgb.h>

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.

Deprecated:
Since YARP 3.5

Definition at line 28 of file IFrameGrabberRgb.h.

Constructor & Destructor Documentation

◆ ~IFrameGrabberRgb()

yarp::dev::IFrameGrabberRgb::~IFrameGrabberRgb ( )
virtualdefault

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

◆ height()

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

Return the height of each frame.

Returns
image height

◆ width()

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

Return the width of each frame.

Returns
image width

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