Function Class Reference

#include <Function.h>

Inherited by ExponentialFunction, IdentityFunction, PostScriptFunction, SampledFunction, and StitchingFunction.


Public Member Functions

 Function ()
virtual ~Function ()
GBool init (Dict *dict)
virtual Functioncopy ()=0
int getInputSize ()
int getOutputSize ()
virtual void transform (double *in, double *out)=0
virtual GBool isOk ()=0

Static Public Member Functions

static Functionparse (Object *funcObj)

Protected Attributes

int m
int n
double domain [funcMaxInputs][2]
double range [funcMaxOutputs][2]
GBool hasRange


Detailed Description

Definition at line 33 of file Function.h.


Constructor & Destructor Documentation

Function::Function (  ) 

virtual Function::~Function (  )  [virtual]


Member Function Documentation

static Function* Function::parse ( Object funcObj  )  [static]

GBool Function::init ( Dict dict  ) 

virtual Function* Function::copy (  )  [pure virtual]

Implemented in IdentityFunction, SampledFunction, ExponentialFunction, StitchingFunction, and PostScriptFunction.

int Function::getInputSize (  )  [inline]

Definition at line 49 of file Function.h.

References m.

00049 { return m; }

int Function::getOutputSize (  )  [inline]

Definition at line 50 of file Function.h.

References n.

00050 { return n; }

virtual void Function::transform ( double *  in,
double *  out 
) [pure virtual]

Implemented in IdentityFunction, SampledFunction, ExponentialFunction, StitchingFunction, and PostScriptFunction.

virtual GBool Function::isOk (  )  [pure virtual]

Implemented in IdentityFunction, SampledFunction, ExponentialFunction, StitchingFunction, and PostScriptFunction.


Field Documentation

int Function::m [protected]

Definition at line 59 of file Function.h.

Referenced by getInputSize().

int Function::n [protected]

Definition at line 59 of file Function.h.

Referenced by getOutputSize().

double Function::domain[funcMaxInputs][2] [protected]

Definition at line 61 of file Function.h.

double Function::range[funcMaxOutputs][2] [protected]

Definition at line 63 of file Function.h.

GBool Function::hasRange [protected]

Definition at line 64 of file Function.h.


The documentation for this class was generated from the following file:
Generated on Fri Jan 9 13:45:37 2009 for libextractor by  doxygen 1.5.1