Work only in 3D, based on healpix.
More...
#include <normalHealSet.h>
|
template<typename PointT > |
bool | addElement (const PointT &pos, const PointT &normal, unsigned int id) |
| Add a new couple pos/normal, and its associated id. More...
|
|
std::vector< ChealMap * > | getEpsilonMaps (const Point &p) |
|
ChealMap * | getMap (const Point &p) |
|
template<typename PointT > |
void | getNeighbors (const PointT &p, std::vector< unsigned int > &nei) |
| Get closest points in euclidean space. More...
|
|
template<typename PointT > |
void | getNeighbors (const PointT &p, const PointT &n, std::vector< unsigned int > &nei) |
| Get closest points in euclidean an normal space. More...
|
|
template<typename PointT > |
void | getNeighbors (const PointT &p, const PointT &n, double alpha, std::vector< unsigned int > &nei) |
| Get closest poitns in euclidean an normal space with angular deviation. More...
|
|
| IndexedNormalHealSet (double epsilon, int resolution=4) |
|
bool | isValid () const |
|
virtual | ~IndexedNormalHealSet () |
|
Work only in 3D, based on healpix.
Scalar are constrained to be double Points are constrained to be Eigen vec3d
State of the index validation, disabled when compiled in release mode.
Enumerator |
---|
INDEX_VALIDATION_ENABLED |
|
gr::IndexedNormalHealSet::IndexedNormalHealSet |
( |
double |
epsilon, |
|
|
int |
resolution = 4 |
|
) |
| |
|
inline |
virtual gr::IndexedNormalHealSet::~IndexedNormalHealSet |
( |
| ) |
|
|
inlinevirtual |
template<typename PointT >
bool gr::IndexedNormalHealSet::addElement |
( |
const PointT & |
pos, |
|
|
const PointT & |
normal, |
|
|
unsigned int |
id |
|
) |
| |
Add a new couple pos/normal, and its associated id.
Template functions.
std::vector<ChealMap*> gr::IndexedNormalHealSet::getEpsilonMaps |
( |
const Point & |
p | ) |
|
|
inline |
- Returns
- a vector of maps containing points that can be close to p (according to input epsilon)
- Returns
- NULL if the grid does not exist or p is out of bound
template<typename PointT >
void gr::IndexedNormalHealSet::getNeighbors |
( |
const PointT & |
p, |
|
|
std::vector< unsigned int > & |
nei |
|
) |
| |
Get closest points in euclidean space.
template<typename PointT >
void gr::IndexedNormalHealSet::getNeighbors |
( |
const PointT & |
p, |
|
|
const PointT & |
n, |
|
|
std::vector< unsigned int > & |
nei |
|
) |
| |
Get closest points in euclidean an normal space.
template<typename PointT >
void gr::IndexedNormalHealSet::getNeighbors |
( |
const PointT & |
p, |
|
|
const PointT & |
n, |
|
|
double |
alpha, |
|
|
std::vector< unsigned int > & |
nei |
|
) |
| |
Get closest poitns in euclidean an normal space with angular deviation.
bool gr::IndexedNormalHealSet::isValid |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: