library of assembled shared sources |
http://lass.cocamware.com |
#include <mesh_interpolator.h>
Public Types | |
typedef prim::Aabb2D< T > | TAabb2D |
typedef PlanarMesh< T, TPI *, meta::EmptyType, meta::EmptyType > | TPlanarMesh |
typedef TPlanarMesh::TPoint2D | TPoint2D |
typedef std::vector< TPoint2D > | TPolyLine2D |
Public Member Functions | |
MeshInterpolator (const TAabb2D &iAabb) | |
virtual | ~MeshInterpolator () |
const TPlanarMesh & | mesh () const |
const TAabb2D & | aabb () 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 () | |
TInfoList & | info () |
Private Attributes | |
TPlanarMesh | mesh_ |
TAabb2D | aabb_ |
TInfoList | info_ |
a planar mesh
Definition at line 93 of file mesh_interpolator.h.
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.
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.
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.
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.
typedef std::deque<TPI> lass::spat::MeshInterpolator< T, TPI >::TInfoList [protected] |
lass::spat::MeshInterpolator< T, TPI >::MeshInterpolator | ( | const TAabb2D & | iAabb | ) | [inline] |
Definition at line 127 of file mesh_interpolator.h.
References lass::spat::MeshInterpolator< T, TPI >::aabb_.
virtual lass::spat::MeshInterpolator< T, TPI >::~MeshInterpolator | ( | ) | [inline, virtual] |
Definition at line 103 of file mesh_interpolator.h.
lass::spat::MeshInterpolator< T, TPI >::MeshInterpolator | ( | ) | [inline, protected] |
Definition at line 113 of file mesh_interpolator.h.
const TPlanarMesh& lass::spat::MeshInterpolator< T, TPI >::mesh | ( | ) | const [inline] |
Definition at line 105 of file mesh_interpolator.h.
References lass::spat::MeshInterpolator< T, TPI >::mesh_.
Referenced by lass::spat::LinearMeshInterpolator< T, TPI >::interpolate(), and lass::spat::LinearMeshInterpolator< T, TPI >::LinearMeshInterpolator().
const TAabb2D& lass::spat::MeshInterpolator< T, TPI >::aabb | ( | ) | const [inline] |
Definition at line 106 of file mesh_interpolator.h.
References lass::spat::MeshInterpolator< T, TPI >::aabb_.
Referenced by lass::spat::LinearMeshInterpolator< T, TPI >::interpolate().
void lass::spat::MeshInterpolator< T, TPI >::insertSite | ( | const TPoint2D & | iPoint, | |
const TPI & | iPointInfo | |||
) | [inline, virtual] |
Definition at line 133 of file mesh_interpolator.h.
References lass::spat::MeshInterpolator< T, TPI >::aabb_, lass::prim::Aabb2D< T, MinMaxPolicy >::contains(), lass::spat::MeshInterpolator< T, TPI >::info_, lass::spat::PlanarMesh::insertSite(), LASS_THROW, lass::spat::MeshInterpolator< T, TPI >::mesh_, and lass::spat::PlanarMesh::setPointHandle().
void lass::spat::MeshInterpolator< T, TPI >::insertPolyLine | ( | const TPolyLine2D & | iPoly, | |
const TPI & | iPointInfo | |||
) | [inline, virtual] |
Definition at line 149 of file mesh_interpolator.h.
References lass::spat::MeshInterpolator< T, TPI >::aabb_, lass::prim::Aabb2D< T, MinMaxPolicy >::contains(), lass::spat::MeshInterpolator< T, TPI >::info_, lass::spat::PlanarMesh::insertEdge(), LASS_THROW, and lass::spat::MeshInterpolator< T, TPI >::mesh_.
virtual TPI lass::spat::MeshInterpolator< T, TPI >::interpolate | ( | const TPoint2D & | iQuery | ) | const [pure virtual] |
Implemented in lass::spat::LinearMeshInterpolator< T, TPI >.
OutputIterator lass::spat::MeshInterpolator< T, TPI >::interpolate | ( | const TPolyLine2D & | iQuery, | |
OutputIterator | oOutput | |||
) | const [inline] |
TInfoList& lass::spat::MeshInterpolator< T, TPI >::info | ( | ) | [inline, protected] |
Definition at line 116 of file mesh_interpolator.h.
References lass::spat::MeshInterpolator< T, TPI >::info_.
Referenced by lass::spat::LinearMeshInterpolator< T, TPI >::LinearMeshInterpolator().
TPlanarMesh lass::spat::MeshInterpolator< T, TPI >::mesh_ [private] |
Definition at line 119 of file mesh_interpolator.h.
Referenced by lass::spat::MeshInterpolator< T, TPI >::insertPolyLine(), lass::spat::MeshInterpolator< T, TPI >::insertSite(), and lass::spat::MeshInterpolator< T, TPI >::mesh().
TAabb2D lass::spat::MeshInterpolator< T, TPI >::aabb_ [private] |
TInfoList lass::spat::MeshInterpolator< T, TPI >::info_ [private] |
Definition at line 122 of file mesh_interpolator.h.
Referenced by lass::spat::MeshInterpolator< T, TPI >::info(), lass::spat::MeshInterpolator< T, TPI >::insertPolyLine(), and lass::spat::MeshInterpolator< T, TPI >::insertSite().
Generated on Mon Nov 10 14:22:15 2008 for Library of Assembled Shared Sources by 1.5.7.1 |