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

halftoner::VGexpSpec Class Reference

#include <VGexpSpec.h>

Inheritance diagram for halftoner::VGexpSpec:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Class VGexpSpec encapsulate runtime informations for instances of class VGexp.

Definition at line 40 of file VGexpSpec.h.

Public Methods

Accessors

Private Attributes

Instance variables

Constructor & Destructor Documentation

halftoner::VGexpSpec::VGexpSpec int    cluster,
float    err1,
float    err2,
float    err3,
const SFCPathFactory::SizeMnemonic   mnemonic
throw (std::domain_error)
 

Constructor.

Parameters:
cluster  the size of the clusters.
err1  the first grade error.
err2  the second grade error.
err3  the third grade error.
mnemonic  the dimension of the curve.
Todo:
check that the errors sum to near 1.0f

Definition at line 35 of file VGexpSpec.cxx.

halftoner::VGexpSpec::~VGexpSpec   throw () [virtual]
 

Destructor.

Definition at line 49 of file VGexpSpec.cxx.


Member Function Documentation

float halftoner::VGexpSpec::getErr1   const throw ()
 

Returns the first grade error.

Returns :
the first grade error.

Definition at line 59 of file VGexpSpec.cxx.

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

float halftoner::VGexpSpec::getErr2   const throw ()
 

Returns the second grade error.

Returns :
the second grade error.

Definition at line 64 of file VGexpSpec.cxx.

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

float halftoner::VGexpSpec::getErr3   const throw ()
 

Returns the third grade error.

Returns :
the third grade error.

Definition at line 69 of file VGexpSpec.cxx.

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


Member Data Documentation

float halftoner::VGexpSpec::err1 [private]
 

The first grade error.

Definition at line 46 of file VGexpSpec.h.

float halftoner::VGexpSpec::err2 [private]
 

The second grade error.

Definition at line 48 of file VGexpSpec.h.

float halftoner::VGexpSpec::err3 [private]
 

The third grade error.

Definition at line 50 of file VGexpSpec.h.


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