All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
pangolin::VideoInterface Struct Reference

Interface to video capture sources. More...

#include <video.h>

Inheritance diagram for pangolin::VideoInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool GrabNewest (unsigned char *image, bool wait=true)=0
virtual bool GrabNext (unsigned char *image, bool wait=true)=0
virtual unsigned Height () const =0
virtual std::string PixFormat () const =0
virtual size_t SizeBytes () const =0
virtual void Start ()=0
virtual void Stop ()=0
virtual unsigned Width () const =0
virtual ~VideoInterface ()

Detailed Description

Interface to video capture sources.

Definition at line 97 of file video.h.


Constructor & Destructor Documentation

virtual pangolin::VideoInterface::~VideoInterface ( ) [inline, virtual]

Definition at line 99 of file video.h.


Member Function Documentation

virtual bool pangolin::VideoInterface::GrabNewest ( unsigned char *  image,
bool  wait = true 
) [pure virtual]

Copy the newest frame from the camera to image discarding all older frames. Optionally wait for a frame if one isn't ready Returns true iff image was copied

Implemented in pangolin::FirewireVideo, pangolin::VideoInput, pangolin::FfmpegConverter, pangolin::V4lVideo, pangolin::FfmpegVideo, pangolin::PvnVideo, pangolin::VideoRecordRepeat, and pangolin::OpenNiVideo.

virtual bool pangolin::VideoInterface::GrabNext ( unsigned char *  image,
bool  wait = true 
) [pure virtual]

Copy the next frame from the camera to image. Optionally wait for a frame if one isn't ready Returns true iff image was copied

Implemented in pangolin::FirewireVideo, pangolin::VideoInput, pangolin::FfmpegConverter, pangolin::V4lVideo, pangolin::FfmpegVideo, pangolin::PvnVideo, pangolin::VideoRecordRepeat, and pangolin::OpenNiVideo.

virtual unsigned pangolin::VideoInterface::Height ( ) const [pure virtual]
virtual std::string pangolin::VideoInterface::PixFormat ( ) const [pure virtual]
virtual size_t pangolin::VideoInterface::SizeBytes ( ) const [pure virtual]
virtual void pangolin::VideoInterface::Start ( ) [pure virtual]
virtual void pangolin::VideoInterface::Stop ( ) [pure virtual]
virtual unsigned pangolin::VideoInterface::Width ( ) const [pure virtual]

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


pangolin_wrapper
Author(s): Todor Stoyanov
autogenerated on Wed Feb 13 2013 14:03:25