Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
jafar::image::Capture Class Reference

Wrapper around openCV Capture mechanism. More...


Detailed Description

Wrapper around openCV Capture mechanism.

Definition at line 17 of file Capture.hpp.

#include <Capture.hpp>

List of all members.

Public Member Functions

 Capture (int index=CV_CAP_ANY)
void setCamera (int index=CV_CAP_ANY)
 Start capturing frames from camera.
jafar::image::Imageimage ()
 Return a pointer to the image where the frames which are grabbed are stored.
void grabFrame ()
 Grab a frame (call cvQueryFrame).
void release ()
 Release the capture device.

Private Attributes

CvCapture * m_cvCapture
jafar::image::Imagem_image

Member Function Documentation

void jafar::image::Capture::setCamera ( int  index = CV_CAP_ANY) [inline]

Start capturing frames from camera.

Same as original cvCreateCameraCapture with default capture device

Parameters:
indexcamera_index + domain_offset (CV_CAP_*)

Definition at line 33 of file Capture.hpp.

References JFR_WARNING, and release().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:39 for Jafar by doxygen 1.7.6.1
LAAS-CNRS