The QtWrapper uses QtFramework API's to get a picture from system.
More...
#include <QtWrapper.h>
|
|
virtual void | action () |
| | Performs a single frame grab and computes the led-colors.
|
| |
| void | setVideoMode (const VideoMode videoMode) |
| | Set the video mode (2D/3D) More...
|
| |
|
virtual void | action ()=0 |
| | virtual method, should perform single frame grab and computes the led-colors
|
| |
| virtual void | setVideoMode (const VideoMode &videoMode) |
| | Set the video mode (2D/3D) More...
|
| |
| virtual void | setCropping (unsigned cropLeft, unsigned cropRight, unsigned cropTop, unsigned cropBottom) |
| | Set the crop values. More...
|
| |
| virtual void | handleSettingsUpdate (const settings::type &type, const QJsonDocument &config) |
| | Handle settings update from HyperionDaemon Settingsmanager emit. More...
|
| |
|
| | QtWrapper (int cropLeft, int cropRight, int cropTop, int cropBottom, int pixelDecimation, int display, const unsigned updateRate_Hz) |
| | Constructs the framebuffer frame grabber with a specified grab size and update rate. More...
|
| |
| virtual | ~QtWrapper () |
| | Destructor of this qt frame grabber. More...
|
| |
|
| QtWrapper (int grabInterval, int cropLeft, int cropRight, int cropTop, int cropBottom, int pixelDecimation, int display) |
| |
|
const Image< ColorRgb > & | getScreenshot () |
| |
|
void | start () |
| | Starts the timed capturing of screenshots.
|
| |
|
void | stop () |
| | Stop grabber.
|
| |
|
| GrabberWrapper (QString grabberName, Grabber *ggrabber, unsigned width, unsigned height, const unsigned updateRate_Hz=0) |
| |
|
template<typename Grabber_T > |
| bool | transferFrame (Grabber_T &grabber) |
| |
The QtWrapper uses QtFramework API's to get a picture from system.
§ QtWrapper()
| QtWrapper::QtWrapper |
( |
int |
cropLeft, |
|
|
int |
cropRight, |
|
|
int |
cropTop, |
|
|
int |
cropBottom, |
|
|
int |
pixelDecimation, |
|
|
int |
display, |
|
|
const unsigned |
updateRate_Hz |
|
) |
| |
Constructs the framebuffer frame grabber with a specified grab size and update rate.
- Parameters
-
| [in] | cropLeft | Remove from left [pixels] |
| [in] | cropRight | Remove from right [pixels] |
| [in] | cropTop | Remove from top [pixels] |
| [in] | cropBottom | Remove from bottom [pixels] |
| [in] | pixelDecimation | Decimation factor for image [pixels] |
| [in] | updateRate_Hz | The image grab rate [Hz] |
§ ~QtWrapper()
| virtual QtWrapper::~QtWrapper |
( |
| ) |
|
|
inlinevirtual |
Destructor of this qt frame grabber.
Releases any claimed resources.
§ setVideoMode
| void QtWrapper::setVideoMode |
( |
const VideoMode |
videoMode | ) |
|
|
slot |
Set the video mode (2D/3D)
- Parameters
-
| [in] | mode | The new video mode |
The documentation for this class was generated from the following files:
- include/grabber/QtWrapper.h
- libsrc/grabber/qt/QtWrapper.cpp