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

PsPolatorNT Class Reference

base class for a polator. More...

#include <PsPolatorNT.h>

Inheritance diagram for PsPolatorNT:

Inheritance graph
[legend]
List of all members.

Public Types

enum  PsPrecisionLevels { Constant, Linear, Quadratic, Cubic }
 enumerate identifiers for the first levels of precision More...


Public Methods

 PsPolatorNT (int numberOfNeededValuesForMaxPrecisionPolation)
 contructor

virtual ~PsPolatorNT ()
 destructor

virtual int getNumberOfNeededValuesForMaxPrecisionPolation (void) const
 get the number of needed values for a maximum precision polation


Static Public Attributes

int defaultPrecisionLevel = PsPolatorNT::Quadratic
 the default precision level for all polators created


Protected Attributes

int _numberOfNeededValuesForMaxPrecisionPolation
 the number of values needed to be able to use this polator at it's maximum precision level


Detailed Description

base class for a polator.

a polator is an object capable of extrapolation, interpolation and antepolation, and this at different precision levels.

Author:
Olivier Filangi
Version:
1.0 1.0 -> 1.1 (by David Margery) : added default precision level

Definition at line 28 of file PsPolatorNT.h.


Member Enumeration Documentation

enum PsPolatorNT::PsPrecisionLevels
 

enumerate identifiers for the first levels of precision

Enumeration values:
Constant 
Linear 
Quadratic 
Cubic 

Definition at line 47 of file PsPolatorNT.h.

00048    {
00049       Constant,
00050       Linear,
00051       Quadratic,
00052       Cubic 
00053    };


Constructor & Destructor Documentation

PsPolatorNT::PsPolatorNT int    numberOfNeededValuesForMaxPrecisionPolation
 

contructor

Parameters:
numberOfNeededValuesForMaxPrecisionPolation : the length of the history file needed to be able to use this polator at it's maximum precision level

Definition at line 22 of file PsPolatorNT.cxx.

00022                                                                           : 
00023    _numberOfNeededValuesForMaxPrecisionPolation ( numberOfNeededValuesForMaxPrecisionPolation ) 
00024 {
00025 
00026 }

PsPolatorNT::~PsPolatorNT   [virtual]
 

destructor

Definition at line 28 of file PsPolatorNT.cxx.

00028                           {
00029 }


Member Function Documentation

int PsPolatorNT::getNumberOfNeededValuesForMaxPrecisionPolation void    const [virtual]
 

get the number of needed values for a maximum precision polation

Definition at line 31 of file PsPolatorNT.cxx.

References _numberOfNeededValuesForMaxPrecisionPolation.

00031                                                                            {
00032   return _numberOfNeededValuesForMaxPrecisionPolation ; 
00033 }


Member Data Documentation

int PsPolatorNT::_numberOfNeededValuesForMaxPrecisionPolation [protected]
 

the number of values needed to be able to use this polator at it's maximum precision level

Definition at line 57 of file PsPolatorNT.h.

Referenced by getNumberOfNeededValuesForMaxPrecisionPolation().

int PsPolatorNT::defaultPrecisionLevel = PsPolatorNT::Quadratic [static]
 

the default precision level for all polators created

Definition at line 20 of file PsPolatorNT.cxx.

Referenced by PsInputAlias< Type >::PsInputAlias(), PsSensitiveInputAlias< Type >::PsSensitiveInputAlias(), and PsSensitiveNotifyingInput< Type >::PsSensitiveNotifyingInput().


The documentation for this class was generated from the following files:
logo OpenMask

Documentation generated on Mon Nov 25 15:26:20 2002

Generated with doxygen 1.2.12 by Dimitri van Heesch ,   1997-2001