IMP
2.2.0
The Integrative Modeling Platform
|
Geometric Hash table. More...
#include <IMP/multifit/GeometricHash.h>
Public Types | |
typedef boost::array< int, D > | Bucket |
typedef std::vector< Bucket > | BucketList |
typedef GeomMap::const_iterator | const_iterator |
enum | Distance { INF, EUCLIDEAN } |
typedef std::map< const Bucket, PointList > | GeomMap |
typedef std::vector< const ValueType * > | HashResult |
typedef IMP::base::Vector< T > | HashResultT |
typedef GeomMap::iterator | iterator |
typedef algebra::VectorD< D > | Point |
typedef std::vector< ValueType > | PointList |
typedef std::pair< Point, T > | ValueType |
Public Member Functions | |
GeometricHash (double radius=1) | |
template<typename X > | |
GeometricHash (const X &radii) | |
GeometricHash (const algebra::VectorD< D > &radii) | |
void | add (const Point &pt, const T &data) |
template<typename X > | |
void | add (const X &coordinates, const T &data) |
iterator | begin () |
const_iterator | begin () const |
PointList const * | bucket (const Point &pt) const |
void | clear () |
iterator | end () |
const_iterator | end () const |
BucketList | get_buckets () const |
GeomMap const & | Map () const |
HashResult | neighbors (Distance dt, const Point ¢er, double radius) const |
template<typename X > | |
HashResult | neighbors (Distance dt, const X ¢er_coordinates, double radius) const |
void | neighbors (Distance dt, const Point ¢er, double radius, HashResultT &values) |
template<typename X > | |
HashResult | neighbors (const Point ¢er, const X &radii) const |
HashResult | neighbors (const Point ¢er) |
template<typename X > | |
HashResult | neighbors (const X ¢er_coordinates) |
HashResultT | neighbors_data (Distance dt, const Point ¢er, double radius) const |
double | resolution (int axis=0) const |
GeometricHash<T, D> stores values of type T with D-dimensional points whose coordinates are of type double inside D-dimensional buckets (cubes)
Definition at line 26 of file GeometricHash.h.