Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

halftoner::ErrorDiffusionSpec Class Reference

#include <ErrorDiffusionSpec.h>

Inheritance diagram for halftoner::ErrorDiffusionSpec:

Inheritance graph
[legend]
Collaboration diagram for halftoner::ErrorDiffusionSpec:

Collaboration graph
[legend]
List of all members.

Detailed Description

Class ErrorDiffusionSpec encapsulate runtime informations for instances of class ErrorDiffusionHalftoner.

Definition at line 41 of file ErrorDiffusionSpec.h.

Public Methods

Accessors

Private Attributes

Instance variables

Constructor & Destructor Documentation

halftoner::ErrorDiffusionSpec::ErrorDiffusionSpec int    threshold,
ErrorDiffusionHalftoner::PathStrategy   strategy
throw (std::domain_error)
 

Constructor.

Parameters:
threshold  the threshold of the algorithm.
strategy  the scanning strategy.
Exceptions:
std::domain_error  if the threshold is not in the [0, 255] interval.

Definition at line 37 of file ErrorDiffusionSpec.cxx.

halftoner::ErrorDiffusionSpec::~ErrorDiffusionSpec   throw ()
 

Destructor.

Definition at line 54 of file ErrorDiffusionSpec.cxx.


Member Function Documentation

ErrorDiffusionHalftoner::PathStrategy & halftoner::ErrorDiffusionSpec::getStrategy   const throw ()
 

Gets the scanning strategy.

Returns :
the strategy.

Definition at line 69 of file ErrorDiffusionSpec.cxx.

Referenced by halftoner::ErrorDiffusionHalftoner::halftone().

int halftoner::ErrorDiffusionSpec::getThreshold   const throw ()
 

Gets the threshold of the algorithm.

Returns :
the threshold.

Definition at line 64 of file ErrorDiffusionSpec.cxx.

Referenced by halftoner::ErrorDiffusionHalftoner::halftone().


Member Data Documentation

ErrorDiffusionHalftoner::PathStrategy& halftoner::ErrorDiffusionSpec::strategy [private]
 

The scanning strategy.

Definition at line 49 of file ErrorDiffusionSpec.h.

int halftoner::ErrorDiffusionSpec::threshold [private]
 

The threshold of the algorithm.

Definition at line 47 of file ErrorDiffusionSpec.h.


The documentation for this class was generated from the following files:
Generated on Sat Sep 7 16:35:38 2002 for Halftoning Library by doxygen1.2.17