gr::AdaptivePointFilter Struct Reference

Functor used in n-pcs algorithm to filters pairs of points according to the exploration basis. Uses normal, colors and max motion when available. More...

#include <PointPairFilter.h>

+ Inheritance diagram for gr::AdaptivePointFilter:
+ Collaboration diagram for gr::AdaptivePointFilter:

Classes

struct  Options
 

Public Member Functions

template<typename PointType , typename WantedOptionsAndMore >
std::pair< bool, bool > operator() (const PointType &p, const PointType &q, typename PointType::Scalar pair_normals_angle, const PointType &b0, const PointType &b1, const WantedOptionsAndMore &options)
 Verify that the 2 points found in Q are similar to 2 of the points in the base. A filter by point feature : normal, distance, translation distance, angle and color. Return a pair of bool, according of the right addition of the pair (p,q) or (q,p) in the congruent set. More...
 
- Public Member Functions inherited from gr::PairFilterConcept
template<typename PointType , typename WantedOptionsAndMore >
std::pair< bool, bool > operator() (const PointType &, const PointType &, typename PointType::Scalar, const PointType &, const PointType &, const WantedOptionsAndMore &)
 Verify that the 2 points found in Q are similar to 2 of the points in the base. Return a pair of bool, according of the right addition of the pair (p,q) or (q,p) in the congruent set. More...
 

Detailed Description

Functor used in n-pcs algorithm to filters pairs of points according to the exploration basis. Uses normal, colors and max motion when available.

Member Function Documentation

template<typename PointType , typename WantedOptionsAndMore >
std::pair<bool,bool> gr::AdaptivePointFilter::operator() ( const PointType &  p,
const PointType &  q,
typename PointType::Scalar  pair_normals_angle,
const PointType &  b0,
const PointType &  b1,
const WantedOptionsAndMore &  options 
)
inline

Verify that the 2 points found in Q are similar to 2 of the points in the base. A filter by point feature : normal, distance, translation distance, angle and color. Return a pair of bool, according of the right addition of the pair (p,q) or (q,p) in the congruent set.


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