RasterWriter Class Reference

Abstract image-file writer class. More...

#include <Raster/RasterWriter.H>

Inheritance diagram for RasterWriter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~RasterWriter ()
 Virtual destructor for safe inheritance.
virtual std::string writeFrame (const GenericFrame &image, const std::string &fname)=0
 Write the frame to disk.

Detailed Description

Abstract image-file writer class.

Definition at line 46 of file RasterWriter.H.


Constructor & Destructor Documentation

RasterWriter::~RasterWriter (  )  [virtual]

Virtual destructor for safe inheritance.

Definition at line 43 of file RasterWriter.C.


Member Function Documentation

virtual std::string RasterWriter::writeFrame ( const GenericFrame image,
const std::string fname 
) [pure virtual]

Write the frame to disk.

Returns:
the actual name of the file that was created (for some subclasses, this may be slightly different than the input fname, if e.g. the subclass decides to add or change a file extension)

Implemented in CcodeWriter, PfmWriter, PfzWriter, PlaintextWriter, PngWriter, PnmWriter, RawWriter, and YuvWriter.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:24:09 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3