MipResources::CameraCVD Class Reference
[Camera]

Class for video cameras that need libCVD. More...

#include <CameraCVD.h>

Inheritance diagram for MipResources::CameraCVD:

MipResources::Camera MipResources::Resource MIPObject

List of all members.

Public Member Functions

 CameraCVD (int argc, const char *argv[])
 Constructor with options.
 ~CameraCVD ()
 Destructor, deallocates structs.
ResourcePlate getPlate () const
 Returns ResourcePlate.
virtual bool getFrame (IplImage *&s, MipBaselib::Time &t)
 Gets last frame available from video stream.
virtual bool getFrame (cv::Mat &s, Time &t)
 Gets last frame available from video stream.
virtual bool getFrame (Image< Rgb< byte > > *&s, MipBaselib::Time &t)
 Gets last frame available from video stream.
virtual bool recordLastFrame ()
 Records last frame available from video stream.
virtual CameraCVDVargetVar (void)
 Get parameters.
virtual timeval getTimeStamp ()

Protected Attributes

CameraCVDVar_var
 Variables for CameraCVD.
CameraCVDOptions _options
 Option class.
V4LBuffer< yuv422 > * _pvb
 V4L buffer to retrieve image data.
VideoFrame< yuv422 > * _pVidFrame
 VideoFrame pointer to current frame.
Image< Rgb< byte > > _frameRGB
 Image Rgb to store current frame.


Detailed Description

Class for video cameras that need libCVD.

Video camera implementation for player/gazebo simulator.

Note:
Child class of Camera, uses libCVD to get frame content from camera.
Author:
Lorenzo Rosa

Lorenzo Rosa


Member Data Documentation

Variables for CameraCVD.

Reimplemented from MipResources::Camera.


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

Generated on Mon Feb 20 07:01:12 2017 for MIP by  doxygen 1.5.6