#include <Interpol.h>
Inheritance diagram for interpol::Interpolation:

Public Types | |
| typedef std::map< int, Point >::const_iterator | ConstPointIterator |
Public Member Functions | |
| virtual int | AddPoint (const Point &p) |
| virtual int | AddPoint (double x, double y) |
| virtual bool | MovePoint (int index, const Point &p) |
| virtual bool | RemovePoint (int index) |
| virtual double | GetInterpolatedY (double x) const=0 |
| virtual ConstPointIterator | GetPointBegin () const |
| virtual ConstPointIterator | GetPointEnd () const |
| virtual InterpolationFactory::Type | GetType () const=0 |
Protected Member Functions | |
| Interpolation () | |
| virtual | ~Interpolation () |
| virtual void | Assign (const Interpolation &interpolation) |
| virtual void | OnChange () |
Protected Attributes | |
| std::vector< Point > | xSortedPoints |
Private Member Functions | |
| Interpolation (const Interpolation &interpolation) | |
| Interpolation & | operator= (const Interpolation &interpolation) |
| virtual void | BuildSortedPoints () |
Private Attributes | |
| int | nextIndex |
| std::map< int, Point > | points |
Friends | |
| class | InterpolationFactory |
| Out & | operator<< (Out &stream, const Interpolation &interpolation) |
| In & | operator>> (In &stream, Interpolation &interpolation) |
|
|
Definition at line 51 of file Interpol.h. Referenced by GetPointBegin(), and GetPointEnd(). |
|
|
Definition at line 96 of file Interpol.cpp. |
|
|
Definition at line 101 of file Interpol.cpp. |
|
|
Definition at line 58 of file Interpol.h. |
|
|
Definition at line 59 of file Interpol.h. |
|
|
Definition at line 105 of file Interpol.cpp. References BuildSortedPoints(), nextIndex, OnChange(), and xSortedPoints. Referenced by AddPoint(). |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 124 of file Interpol.cpp. References AddPoint(). |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 129 of file Interpol.cpp. References BuildSortedPoints(), OnChange(), and interpol::Point::x. |
Here is the call graph for this function:

|
|
Definition at line 157 of file Interpol.cpp. References BuildSortedPoints(), and OnChange(). |
Here is the call graph for this function:

|
|
Implemented in interpol::LinearInterpolation, and interpol::SplineInterpolation. |
|
|
Definition at line 175 of file Interpol.cpp. References ConstPointIterator. |
|
|
Definition at line 180 of file Interpol.cpp. References ConstPointIterator. |
|
|
Implemented in interpol::LinearInterpolation, and interpol::SplineInterpolation. Referenced by interpol::InterpolationFactory::Write(). |
|
|
Definition at line 185 of file Interpol.cpp. References nextIndex, OnChange(), points, and xSortedPoints. Referenced by interpol::InterpolationFactory::Create(). |
Here is the call graph for this function:

|
|
Reimplemented in interpol::SplineInterpolation. Definition at line 77 of file Interpol.h. Referenced by AddPoint(), Assign(), MovePoint(), interpol::InterpolationFactory::Read(), and RemovePoint(). |
|
|
Definition at line 193 of file Interpol.cpp. References xSortedPoints. Referenced by AddPoint(), MovePoint(), interpol::InterpolationFactory::Read(), and RemovePoint(). |
|
|
Reimplemented in interpol::LinearInterpolation, and interpol::SplineInterpolation. Definition at line 89 of file Interpol.h. |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Definition at line 83 of file Interpol.h. Referenced by AddPoint(), Assign(), and BuildSortedPoints(). |
|
|
Definition at line 86 of file Interpol.h. Referenced by AddPoint(), Assign(), and interpol::InterpolationFactory::Read(). |
|
|
Definition at line 87 of file Interpol.h. Referenced by Assign(), interpol::InterpolationFactory::Read(), and interpol::InterpolationFactory::Write(). |
1.3.6