The OsxWrapper uses an instance of the OsxFrameGrabber to obtain ImageRgb's from the displayed content.
More...
#include <OsxWrapper.h>
|
virtual void | action () |
| Performs a single frame grab and computes the led-colors.
|
|
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...
|
|
|
| OsxWrapper (const unsigned display, const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz) |
| Constructs the osx frame grabber with a specified grab size and update rate. More...
|
|
virtual | ~OsxWrapper () |
| Destructor of this osx frame grabber. More...
|
|
| OsxWrapper (const unsigned display, const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz) |
|
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 OsxWrapper uses an instance of the OsxFrameGrabber to obtain ImageRgb's from the displayed content.
This ImageRgb is processed to a ColorRgb for each led and commmited to the attached Hyperion.
§ OsxWrapper()
OsxWrapper::OsxWrapper |
( |
const unsigned |
display, |
|
|
const unsigned |
grabWidth, |
|
|
const unsigned |
grabHeight, |
|
|
const unsigned |
updateRate_Hz |
|
) |
| |
Constructs the osx frame grabber with a specified grab size and update rate.
- Parameters
-
[in] | display | Index of the display to grab |
[in] | grabWidth | The width of the grabbed image [pixels] |
[in] | grabHeight | The height of the grabbed images [pixels] |
[in] | updateRate_Hz | The image grab rate [Hz] |
§ ~OsxWrapper()
virtual OsxWrapper::~OsxWrapper |
( |
| ) |
|
|
inlinevirtual |
Destructor of this osx frame grabber.
Releases any claimed resources.
The documentation for this class was generated from the following files:
- include/grabber/OsxWrapper.h
- libsrc/grabber/osx/OsxWrapper.cpp