24 #ifndef CAPTUREPLUGINPTGREY_H
25 #define CAPTUREPLUGINPTGREY_H
37 # ifdef ALVAR_Capture_Plugin_Ptgrey_BUILD
38 # define ALVAR_CAPTURE_PLUGIN_PTGREY_EXPORT __declspec(dllexport)
40 # define ALVAR_CAPTURE_PLUGIN_PTGREY_EXPORT __declspec(dllimport)
43 # define ALVAR_CAPTURE_PLUGIN_PTGREY_EXPORT
48 #include "FlyCapture2Defs.h"
51 namespace FlyCapture2 {
90 FlyCapture2::Camera *mCamera;
91 FlyCapture2::Image * mImage;
92 FlyCapture2::PGRGuid mGUID;
120 extern "C" ALVAR_CAPTURE_PLUGIN_PTGREY_EXPORT
void
This file implements a capture interface.
This file implements a capture plugin interface.
CaptureDevice holder for camera information.
Capture interface that plugins must implement.
CapturePlugin interface that plugins must implement.
std::vector< CaptureDevice > CaptureDeviceVector
Vector of CaptureDevices.
Class for serializing class content to/from file or std::iostream.
Implementation of CapturePlugin interface for Ptgrey plugin.
Capture * createCapture(const CaptureDevice captureDevice)
Create Capture class. Transfers onwership to the caller.
~CapturePluginPtgrey()
Destructor.
CapturePluginPtgrey(const std::string &captureType)
Constructor.
CaptureDeviceVector enumerateDevices()
Enumerate capture devices currently available.
Implementation of Capture interface for Ptgrey plugin.
bool Serialize(Serialization *serialization)
Performs serialization of the class members and configuration.
cv::Mat captureImage()
Capture one image from the camera.
void stop()
Stops the camera capture.
~CapturePtgrey()
Destructor.
bool start()
Starts the camera capture.
bool showSettingsDialog()
Show the settings dialog of the camera.
CapturePtgrey(const CaptureDevice captureDevice)
Constructor.
std::string SerializeId()
The identification of the class for serialization.