Capture interface that plugins must implement.
More...
#include <Capture.h>
List of all members.
Detailed Description
Capture interface that plugins must implement.
All plugins must implement the Capture interface. This is the class that implements all of the camera capture funtionality. This class is created by the CapturePlugin implementation.
- Examples:
- SampleCamCalib.cpp, SampleCvTestbed.cpp, SampleIntegralImage.cpp, SampleLabeling.cpp, SampleMarkerDetector.cpp, SampleMarkerHide.cpp, SampleMarkerlessDetector.cpp, SampleMultiMarker.cpp, SampleMultiMarkerBundle.cpp, SamplePointcloud.cpp, and SampleTrack.cpp.
Definition at line 46 of file Capture.h.
Constructor & Destructor Documentation
Constructor.
- Parameters:
-
captureDevice | Information of which camera to create. |
Definition at line 54 of file Capture.h.
Member Function Documentation
The camera information associated to this capture object.
- Examples:
- SampleCamCalib.cpp, SampleCvTestbed.cpp, SampleIntegralImage.cpp, SampleLabeling.cpp, SampleMarkerDetector.cpp, SampleMarkerHide.cpp, SampleMarkerlessDetector.cpp, SampleMultiMarker.cpp, SampleMultiMarkerBundle.cpp, SamplePointcloud.cpp, and SampleTrack.cpp.
Definition at line 70 of file Capture.h.
Test if the camera was properly initialized.
Definition at line 85 of file Capture.h.
Load camera settings from a file.
- Parameters:
-
filename | The filename to read from. |
- Returns:
- True if the settings were sucessfully loaded, false otherwise.
- Examples:
- SampleCamCalib.cpp, SampleCvTestbed.cpp, SampleIntegralImage.cpp, SampleLabeling.cpp, SampleMarkerDetector.cpp, SampleMarkerHide.cpp, SampleMarkerlessDetector.cpp, SampleMultiMarker.cpp, SampleMultiMarkerBundle.cpp, SamplePointcloud.cpp, and SampleTrack.cpp.
Definition at line 145 of file Capture.h.
Save camera settings to a file.
- Parameters:
-
filename | The filename to write to. |
- Returns:
- True if the settings were sucessfully saved, false otherwise.
- Examples:
- SampleCamCalib.cpp, SampleCvTestbed.cpp, SampleIntegralImage.cpp, SampleLabeling.cpp, SampleMarkerDetector.cpp, SampleMarkerHide.cpp, SampleMarkerlessDetector.cpp, SampleMultiMarker.cpp, SampleMultiMarkerBundle.cpp, SamplePointcloud.cpp, and SampleTrack.cpp.
Definition at line 124 of file Capture.h.
Set the resolution.
- Parameters:
-
xResolution | The resolution along the x axis (horizontal). |
yResolution | The resolution along the y axis (vertical). |
Reimplemented in alvar::plugins::CaptureHighgui.
- Examples:
- SampleCamCalib.cpp, SampleCvTestbed.cpp, SampleIntegralImage.cpp, SampleLabeling.cpp, SampleMarkerDetector.cpp, SampleMarkerHide.cpp, SampleMarkerlessDetector.cpp, SampleMultiMarker.cpp, SampleMultiMarkerBundle.cpp, SamplePointcloud.cpp, and SampleTrack.cpp.
Definition at line 93 of file Capture.h.
Starts the camera capture.
- Returns:
- True if the camera was properly initialized, false otherwise.
Implemented in alvar::plugins::CaptureDSCapture, alvar::plugins::CapturePtgrey, alvar::plugins::CaptureHighgui, alvar::plugins::CaptureCmu, and alvar::plugins::CaptureFile.
- Examples:
- SampleCamCalib.cpp, SampleCvTestbed.cpp, SampleIntegralImage.cpp, SampleLabeling.cpp, SampleMarkerDetector.cpp, SampleMarkerHide.cpp, SampleMarkerlessDetector.cpp, SampleMultiMarker.cpp, SampleMultiMarkerBundle.cpp, SamplePointcloud.cpp, and SampleTrack.cpp.
Stops the camera capture.
Implemented in alvar::plugins::CaptureDSCapture, alvar::plugins::CapturePtgrey, alvar::plugins::CaptureHighgui, alvar::plugins::CaptureCmu, and alvar::plugins::CaptureFile.
- Examples:
- SampleCamCalib.cpp, SampleCvTestbed.cpp, SampleIntegralImage.cpp, SampleLabeling.cpp, SampleMarkerDetector.cpp, SampleMarkerHide.cpp, SampleMarkerlessDetector.cpp, SampleMultiMarker.cpp, SampleMultiMarkerBundle.cpp, SamplePointcloud.cpp, and SampleTrack.cpp.
The resolution along the x axis (horizontal).
Definition at line 75 of file Capture.h.
The resolution along the y axis (vertical).
Definition at line 80 of file Capture.h.
Member Data Documentation
The documentation for this class was generated from the following file: