Implementation of Capture interface for Highgui plugin.
More...
#include <CapturePluginHighgui.h>
|
CaptureDevice | mCaptureDevice |
|
unsigned long | mXResolution |
|
unsigned long | mYResolution |
|
bool | mIsCapturing |
|
Implementation of Capture interface for Highgui plugin.
Definition at line 60 of file CapturePluginHighgui.h.
◆ CaptureHighgui()
Constructor.
- Parameters
-
captureDevice | Information of which camera to create. |
◆ captureImage()
Capture one image from the camera.
Do not modify this image.
- Returns
- The captured image.
Implements Capture.
◆ Serialize()
Performs serialization of the class members and configuration.
- Parameters
-
- Returns
- True if the serialization of the class was successful, false otherwise.
Implements Capture.
◆ setResolution()
void setResolution |
( |
const unsigned long |
xResolution, |
|
|
const unsigned long |
yResolution |
|
) |
| |
|
virtual |
Set the resolution.
- Parameters
-
xResolution | The resolution along the x axis (horizontal). |
yResolution | The resolution along the y axis (vertical). |
Reimplemented from Capture.
◆ showSettingsDialog()
bool showSettingsDialog |
( |
| ) |
|
|
virtual |
Show the settings dialog of the camera.
- Returns
- True if the settings dialog was shown, false otherwise.
Implements Capture.
◆ start()
Starts the camera capture.
- Returns
- True if the camera was properly initialized, false otherwise.
Implements Capture.
The documentation for this class was generated from the following file: