5 #include <CoreGraphics/CoreGraphics.h> 7 #include <grabber/OsxFrameGrabberMock.h> 11 #include <utils/ColorRgb.h> 12 #include <hyperion/Grabber.h> 27 OsxFrameGrabber(
const unsigned display,
const unsigned width,
const unsigned height);
47 unsigned _screenIndex;
50 CGDirectDisplayID _display;
OsxFrameGrabber(const unsigned display, const unsigned width, const unsigned height)
Construct a OsxFrameGrabber that will capture snapshots with specified dimensions.
Definition: OsxFrameGrabber.cpp:8
virtual void setDisplayIndex(int index)
Overwrite Grabber.h implementation.
Definition: OsxFrameGrabber.cpp:62
int grabFrame(Image< ColorRgb > &image)
Captures a single snapshot of the display and writes the data to the given image. ...
Definition: OsxFrameGrabber.cpp:20
The Grabber class is responsible to apply image resizes (with or without ImageResampler) Overwrite th...
Definition: Grabber.h:17
The OsxFrameGrabber is used for creating snapshots of the display (screenshots)
Definition: OsxFrameGrabber.h:17