Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ImageWriter Class Reference

#include <imageWriter.h>

Inheritance diagram for ImageWriter:

ImageBase WithOutputFile ProgramBase ImageFilter ImageResize ImageTrans List of all members.

Public Member Functions

 ImageWriter (bool allow_last_param)
INLINE void write_image ()
void write_image (const PNMImage &image)

Protected Member Functions

virtual bool handle_args (Args &args)

Constructor & Destructor Documentation

ImageWriter::ImageWriter bool  allow_last_param  ) 
 

Definition at line 28 of file imageWriter.cxx.

References WithOutputFile::_got_output_filename, WithOutputFile::_output_filename, ProgramBase::add_option(), ProgramBase::add_runline(), ProgramBase::clear_runlines(), ProgramBase::dispatch_filename(), false, and true.


Member Function Documentation

bool ImageWriter::handle_args Args args  )  [protected, virtual]
 

Reimplemented from ProgramBase.

Reimplemented in ImageFilter.

Definition at line 78 of file imageWriter.cxx.

References WithOutputFile::check_last_arg(), and nout.

void ImageWriter::write_image const PNMImage image  ) 
 

Definition at line 61 of file imageWriter.cxx.

References WithOutputFile::get_output_filename(), image, and nout.

INLINE void ImageWriter::write_image  ) 
 

Referenced by ImageTrans::run(), and ImageResize::run().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:01:11 2003 for Panda-Tool by doxygen1.3