Public Member Functions | Private Attributes
alvar::plugins::CaptureCmu Class Reference

Implementation of Capture interface for Cmu plugin. More...

#include <CapturePluginCmu.h>

Inheritance diagram for alvar::plugins::CaptureCmu:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CaptureCmu (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.
 ~CaptureCmu ()
 Destructor.

Private Attributes

C1394Camera * mCamera
int mChannels
IplImage * mReturnFrame

Detailed Description

Implementation of Capture interface for Cmu plugin.

Definition at line 58 of file CapturePluginCmu.h.


Constructor & Destructor Documentation

Constructor.

Parameters:
captureDeviceInformation of which camera to create.

Definition at line 31 of file CapturePluginCmu.cpp.

Destructor.

Definition at line 39 of file CapturePluginCmu.cpp.


Member Function Documentation

IplImage * alvar::plugins::CaptureCmu::captureImage ( ) [virtual]

Capture one image from the camera.

Do not modify this image.

Returns:
The captured image.

Implements alvar::Capture.

Definition at line 181 of file CapturePluginCmu.cpp.

bool alvar::plugins::CaptureCmu::Serialize ( Serialization serialization) [virtual]

Performs serialization of the class members and configuration.

Parameters:
serializationThe Serialization object.
Returns:
True if the serialization of the class was successful, false otherwise.

Implements alvar::Capture.

Definition at line 205 of file CapturePluginCmu.cpp.

std::string alvar::plugins::CaptureCmu::SerializeId ( ) [virtual]

The identification of the class for serialization.

Implements alvar::Capture.

Definition at line 200 of file CapturePluginCmu.cpp.

Show the settings dialog of the camera.

Returns:
True if the settings dialog was shown, false otherwise.

Implements alvar::Capture.

Definition at line 194 of file CapturePluginCmu.cpp.

Starts the camera capture.

Returns:
True if the camera was properly initialized, false otherwise.

Implements alvar::Capture.

Definition at line 45 of file CapturePluginCmu.cpp.

Stops the camera capture.

Implements alvar::Capture.

Definition at line 172 of file CapturePluginCmu.cpp.


Member Data Documentation

C1394Camera* alvar::plugins::CaptureCmu::mCamera [private]

Definition at line 79 of file CapturePluginCmu.h.

Definition at line 80 of file CapturePluginCmu.h.

Definition at line 81 of file CapturePluginCmu.h.


The documentation for this class was generated from the following files:


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Sun Oct 5 2014 22:16:27