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

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

#include <CapturePluginPtgrey.h>

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

List of all members.

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

Detailed Description

Implementation of Capture interface for Ptgrey plugin.

Note:
The PointGrey plugin is currently experimental and not included in the build by default.

Definition at line 70 of file CapturePluginPtgrey.h.


Constructor & Destructor Documentation

Constructor.

Parameters:
captureDeviceInformation of which camera to create.

Definition at line 37 of file CapturePluginPtgrey.cpp.

Destructor.

Definition at line 46 of file CapturePluginPtgrey.cpp.


Member Function Documentation

Capture one image from the camera.

Do not modify this image.

Returns:
The captured 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.

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

Implements alvar::Capture.

Definition at line 169 of file CapturePluginPtgrey.cpp.

The identification of the class for serialization.

Implements alvar::Capture.

Definition at line 164 of file CapturePluginPtgrey.cpp.

Show the settings dialog of the camera.

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

Implements alvar::Capture.

Definition at line 159 of file CapturePluginPtgrey.cpp.

Starts the camera capture.

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

Implements alvar::Capture.

Definition at line 53 of file CapturePluginPtgrey.cpp.

Stops the camera capture.

Implements alvar::Capture.

Definition at line 138 of file CapturePluginPtgrey.cpp.


Member Data Documentation

FlyCapture2::Camera* alvar::plugins::CapturePtgrey::mCamera [private]

Definition at line 91 of file CapturePluginPtgrey.h.

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.

Definition at line 95 of file CapturePluginPtgrey.h.


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


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Sat Dec 28 2013 16:46:16