User Manual, Developers Guide and API Documentation

wns::wns::NearestNeighbour< T, 1 > Class Template Reference

One dimensional specialization of Nearest Neighbour Interpolation.

#include <NearestNeighbour.hpp>

Inheritance diagram for wns::wns::NearestNeighbour< T, 1 >:

Inheritance graph
[legend]
Collaboration diagram for wns::wns::NearestNeighbour< T, 1 >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef SuperType::CoordType CoordType
typedef
SuperType::DiscreteContainer 
DiscreteContainer
typedef
DiscreteContainer::IndexType 
IndexType
 The type of indexes in the [] operator.
typedef SuperType::ValueType ValueType
 The type of the values that are accessed.

Public Member Functions

 NearestNeighbour (const DiscreteContainer &discreteValues)
virtual ValueType operator[] (const CoordType &coord) const

Private Types

typedef Interpolation< T, 1 > SuperType


Detailed Description

template<typename T>
class wns::wns::NearestNeighbour< T, 1 >

Definition at line 124 of file NearestNeighbour.hpp.


Member Typedef Documentation

template<typename T>
typedef SuperType::CoordType wns::wns::NearestNeighbour< T, 1 >::CoordType

Reimplemented from wns::wns::Interpolation< T, 1 >.

Definition at line 130 of file NearestNeighbour.hpp.

template<typename T>
typedef SuperType::DiscreteContainer wns::wns::NearestNeighbour< T, 1 >::DiscreteContainer

Reimplemented from wns::wns::Interpolation< T, 1 >.

Definition at line 131 of file NearestNeighbour.hpp.

template<typename T>
typedef DiscreteContainer::IndexType wns::wns::NearestNeighbour< T, 1 >::IndexType

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

Definition at line 132 of file NearestNeighbour.hpp.

template<typename T>
typedef Interpolation<T, 1> wns::wns::NearestNeighbour< T, 1 >::SuperType [private]

Reimplemented from wns::wns::Interpolation< T, 1 >.

Definition at line 127 of file NearestNeighbour.hpp.

template<typename T>
typedef SuperType::ValueType wns::wns::NearestNeighbour< T, 1 >::ValueType

Reimplemented from wns::wns::Interpolation< T, 1 >.

Definition at line 129 of file NearestNeighbour.hpp.


Member Function Documentation

template<typename T>
wns::wns::NearestNeighbour< T, 1 >::NearestNeighbour ( const DiscreteContainer discreteValues  )  [inline]

Definition at line 134 of file NearestNeighbour.hpp.

template<typename T>
virtual ValueType wns::wns::NearestNeighbour< T, 1 >::operator[] ( const CoordType coord  )  const [inline, virtual]

Definition at line 138 of file NearestNeighbour.hpp.


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

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