CaptureFile Class Reference

Captures a frame from a file or series of files. More...

#include <capture.h>

Inheritance diagram for CaptureFile:

CaptureObject ARObject List of all members.

Public Member Functions

 CaptureFile (const char *FileName, int Delay=0)
 Load the image from the given filename, or if a sequence is desired pattern.
const ARImageGetFrame ()
 Return the current Frame.
int GetMaxWidth ()
 returns the maximum possible return frame width
int GetMaxHeight ()
 returns the maximum possible return frame height

Detailed Description

Captures a frame from a file or series of files.

If a delay is specified then each time that delay has passed then the next image in a sequence is loaded

This class is mainly for debugging and testing purposes


Constructor & Destructor Documentation

CaptureFile::CaptureFile ( const char *  FileName,
int  Delay = 0 
)

Load the image from the given filename, or if a sequence is desired pattern.

Pattern is specified in printf style ie "image%d.jpeg", the next in the sequence is loaded after Delay

Image Magick is used to load the file, so in theory any format supported by ImageMagick will work


The documentation for this class was generated from the following files:
SourceForge.net Logo Generated on Sat May 12 15:25:43 2007 for ardev by doxygen 1.5.1