#include <LUT.h>
Inheritance diagram for LUT< 1, X >:

Public Types | |
| typedef VEC< 1, int > | Dim |
| typedef VEC< 1, X > | Vec |
| typedef VEC< 1, std::vector< X > > | Breaks |
| enum | Modes { LINEAR, SPLINE } |
Public Methods | |
| X | __get (int n) const |
| LUT () | |
| virtual | ~LUT () |
| LUT (LUT< 1, X > const ©) | |
| LUT< 1, X > const & | operator= (LUT< 1, X > const ©) |
| void | interpolate (Dim const &dim, Interpolation::Modes mode) |
| void | interpolate (std::vector< int > const &dim, Interpolation::Modes mode) |
| X | getValue (Vec const &v) const |
| X | getValue (std::vector< X > const &x) const |
| X | operator[] (Vec const &v) const |
| void | load (std::vector< X > const &values, Breaks const &breaks, int *index=0) |
| void | load (std::vector< X > const &values, std::vector< std::vector< X > > const &breaks) |
| virtual void | serialize (Archive &) |
| Serialize to or from a data archive. | |
| virtual std::string | asString () const |
| Return a string representation of LUT. | |
| virtual std::string | typeString () const |
| Return a string representation of the type. | |
| bool | isInterpolated () const |
| Return true if the interpolated table is ready for use. | |
| virtual void | parseXML (const char *cdata) |
| Parse cdata from within the XML tags for this object. | |
| virtual void | convertXML () |
| Convert XML data to internal format prior to serialization. | |
Protected Methods | |
| void | find (X x, int &i, X &f) const |
| Find the index and interpolation parameter for a given coordinate. | |
| void | postInterpolation (X x0, X x1, int n) |
| Compute a few parameters needed for fast lookups. | |
| void | checkInterpolated () const |
| void | checkNotInterpolated () const |
| void | throwBreakpointOrder () const |
| void | throwInterpolationMode () const |
Protected Attributes | |
| X | m_X0 |
| X | m_X1 |
| X | m_XS |
| int | m_Limit |
| bool | m_Interpolated |
Friends | |
| class | LUT< 2, X > |
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
Return a string representation of LUT.
Implements BaseType. |
|
|
|
|
|
|
|
|
Convert XML data to internal format prior to serialization. This method is currently only called by the XML parser for Object classes. If another BaseType class requires this method, a call must be added to the appropriate XML handler in the parser. |
|
||||||||||||||||||||
|
Find the index and interpolation parameter for a given coordinate.
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
Return true if the interpolated table is ready for use.
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|
Parse cdata from within the XML tags for this object.
Reimplemented in SimDate, EnumLink, GeoPos, LLA, UTM, Matrix3, Quat, Real, and Vector3. |
|
||||||||||||||||||||
|
Compute a few parameters needed for fast lookups. Called after a LUT has been interpolated. |
|
||||||||||
|
Serialize to or from a data archive.
Reimplemented from BaseType. |
|
|
|
|
|
|
|
|||||||||
|
Return a string representation of the type.
Implements BaseType. |
|
|||||
|
|
|
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage. Generated on Tue Oct 14 12:06:41 2003, using Doxygen 1.2.18. |