Implementation of Capture interface for Cmu plugin. More...
#include <CapturePluginCmu.h>
Public Member Functions | |
CaptureCmu (const CaptureDevice captureDevice) | |
Constructor. More... | |
IplImage * | captureImage () |
Capture one image from the camera. More... | |
bool | Serialize (Serialization *serialization) |
Performs serialization of the class members and configuration. More... | |
std::string | SerializeId () |
The identification of the class for serialization. More... | |
bool | showSettingsDialog () |
Show the settings dialog of the camera. More... | |
bool | start () |
Starts the camera capture. More... | |
void | stop () |
Stops the camera capture. More... | |
~CaptureCmu () | |
Destructor. More... | |
Public Member Functions inherited from alvar::Capture | |
Capture (const CaptureDevice captureDevice) | |
Constructor. More... | |
CaptureDevice | captureDevice () |
The camera information associated to this capture object. More... | |
bool | isCapturing () |
Test if the camera was properly initialized. More... | |
virtual bool | loadSettings (std::string filename) |
Load camera settings from a file. More... | |
virtual bool | saveSettings (std::string filename) |
Save camera settings to a file. More... | |
virtual void | setResolution (const unsigned long xResolution, const unsigned long yResolution) |
Set the resolution. More... | |
unsigned long | xResolution () |
The resolution along the x axis (horizontal). More... | |
unsigned long | yResolution () |
The resolution along the y axis (vertical). More... | |
virtual | ~Capture () |
Destructor. More... | |
Private Attributes | |
C1394Camera * | mCamera |
int | mChannels |
IplImage * | mReturnFrame |
Additional Inherited Members | |
Protected Attributes inherited from alvar::Capture | |
CaptureDevice | mCaptureDevice |
bool | mIsCapturing |
unsigned long | mXResolution |
unsigned long | mYResolution |
Implementation of Capture interface for Cmu plugin.
Definition at line 58 of file CapturePluginCmu.h.
alvar::plugins::CaptureCmu::CaptureCmu | ( | const CaptureDevice | captureDevice | ) |
Constructor.
captureDevice | Information of which camera to create. |
Definition at line 31 of file CapturePluginCmu.cpp.
alvar::plugins::CaptureCmu::~CaptureCmu | ( | ) |
Destructor.
Definition at line 39 of file CapturePluginCmu.cpp.
|
virtual |
Capture one image from the camera.
Do not modify this image.
Implements alvar::Capture.
Definition at line 181 of file CapturePluginCmu.cpp.
|
virtual |
Performs serialization of the class members and configuration.
serialization | The Serialization object. |
Implements alvar::Capture.
Definition at line 205 of file CapturePluginCmu.cpp.
|
virtual |
The identification of the class for serialization.
Implements alvar::Capture.
Definition at line 200 of file CapturePluginCmu.cpp.
|
virtual |
Show the settings dialog of the camera.
Implements alvar::Capture.
Definition at line 194 of file CapturePluginCmu.cpp.
|
virtual |
Starts the camera capture.
Implements alvar::Capture.
Definition at line 45 of file CapturePluginCmu.cpp.
|
virtual |
Stops the camera capture.
Implements alvar::Capture.
Definition at line 172 of file CapturePluginCmu.cpp.
|
private |
Definition at line 79 of file CapturePluginCmu.h.
|
private |
Definition at line 80 of file CapturePluginCmu.h.
|
private |
Definition at line 81 of file CapturePluginCmu.h.