gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options > Struct Template Reference

#include <pairCreationFunctor.h>

+ Inheritance diagram for gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >:
+ Collaboration diagram for gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >:

Public Types

using BaseCoordinates = typename Traits4pcs< PointType >::Coordinates
 
using OptionType = Options
 
using PairsVector = std::vector< std::pair< int, int >>
 
typedef Eigen::Matrix< Scalar, 3, 1 > Point
 
typedef HyperSphere< typename PairCreationFunctor::Point, 3, ScalarPrimitive
 
using Scalar = _Scalar
 
using VectorType = typename PointType::VectorType
 

Public Member Functions

void beginPrimitiveCollect (int)
 
void endPrimitiveCollect (int)
 
Scalar getNormalizedEpsilon (Scalar eps)
 
Point getPointInWorldCoord (int i) const
 
 PairCreationFunctor (const OptionType &options, const std::vector< PointType > &Q)
 
void process (int i, int j)
 
void setBase (int base_point1, int base_point2, const BaseCoordinates &base_3D)
 
void setRadius (Scalar radius)
 
void synch3DContent ()
 
Point unitToWorld (const Eigen::MatrixBase< typename PairCreationFunctor::Point > &p) const
 
Scalar unitToWorld (Scalar d) const
 

Public Attributes

std::vector< unsigned intids
 
OptionType options_
 
double pair_distance
 
double pair_distance_epsilon
 
double pair_normals_angle
 
PairsVectorpairs
 
std::vector< typename PairCreationFunctor::Pointpoints
 
std::vector< Primitiveprimitives
 
const std::vector< PointType > & Q_
 

Member Typedef Documentation

template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
using gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::BaseCoordinates = typename Traits4pcs<PointType>::Coordinates
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
using gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::OptionType = Options
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
using gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::PairsVector = std::vector<std::pair<int, int>>
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
typedef Eigen::Matrix<Scalar, 3, 1> gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::Point
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
typedef HyperSphere< typename PairCreationFunctor::Point, 3, Scalar> gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::Primitive
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
using gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::Scalar = _Scalar
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
using gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::VectorType = typename PointType::VectorType

Constructor & Destructor Documentation

template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::PairCreationFunctor ( const OptionType options,
const std::vector< PointType > &  Q 
)
inline

Member Function Documentation

template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
void gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::beginPrimitiveCollect ( int  )
inline
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
void gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::endPrimitiveCollect ( int  )
inline
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
Scalar gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::getNormalizedEpsilon ( Scalar  eps)
inline
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
Point gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::getPointInWorldCoord ( int  i) const
inline
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
void gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::process ( int  i,
int  j 
)
inline
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
void gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::setBase ( int  base_point1,
int  base_point2,
const BaseCoordinates base_3D 
)
inline
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
void gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::setRadius ( Scalar  radius)
inline
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
void gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::synch3DContent ( )
inline
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
Point gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::unitToWorld ( const Eigen::MatrixBase< typename PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::Point > &  p) const
inline
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
Scalar gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::unitToWorld ( Scalar  d) const
inline

Member Data Documentation

template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
std::vector<unsigned int> gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::ids
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
OptionType gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::options_
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
double gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::pair_distance
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
double gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::pair_distance_epsilon
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
double gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::pair_normals_angle
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
PairsVector* gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::pairs
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
std::vector< typename PairCreationFunctor::Point > gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::points
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
std::vector< Primitive > gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::primitives
template<typename PointType, typename _Scalar, typename FilterFunctor, typename Options>
const std::vector<PointType>& gr::PairCreationFunctor< PointType, _Scalar, FilterFunctor, Options >::Q_

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