User Manual, Developers Guide and API Documentation

wns::Interpolation< T, N > Class Template Reference

Interface and base class for N dimensional interpolation over a container with type T values. More...

#include <Interpolation.hpp>

Inheritance diagram for wns::Interpolation< T, N >:

Inheritance graph
[legend]
Collaboration diagram for wns::Interpolation< T, N >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef SuperType::IndexType CoordType
 Type of coordinates used in this class.
typedef
container::MultiReadAccessible
< ValueType, N, ValueType
DiscreteContainer
 Type of the container that contains the discrete (uninterpolated) values.
typedef container::Matrix
< ValueType, N, ValueType
InitType
 Type to be used in constructor.
typedef InterpolationDefs::SizeType SizeType
 Type of sizes used in this class.
typedef T ValueType
 Type of the values we interpolate over.

Public Member Functions

virtual SizeType dimSize (const SizeType &dim) const
const DiscreteContainerdiscretes () const
 Get a const reference to the container which we interpolate over.
 Interpolation (const DiscreteContainer &discreteValues)
 Constructs an Interpolation object over discreteValues.

Private Types

typedef
container::MultiReadAccessible
< T, N, T,
InterpolationDefs::CoordType
SuperType
 We inherit from this class.

Private Attributes

const DiscreteContainervalues


Detailed Description

template<typename T, InterpolationDefs::SizeType N>
class wns::Interpolation< T, N >

Parameters:
T Type of the values to interpolate over.
N Number of dimensions.

Definition at line 63 of file Interpolation.hpp.


Member Typedef Documentation

template<typename T, InterpolationDefs::SizeType N>
typedef SuperType::IndexType wns::Interpolation< T, N >::CoordType

Reimplemented in wns::NearestNeighbour< T, N >, and wns::NLinear< T, N, M >.

Definition at line 85 of file Interpolation.hpp.

template<typename T, InterpolationDefs::SizeType N>
typedef container::MultiReadAccessible<ValueType, N, ValueType> wns::Interpolation< T, N >::DiscreteContainer

Reimplemented in wns::NearestNeighbour< T, N >, and wns::NLinear< T, N, M >.

Definition at line 91 of file Interpolation.hpp.

template<typename T, InterpolationDefs::SizeType N>
typedef container::Matrix<ValueType, N, ValueType> wns::Interpolation< T, N >::InitType

Reimplemented in wns::NLinear< T, N, M >.

Definition at line 96 of file Interpolation.hpp.

template<typename T, InterpolationDefs::SizeType N>
typedef InterpolationDefs::SizeType wns::Interpolation< T, N >::SizeType

Reimplemented from wns::container::MultiReadAccessible< T, N, R, I >.

Reimplemented in wns::NearestNeighbour< T, N >.

Definition at line 75 of file Interpolation.hpp.

template<typename T, InterpolationDefs::SizeType N>
typedef container::MultiReadAccessible<T, N, T, InterpolationDefs::CoordType> wns::Interpolation< T, N >::SuperType [private]

Reimplemented in wns::NearestNeighbour< T, N >, and wns::NLinear< T, N, M >.

Definition at line 70 of file Interpolation.hpp.

template<typename T, InterpolationDefs::SizeType N>
typedef T wns::Interpolation< T, N >::ValueType

Reimplemented from wns::container::MultiReadAccessible< T, N, R, I >.

Definition at line 80 of file Interpolation.hpp.


Constructor & Destructor Documentation

template<typename T, InterpolationDefs::SizeType N>
wns::Interpolation< T, N >::Interpolation ( const DiscreteContainer discreteValues  )  [inline]

Parameters:
discreteValues (in) Container that contains the values which we interpolate over.

Definition at line 106 of file Interpolation.hpp.


Member Function Documentation

template<typename T, InterpolationDefs::SizeType N>
virtual SizeType wns::Interpolation< T, N >::dimSize ( const SizeType dim  )  const [inline, virtual]

const

Definition at line 127 of file Interpolation.hpp.

template<typename T, InterpolationDefs::SizeType N>
const DiscreteContainer& wns::Interpolation< T, N >::discretes (  )  const [inline]

Returns:
Constant reference to the container used when constructing an instance of this class.

Definition at line 118 of file Interpolation.hpp.


Member Data Documentation

template<typename T, InterpolationDefs::SizeType N>
const DiscreteContainer* wns::Interpolation< T, N >::values [private]

Definition at line 133 of file Interpolation.hpp.


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

Generated on Sat May 26 03:32:50 2012 for openWNS by  doxygen 1.5.5