uvsim::Camera Class Reference

The camera class implements and opencv camera. More...

#include <Camera.h>

Inherits uvsim::Sensor.

Collaboration diagram for uvsim::Camera:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Camera (int device)
 Sets up the camera to read images from capture source.
virtual ~Camera ()
 Not currently used.
virtual void update ()
 Implementation of sensor update for camera.

Public Attributes

IplImage * m_frame

Private Attributes

CvCapture * m_capture

Detailed Description

The camera class implements and opencv camera.

Parameters:
m_capture : the capture source for the camera.
m_frame : the captured frame.

Definition at line 34 of file Camera.h.


Constructor & Destructor Documentation

uvsim::Camera::Camera ( int  device  ) 

Sets up the camera to read images from capture source.

Definition at line 25 of file Camera.cc.

Here is the call graph for this function:

uvsim::Camera::~Camera (  )  [virtual]

Not currently used.

Definition at line 31 of file Camera.cc.


Member Function Documentation

void uvsim::Camera::update (  )  [virtual]

Implementation of sensor update for camera.

Implements uvsim::Sensor.

Definition at line 36 of file Camera.cc.

Here is the caller graph for this function:


Member Data Documentation

CvCapture* uvsim::Camera::m_capture [private]

Definition at line 58 of file Camera.h.

Definition at line 53 of file Camera.h.


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

Generated on Mon Nov 9 12:57:31 2009 for uvsim by  doxygen 1.6.1