opentl::input::OpenCVCamera Class Reference

Interface class for using OpenCV to access (USB,...) cameras. More...

Inherits opentl::input::ImageSensor.

List of all members.

Public Member Functions

virtual void captureNext ()
 capture the next image from the image sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class
virtual void captureStart ()
 start the capturing process of the image sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class
virtual void captureStop ()
 stop the capturing process of the image sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class
virtual void close ()
 closes the connection to the sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class
virtual const
opentl::core::cvdata::Image
image ()
 returns current frame
virtual void init ()
 initializes the sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class
virtual void open ()
 opens the connection to the sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class
 OpenCVCamera (int camIndex=-1)
virtual ~OpenCVCamera ()

Protected Attributes

int mCamIndex
CvCapture * mCapture


Detailed Description

Interface class for using OpenCV to access (USB,...) cameras.

Author:
Thorsten Roeder <roeder@in.tum.de>

Constructor & Destructor Documentation

opentl::input::OpenCVCamera::OpenCVCamera ( int  camIndex = -1  ) 

virtual opentl::input::OpenCVCamera::~OpenCVCamera (  )  [virtual]


Member Function Documentation

virtual void opentl::input::OpenCVCamera::captureNext (  )  [virtual]

capture the next image from the image sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class

Reimplemented from opentl::input::ImageSensor.

virtual void opentl::input::OpenCVCamera::captureStart (  )  [virtual]

start the capturing process of the image sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class

Reimplemented from opentl::input::ImageSensor.

virtual void opentl::input::OpenCVCamera::captureStop (  )  [virtual]

stop the capturing process of the image sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class

Reimplemented from opentl::input::ImageSensor.

virtual void opentl::input::OpenCVCamera::close (  )  [virtual]

closes the connection to the sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class

Reimplemented from opentl::input::AbstractSensor.

virtual const opentl::core::cvdata::Image& opentl::input::OpenCVCamera::image (  )  [virtual]

returns current frame

Reimplemented from opentl::input::ImageSensor.

virtual void opentl::input::OpenCVCamera::init (  )  [virtual]

initializes the sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class

Reimplemented from opentl::input::AbstractSensor.

virtual void opentl::input::OpenCVCamera::open (  )  [virtual]

opens the connection to the sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class

Reimplemented from opentl::input::AbstractSensor.


Member Data Documentation

CvCapture* opentl::input::OpenCVCamera::mCapture [protected]


Generated on Fri Jul 31 17:38:39 2009 for OpenTL by  doxygen 1.5.8