7#ifndef YARP_DEV_IFRAMEGRABBERIMAGE_H
8#define YARP_DEV_IFRAMEGRABBERIMAGE_H
79template <
typename ImageType>
107 std::vector<vertex_t> vertices,
contains the definition of a Vector type
Read a YARP-format image from a device.
virtual int width() const =0
Return the width of each frame.
virtual int height() const =0
Return the height of each frame.
virtual ~IFrameGrabberImageBase()
Destructor.
Read a YARP-format image (of a specific type) from a device.
virtual yarp::dev::ReturnValue getImageCrop(yarp::dev::cropType_id_t cropType, std::vector< vertex_t > vertices, ImageType &image)
Get a crop of the image from the frame grabber.
virtual yarp::dev::ReturnValue getImage(ImageType &image)=0
Get an image from the frame grabber.
An interface for reading from a network connection.
An interface for writing to a network connection.
This is a base class for objects that can be both read from and be written to the YARP network.
For streams capable of holding different kinds of content, check what they actually have.