library of assembled shared sources

http://lass.cocamware.com

lass::spat::MeshInterpolator< T, TPI > Class Template Reference

Interface for interpolators on meshes. More...

#include <mesh_interpolator.h>

Inheritance diagram for lass::spat::MeshInterpolator< T, TPI >:

Inheritance graph
[legend]
Collaboration diagram for lass::spat::MeshInterpolator< T, TPI >:

Collaboration graph
[legend]

Public Types

typedef prim::Aabb2D< T > TAabb2D
typedef PlanarMesh< T, TPI
*, meta::EmptyType,
meta::EmptyType
TPlanarMesh
typedef TPlanarMesh::TPoint2D TPoint2D
typedef std::vector< TPoint2DTPolyLine2D

Public Member Functions

 MeshInterpolator (const TAabb2D &iAabb)
virtual ~MeshInterpolator ()
const TPlanarMeshmesh () const
const TAabb2Daabb () const
virtual void insertSite (const TPoint2D &iPoint, const TPI &iPointInfo)
virtual void insertPolyLine (const TPolyLine2D &iPoly, const TPI &iPointInfo)
virtual TPI interpolate (const TPoint2D &iQuery) const =0
template<typename OutputIterator >
OutputIterator interpolate (const TPolyLine2D &iQuery, OutputIterator oOutput) const

Protected Types

typedef std::deque< TPI > TInfoList
 type must support stable iterators

Protected Member Functions

 MeshInterpolator ()
TInfoListinfo ()

Private Attributes

TPlanarMesh mesh_
TAabb2D aabb_
TInfoList info_

Detailed Description

template<typename T, typename TPI>
class lass::spat::MeshInterpolator< T, TPI >

Interface for interpolators on meshes.

a planar mesh

Author:
Tom De Muer [TDM]

Definition at line 93 of file mesh_interpolator.h.


Member Typedef Documentation

template<typename T , typename TPI >
typedef prim::Aabb2D<T> lass::spat::MeshInterpolator< T, TPI >::TAabb2D

Reimplemented in lass::spat::LinearMeshInterpolator< T, TPI >.

Definition at line 96 of file mesh_interpolator.h.

template<typename T , typename TPI >
typedef PlanarMesh<T, TPI*, meta::EmptyType , meta::EmptyType > lass::spat::MeshInterpolator< T, TPI >::TPlanarMesh

Reimplemented in lass::spat::LinearMeshInterpolator< T, TPI >.

Definition at line 98 of file mesh_interpolator.h.

template<typename T , typename TPI >
typedef TPlanarMesh::TPoint2D lass::spat::MeshInterpolator< T, TPI >::TPoint2D

Reimplemented in lass::spat::LinearMeshInterpolator< T, TPI >.

Definition at line 99 of file mesh_interpolator.h.

template<typename T , typename TPI >
typedef std::vector<TPoint2D> lass::spat::MeshInterpolator< T, TPI >::TPolyLine2D

Reimplemented in lass::spat::LinearMeshInterpolator< T, TPI >.

Definition at line 100 of file mesh_interpolator.h.

template<typename T , typename TPI >
typedef std::deque<TPI> lass::spat::MeshInterpolator< T, TPI >::TInfoList [protected]

type must support stable iterators

Definition at line 115 of file mesh_interpolator.h.


Constructor & Destructor Documentation

template<typename T , typename TPI >
lass::spat::MeshInterpolator< T, TPI >::MeshInterpolator ( const TAabb2D iAabb  )  [inline]

template<typename T , typename TPI >
virtual lass::spat::MeshInterpolator< T, TPI >::~MeshInterpolator (  )  [inline, virtual]

Definition at line 103 of file mesh_interpolator.h.

template<typename T , typename TPI >
lass::spat::MeshInterpolator< T, TPI >::MeshInterpolator (  )  [inline, protected]

Definition at line 113 of file mesh_interpolator.h.


Member Function Documentation

template<typename T , typename TPI >
const TPlanarMesh& lass::spat::MeshInterpolator< T, TPI >::mesh (  )  const [inline]

template<typename T , typename TPI >
const TAabb2D& lass::spat::MeshInterpolator< T, TPI >::aabb (  )  const [inline]

template<typename T , typename TPI >
void lass::spat::MeshInterpolator< T, TPI >::insertSite ( const TPoint2D iPoint,
const TPI &  iPointInfo 
) [inline, virtual]

template<typename T , typename TPI >
void lass::spat::MeshInterpolator< T, TPI >::insertPolyLine ( const TPolyLine2D iPoly,
const TPI &  iPointInfo 
) [inline, virtual]

template<typename T , typename TPI >
virtual TPI lass::spat::MeshInterpolator< T, TPI >::interpolate ( const TPoint2D iQuery  )  const [pure virtual]

template<typename T , typename TPI >
template<typename OutputIterator >
OutputIterator lass::spat::MeshInterpolator< T, TPI >::interpolate ( const TPolyLine2D iQuery,
OutputIterator  oOutput 
) const [inline]

template<typename T , typename TPI >
TInfoList& lass::spat::MeshInterpolator< T, TPI >::info (  )  [inline, protected]


Field Documentation

template<typename T , typename TPI >
TPlanarMesh lass::spat::MeshInterpolator< T, TPI >::mesh_ [private]

template<typename T , typename TPI >
TAabb2D lass::spat::MeshInterpolator< T, TPI >::aabb_ [private]

template<typename T , typename TPI >
TInfoList lass::spat::MeshInterpolator< T, TPI >::info_ [private]


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

Generated on Mon Nov 10 14:22:15 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo