Classes | Public Types | Static Public Attributes | List of all members
ApproxMVBB::KdTree::DefaultPointDataTraits< Dim, TPoint, TValue, TPointGetter, TDistanceCompTraits > Class Template Reference

#include <KdTree.hpp>

Classes

struct  PointGetterImpl
 
struct  PointGetterImpl< TT * >
 

Public Types

using const_iterator = typename PointListType::const_iterator
 
using DistCompTraits = meta::if_< details::isDefault< TDistanceCompTraits >, DefaultDistanceCompTraits< PointType, PointGetter >, TDistanceCompTraits >
 
using iterator = typename PointListType::iterator
 
using PointGetter = meta::if_< details::isDefault< TPointGetter >, PointGetterImpl< typename PointListType::value_type >, TPointGetter >
 
using PointListType = StdVecAligned< TValue >
 
using PointType = TPoint
 

Static Public Attributes

static const unsigned int Dimension = Dim
 

Detailed Description

template<unsigned int Dim = 3, typename TPoint = Vector3, typename TValue = Vector3 *, typename TPointGetter = details::TakeDefault, typename TDistanceCompTraits = details::TakeDefault>
class ApproxMVBB::KdTree::DefaultPointDataTraits< Dim, TPoint, TValue, TPointGetter, TDistanceCompTraits >

The default point data traits

Definition at line 117 of file KdTree.hpp.

Member Typedef Documentation

template<unsigned int Dim = 3, typename TPoint = Vector3, typename TValue = Vector3 *, typename TPointGetter = details::TakeDefault, typename TDistanceCompTraits = details::TakeDefault>
using ApproxMVBB::KdTree::DefaultPointDataTraits< Dim, TPoint, TValue, TPointGetter, TDistanceCompTraits >::const_iterator = typename PointListType::const_iterator

Definition at line 124 of file KdTree.hpp.

template<unsigned int Dim = 3, typename TPoint = Vector3, typename TValue = Vector3 *, typename TPointGetter = details::TakeDefault, typename TDistanceCompTraits = details::TakeDefault>
using ApproxMVBB::KdTree::DefaultPointDataTraits< Dim, TPoint, TValue, TPointGetter, TDistanceCompTraits >::DistCompTraits = meta::if_< details::isDefault<TDistanceCompTraits> , DefaultDistanceCompTraits<PointType,PointGetter>, TDistanceCompTraits >

The distance comperator traits

Definition at line 162 of file KdTree.hpp.

template<unsigned int Dim = 3, typename TPoint = Vector3, typename TValue = Vector3 *, typename TPointGetter = details::TakeDefault, typename TDistanceCompTraits = details::TakeDefault>
using ApproxMVBB::KdTree::DefaultPointDataTraits< Dim, TPoint, TValue, TPointGetter, TDistanceCompTraits >::iterator = typename PointListType::iterator

Definition at line 123 of file KdTree.hpp.

template<unsigned int Dim = 3, typename TPoint = Vector3, typename TValue = Vector3 *, typename TPointGetter = details::TakeDefault, typename TDistanceCompTraits = details::TakeDefault>
using ApproxMVBB::KdTree::DefaultPointDataTraits< Dim, TPoint, TValue, TPointGetter, TDistanceCompTraits >::PointGetter = meta::if_< details::isDefault<TPointGetter> , PointGetterImpl<typename PointListType::value_type>, TPointGetter >

The getter which turns a value_type into the PointType

Definition at line 156 of file KdTree.hpp.

template<unsigned int Dim = 3, typename TPoint = Vector3, typename TValue = Vector3 *, typename TPointGetter = details::TakeDefault, typename TDistanceCompTraits = details::TakeDefault>
using ApproxMVBB::KdTree::DefaultPointDataTraits< Dim, TPoint, TValue, TPointGetter, TDistanceCompTraits >::PointListType = StdVecAligned<TValue>

Definition at line 121 of file KdTree.hpp.

template<unsigned int Dim = 3, typename TPoint = Vector3, typename TValue = Vector3 *, typename TPointGetter = details::TakeDefault, typename TDistanceCompTraits = details::TakeDefault>
using ApproxMVBB::KdTree::DefaultPointDataTraits< Dim, TPoint, TValue, TPointGetter, TDistanceCompTraits >::PointType = TPoint

Definition at line 120 of file KdTree.hpp.

Member Data Documentation

template<unsigned int Dim = 3, typename TPoint = Vector3, typename TValue = Vector3 *, typename TPointGetter = details::TakeDefault, typename TDistanceCompTraits = details::TakeDefault>
const unsigned int ApproxMVBB::KdTree::DefaultPointDataTraits< Dim, TPoint, TValue, TPointGetter, TDistanceCompTraits >::Dimension = Dim
static

Definition at line 119 of file KdTree.hpp.


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


asr_approx_mvbb
Author(s): Gassner Nikolai
autogenerated on Mon Jun 10 2019 12:38:09