Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
imath::CAkimaInterpolator Class Reference

1D interpolation using Akima method. More...

#include <CAkimaInterpolator.h>

Inheritance diagram for imath::CAkimaInterpolator:
imath::TIMathFunction< Argument, Result > istd::IPolymorphic

Classes

struct  Node
 

Public Types

typedef QMap< double, NodeNodes
 
- Public Types inherited from imath::TIMathFunction< Argument, Result >
typedef Argument ArgumentType
 
typedef Result ResultType
 

Public Member Functions

 CAkimaInterpolator ()
 
 CAkimaInterpolator (double *positions, double *values, int nodesCount)
 
void SetNodes (double *positions, double *values, int nodesCount)
 
virtual bool GetValueAt (const double &argument, double &result) const
 
virtual double GetValueAt (const double &argument) const
 
- Public Member Functions inherited from imath::TIMathFunction< Argument, Result >
virtual bool GetValueAt (const Argument &argument, Result &result) const =0
 Get function value for specified argument value. More...
 
virtual Result GetValueAt (const Argument &argument) const =0
 Get function value for specified argument value. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Protected Attributes

Nodes m_nodes
 

Detailed Description

1D interpolation using Akima method.

Definition at line 19 of file CAkimaInterpolator.h.

Member Typedef Documentation

typedef QMap<double, Node> imath::CAkimaInterpolator::Nodes

Definition at line 28 of file CAkimaInterpolator.h.

Constructor & Destructor Documentation

imath::CAkimaInterpolator::CAkimaInterpolator ( )
imath::CAkimaInterpolator::CAkimaInterpolator ( double *  positions,
double *  values,
int  nodesCount 
)

Member Function Documentation

virtual bool imath::CAkimaInterpolator::GetValueAt ( const double &  argument,
double &  result 
) const
virtual
virtual double imath::CAkimaInterpolator::GetValueAt ( const double &  argument) const
virtual
void imath::CAkimaInterpolator::SetNodes ( double *  positions,
double *  values,
int  nodesCount 
)

Member Data Documentation

Nodes imath::CAkimaInterpolator::m_nodes
protected

Definition at line 40 of file CAkimaInterpolator.h.


The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy