The camera class implements and opencv camera. More...
#include <Camera.h>
Inherits uvsim::Sensor.
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 |
The camera class implements and opencv camera.
m_capture | : the capture source for the camera. | |
m_frame | : the captured frame. |
Definition at line 34 of file Camera.h.
uvsim::Camera::Camera | ( | int | device | ) |
void uvsim::Camera::update | ( | ) | [virtual] |
Implementation of sensor update for camera.
Implements uvsim::Sensor.
Definition at line 36 of file Camera.cc.
CvCapture* uvsim::Camera::m_capture [private] |
IplImage* uvsim::Camera::m_frame |