Implementation of Capture interface for File plugin. More...
#include <CapturePluginFile.h>
Public Member Functions | |
CaptureFile (const CaptureDevice captureDevice) | |
Constructor. | |
IplImage * | captureImage () |
Capture one image from the camera. | |
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. | |
~CaptureFile () | |
Destructor. | |
Private Attributes | |
IplImage | mImage |
cv::Mat | mMatrix |
cv::VideoCapture | mVideoCapture |
Implementation of Capture interface for File plugin.
Definition at line 58 of file CapturePluginFile.h.
alvar::plugins::CaptureFile::CaptureFile | ( | const CaptureDevice | captureDevice | ) |
Constructor.
captureDevice | Information of which camera to create. |
Definition at line 29 of file CapturePluginFile.cpp.
Destructor.
Definition at line 37 of file CapturePluginFile.cpp.
IplImage * alvar::plugins::CaptureFile::captureImage | ( | ) | [virtual] |
Capture one image from the camera.
Do not modify this image.
Implements alvar::Capture.
Definition at line 66 of file CapturePluginFile.cpp.
bool alvar::plugins::CaptureFile::Serialize | ( | Serialization * | serialization | ) | [virtual] |
Performs serialization of the class members and configuration.
serialization | The Serialization object. |
Implements alvar::Capture.
Definition at line 100 of file CapturePluginFile.cpp.
std::string alvar::plugins::CaptureFile::SerializeId | ( | ) | [virtual] |
The identification of the class for serialization.
Implements alvar::Capture.
Definition at line 95 of file CapturePluginFile.cpp.
bool alvar::plugins::CaptureFile::showSettingsDialog | ( | ) | [virtual] |
Show the settings dialog of the camera.
Implements alvar::Capture.
Definition at line 89 of file CapturePluginFile.cpp.
bool alvar::plugins::CaptureFile::start | ( | ) | [virtual] |
Starts the camera capture.
Implements alvar::Capture.
Definition at line 42 of file CapturePluginFile.cpp.
void alvar::plugins::CaptureFile::stop | ( | ) | [virtual] |
Stops the camera capture.
Implements alvar::Capture.
Definition at line 58 of file CapturePluginFile.cpp.
IplImage alvar::plugins::CaptureFile::mImage [private] |
Definition at line 81 of file CapturePluginFile.h.
cv::Mat alvar::plugins::CaptureFile::mMatrix [private] |
Definition at line 80 of file CapturePluginFile.h.
cv::VideoCapture alvar::plugins::CaptureFile::mVideoCapture [private] |
Definition at line 79 of file CapturePluginFile.h.