Helper classes to assist in generating data points between two other data points. More...
#include "datatypes.h"
#include "exception.h"
#include "cubicspline.h"
#include "serialization.h"
#include <cmath>
#include <iterator>
#include <iostream>
#include <typeinfo>
#include "XML/xml.h"
Go to the source code of this file.
Classes | |
class | Mezzanine::BezierInterpolator< T > |
A simple functor for interpolating data points in a simple way. More... | |
class | Mezzanine::LinearInterpolator< T > |
A simple functor for interpolating data points in a simple way. More... | |
class | Mezzanine::SlowSplineInterpolator< T > |
If something specifically needs the linear interpolator for T they should use this. More... | |
class | Mezzanine::TrackStorage< InterpolatableType, InterpolatorType > |
Namespaces | |
Mezzanine | |
The bulk of the engine components go in this namspace. | |
Functions | |
template<typename T > | |
std::ostream & | operator<< (std::ostream &stream, const Mezzanine::LinearInterpolator< T > &Lint) |
Used to Serialize an Mezzanine::LinearInterpolator to a human readable stream. More... | |
template<typename T > | |
std::ostream & | operator<< (std::ostream &stream, const Mezzanine::BezierInterpolator< T > &Lint) |
Used to Serialize an Mezzanine::BezierInterpolator to a human readable stream. More... | |
template<typename T > | |
std::istream & | operator>> (std::istream &stream, Mezzanine::LinearInterpolator< T > &Lint) |
Used to de-serialize an Mezzanine::LinearInterpolator from a stream. More... | |
template<typename T > | |
std::istream & | operator>> (std::istream &stream, Mezzanine::BezierInterpolator< T > &Lint) |
Used to de-serialize an Mezzanine::BezierInterpolator from a stream. More... | |
Helper classes to assist in generating data points between two other data points.
Definition in file interpolator.h.
std::ostream& operator<< | ( | std::ostream & | stream, |
const Mezzanine::LinearInterpolator< T > & | Lint | ||
) |
Used to Serialize an Mezzanine::LinearInterpolator to a human readable stream.
The current XML format is extremely simple because there no data: 'c'.
Lint | The Mezzanine::LinearInterpolator to be converted to characters. |
stream | The place to send the characters, that define the Mezzanine::LinearInterpolator. |
Definition at line 433 of file interpolator.h.
std::ostream& operator<< | ( | std::ostream & | stream, |
const Mezzanine::BezierInterpolator< T > & | Lint | ||
) |
Used to Serialize an Mezzanine::BezierInterpolator to a human readable stream.
The current XML format is extremely simple because there no data: 'c'.
Lint | The Mezzanine::BezierInterpolator to be converted to characters. |
stream | The place to send the characters, that define the Mezzanine::BezierInterpolator. |
Definition at line 458 of file interpolator.h.
std::istream& operator>> | ( | std::istream & | stream, |
Mezzanine::LinearInterpolator< T > & | Lint | ||
) |
Used to de-serialize an Mezzanine::LinearInterpolator from a stream.
This does primarily type checking most interpolators have no data
Lint | The Mezzanine::LinearInterpolator that will accept the values from the xml |
stream | The place to get the characters from, that define the Mezzanine::LinearInterpolator. |
Can | throw any exception that any function in the Mezzanine::xml namespace could throw in addition to a Mezzanine::ExceptionBase if the serialization version doesn't match. |
Definition at line 448 of file interpolator.h.
std::istream& operator>> | ( | std::istream & | stream, |
Mezzanine::BezierInterpolator< T > & | Lint | ||
) |
Used to de-serialize an Mezzanine::BezierInterpolator from a stream.
This does primarily type checking most interpolators have no data
Lint | The Mezzanine::BezierInterpolator that will accept the values from the xml |
stream | The place to get the characters from, that define the Mezzanine::BezierInterpolator. |
Can | throw any exception that any function in the Mezzanine::XML namespace could throw in addition to a Mezzanine::ExceptionBase if the serialization version doesn't match. |
Definition at line 473 of file interpolator.h.