gr::IntersectionFunctor< _Primitive, _Point, _dim, _Scalar > Struct Template Reference
Extract pairs of points by rasterizing primitives and collect points. More...
#include <intersectionFunctor.h>
Collaboration diagram for gr::IntersectionFunctor< _Primitive, _Point, _dim, _Scalar >:
Public Types | |
enum | { dim = _dim } |
typedef _Point | Point |
typedef _Primitive | Primitive |
typedef _Scalar | Scalar |
Public Member Functions | |
template<class PrimitiveContainer , class PointContainer , class ProcessingFunctor > | |
void | process (const PrimitiveContainer &M, const PointContainer &Q, Scalar &epsilon, unsigned int minNodeSize, ProcessingFunctor &functor) |
< Process the extracted pairs More... | |
Detailed Description
template<class _Primitive, class _Point, int _dim, typename _Scalar>
struct gr::IntersectionFunctor< _Primitive, _Point, _dim, _Scalar >
Extract pairs of points by rasterizing primitives and collect points.
Acceleration technique used in Super4PCS
- Todo:
- Use Traits to allow custom parameters but similar API between variants
- See also
- BruteForceFunctor
Member Typedef Documentation
template<class _Primitive , class _Point , int _dim, typename _Scalar >
typedef _Point gr::IntersectionFunctor< _Primitive, _Point, _dim, _Scalar >::Point |
template<class _Primitive , class _Point , int _dim, typename _Scalar >
typedef _Primitive gr::IntersectionFunctor< _Primitive, _Point, _dim, _Scalar >::Primitive |
template<class _Primitive , class _Point , int _dim, typename _Scalar >
typedef _Scalar gr::IntersectionFunctor< _Primitive, _Point, _dim, _Scalar >::Scalar |
Member Enumeration Documentation
template<class _Primitive , class _Point , int _dim, typename _Scalar >
anonymous enum |
Member Function Documentation
template<class Primitive , class Point , int dim, typename Scalar >
template<class PrimitiveContainer , class PointContainer , class ProcessingFunctor >
void gr::IntersectionFunctor< Primitive, Point, dim, Scalar >::process | ( | const PrimitiveContainer & | M, |
const PointContainer & | Q, | ||
Scalar & | epsilon, | ||
unsigned int | minNodeSize, | ||
ProcessingFunctor & | functor | ||
) |
< Process the extracted pairs
- Returns
- Pairs< PointId, PrimitiveId>
- Parameters
-
M Input primitives to intersect with Q Q Normalized innput point set [0:1]^d epsilon Intersection accuracy, refined minNodeSize Min number of points in nodes
The documentation for this struct was generated from the following file:
- /home/travis/build/STORM-IRIT/OpenGR/src/gr/accelerators/pairExtraction/intersectionFunctor.h