gr::BruteForceFunctor< _DummyPrimitive, _Point, _dim, _Scalar > Struct Template Reference

Extract pairs of points using brute force approach. More...

#include <bruteForceFunctor.h>

+ Collaboration diagram for gr::BruteForceFunctor< _DummyPrimitive, _Point, _dim, _Scalar >:

Public Types

enum  { dim = _dim }
 
typedef _Point Point
 
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 _DummyPrimitive, class _Point, int _dim, typename _Scalar>
struct gr::BruteForceFunctor< _DummyPrimitive, _Point, _dim, _Scalar >

Extract pairs of points using brute force approach.

Brute force approach used in 4PCS

See also
Todo:
Use Traits to allow custom parameters but similar API between variants

Member Typedef Documentation

template<class _DummyPrimitive , class _Point , int _dim, typename _Scalar >
typedef _Point gr::BruteForceFunctor< _DummyPrimitive, _Point, _dim, _Scalar >::Point
template<class _DummyPrimitive , class _Point , int _dim, typename _Scalar >
typedef _Scalar gr::BruteForceFunctor< _DummyPrimitive, _Point, _dim, _Scalar >::Scalar

Member Enumeration Documentation

template<class _DummyPrimitive , class _Point , int _dim, typename _Scalar >
anonymous enum
Enumerator
dim 

Member Function Documentation

template<class DummyPrimitive , class Point , int dim, typename Scalar >
template<class PrimitiveContainer , class PointContainer , class ProcessingFunctor >
void gr::BruteForceFunctor< DummyPrimitive, Point, dim, Scalar >::process ( const PrimitiveContainer &  M,
const PointContainer &  Q,
Scalar epsilon,
unsigned int  minNodeSize,
ProcessingFunctor &  functor 
)
inline

< Process the extracted pairs

Returns
Pairs< PointId, PrimitiveId>
Parameters
MInput point set [0:1]^d
QInput point set [0:1]^d
epsilonIntersection accuracy, refined
minNodeSizeMin number of points in nodes

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