Wavelet and Image class library  1.3.2
Public Member Functions | Protected Member Functions
PfgWriter Class Reference

#include <PfgWriter.hh>

Inheritance diagram for PfgWriter:
Inheritance graph
[legend]
Collaboration diagram for PfgWriter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PfgWriter (char const *name, ImageArray< coeff > &data)
virtual ~PfgWriter (void)

Protected Member Functions

virtual int writefmt (void)

Detailed Description

A PFG image file writer. Dimensions are known from the {ImageArray} object. Only grey-scale PFGs are supported.

Definition at line 22 of file PfgWriter.hh.


Constructor & Destructor Documentation

PfgWriter::PfgWriter ( char const *  name,
ImageArray< coeff > &  data 
) [inline]

Constructor. Only calls the mother class' constructor to initialize the {ImageArray} reference and set the offset if necessary.

Parameters:
namethe file name
datathe reference to the {ImageArray} object

Definition at line 33 of file PfgWriter.hh.

virtual PfgWriter::~PfgWriter ( void  ) [inline, virtual]

Destructor - does nothing.

Definition at line 37 of file PfgWriter.hh.


Member Function Documentation

virtual int PfgWriter::writefmt ( void  ) [protected, virtual]

Write a PFG image file. This is the method that does the actual work. It will be called by the {write ()} method.

Returns:
0 if successful, -1 on write error.

Implements GreymapWriter.


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