6 #include <utils/ColorRgb.h> 7 #include <hyperion/Grabber.h> 18 QtGrabber(
int cropLeft,
int cropRight,
int cropTop,
int cropBottom,
int pixelDecimation,
int display);
54 virtual void setCropping(
unsigned cropLeft,
unsigned cropRight,
unsigned cropTop,
unsigned cropBottom);
66 void geometryChanged(
const QRect &geo);
78 int updateScreenDimensions(
const bool& force);
89 unsigned _screenWidth;
90 unsigned _screenHeight;
virtual void setVideoMode(VideoMode mode)
Set a new video mode.
Definition: QtGrabber.cpp:175
virtual bool setWidthHeight(int width, int height)
Apply new width/height values, overwrite Grabber.h implementation as qt doesn't use width/height...
Definition: QtGrabber.h:40
virtual void setDisplayIndex(int index)
Apply display index.
Definition: QtGrabber.cpp:192
The Grabber class is responsible to apply image resizes (with or without ImageResampler) Overwrite th...
Definition: Grabber.h:17
virtual void setCropping(unsigned cropLeft, unsigned cropRight, unsigned cropTop, unsigned cropBottom)
Set the crop values.
Definition: QtGrabber.cpp:186
virtual int grabFrame(Image< ColorRgb > &image)
Captures a single snapshot of the display and writes the data to the given image. ...
Definition: QtGrabber.cpp:97
virtual void setPixelDecimation(int pixelDecimation)
Apply new pixelDecimation.
Definition: QtGrabber.cpp:181
The platform capture implementation based on QT API.
Definition: QtGrabber.h:14