Public Member Functions

CVVideoSource Class Reference

#include <CVImageSource.h>

Inheritance diagram for CVVideoSource:
CVImageSource ImageSource

List of all members.

Public Member Functions

 CVVideoSource (const char *fileName)
const char * getDescription () const
int getNumberOfImages () const
bool hasNextImage ()

Detailed Description

Video file as ImageSource.


Constructor & Destructor Documentation

CVVideoSource::CVVideoSource ( const char *  fileName )

Loads a video file.

Parameters:
fileNamelocation of a video file

Member Function Documentation

const char * CVVideoSource::getDescription (  ) const [virtual]

This method should returns a single sentence describing the image source.

Implements ImageSource.

int CVVideoSource::getNumberOfImages (  ) const [virtual]

Returns the total number of frames.

Returns:
Total number of frames (>= 0)

Implements ImageSource.

bool CVVideoSource::hasNextImage (  ) [virtual]

This method should return true in case there are more images that can be fetched using getNextImage()

Returns:
true = one or more images available, false = no images

Implements ImageSource.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Defines