The FrameGrabber abstract interface, can be used to grab images from a specialized source.
More...
#include <FrameGrabber.hpp>
Inherited by GLFrameGrabber.
The FrameGrabber abstract interface, can be used to grab images from a specialized source.
◆ FrameGrabber()
constructor
- Parameters
-
width | [in] width of the image that this FrameGrabber uses. |
height | [in] height of the image that this FrameGrabber uses. |
encoding | [in] color encoding of the image that this FrameGrabber uses. |
◆ getHeight()
returns the height of the image
- Returns
- the height of the image
◆ getImage()
returns the image
- Returns
- the image
◆ getWidth()
returns the width of the image
- Returns
- the width of the image
◆ resize() [1/2]
virtual void resize |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
virtual |
resizes the image that this frameGrabber use. The colorcode will default to the one that FrameGrabber was initialized with.
- Parameters
-
width | [in] width of image |
height | [in] height of image |
Reimplemented in GLFrameGrabber.
◆ resize() [2/2]
resizes the image that this frameGrabber use.
- Parameters
-
width | [in] width of image. |
height | [in] height of image. |
colorCode | [in] Color encoding of the image. |
Reimplemented in GLFrameGrabber.
The documentation for this class was generated from the following file: