Implementation of Capture interface for Ptgrey plugin. More...
#include <CapturePluginPtgrey.h>
Public Member Functions | |
IplImage * | captureImage () |
Capture one image from the camera. | |
CapturePtgrey (const CaptureDevice captureDevice) | |
Constructor. | |
bool | Serialize (Serialization *serialization) |
Performs serialization of the class members and configuration. | |
std::string | SerializeId () |
The identification of the class for serialization. | |
bool | showSettingsDialog () |
Show the settings dialog of the camera. | |
bool | start () |
Starts the camera capture. | |
void | stop () |
Stops the camera capture. | |
~CapturePtgrey () | |
Destructor. | |
Private Attributes | |
FlyCapture2::Camera * | mCamera |
int | mChannels |
FlyCapture2::PGRGuid | mGUID |
FlyCapture2::Image * | mImage |
IplImage * | mReturnFrame |
Implementation of Capture interface for Ptgrey plugin.
Definition at line 70 of file CapturePluginPtgrey.h.
alvar::plugins::CapturePtgrey::CapturePtgrey | ( | const CaptureDevice | captureDevice | ) |
Constructor.
captureDevice | Information of which camera to create. |
Definition at line 37 of file CapturePluginPtgrey.cpp.
Destructor.
Definition at line 46 of file CapturePluginPtgrey.cpp.
IplImage * alvar::plugins::CapturePtgrey::captureImage | ( | ) | [virtual] |
Capture one image from the camera.
Do not modify this image.
Implements alvar::Capture.
Definition at line 146 of file CapturePluginPtgrey.cpp.
bool alvar::plugins::CapturePtgrey::Serialize | ( | Serialization * | serialization | ) | [virtual] |
Performs serialization of the class members and configuration.
serialization | The Serialization object. |
Implements alvar::Capture.
Definition at line 169 of file CapturePluginPtgrey.cpp.
string alvar::plugins::CapturePtgrey::SerializeId | ( | ) | [virtual] |
The identification of the class for serialization.
Implements alvar::Capture.
Definition at line 164 of file CapturePluginPtgrey.cpp.
bool alvar::plugins::CapturePtgrey::showSettingsDialog | ( | ) | [virtual] |
Show the settings dialog of the camera.
Implements alvar::Capture.
Definition at line 159 of file CapturePluginPtgrey.cpp.
bool alvar::plugins::CapturePtgrey::start | ( | ) | [virtual] |
Starts the camera capture.
Implements alvar::Capture.
Definition at line 53 of file CapturePluginPtgrey.cpp.
void alvar::plugins::CapturePtgrey::stop | ( | ) | [virtual] |
Stops the camera capture.
Implements alvar::Capture.
Definition at line 138 of file CapturePluginPtgrey.cpp.
FlyCapture2::Camera* alvar::plugins::CapturePtgrey::mCamera [private] |
Definition at line 91 of file CapturePluginPtgrey.h.
int alvar::plugins::CapturePtgrey::mChannels [private] |
Definition at line 94 of file CapturePluginPtgrey.h.
FlyCapture2::PGRGuid alvar::plugins::CapturePtgrey::mGUID [private] |
Definition at line 93 of file CapturePluginPtgrey.h.
FlyCapture2::Image* alvar::plugins::CapturePtgrey::mImage [private] |
Definition at line 92 of file CapturePluginPtgrey.h.
IplImage* alvar::plugins::CapturePtgrey::mReturnFrame [private] |
Definition at line 95 of file CapturePluginPtgrey.h.