#include <KdTree.hpp>
Public Member Functions | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
PREC | getGeometricMean (unsigned int axis) |
std::string | getPointString () |
PointData (iterator begin, iterator end, std::unique_ptr< PointListType > points=nullptr) | |
std::size_t | size () const |
std::pair< PointData *, PointData * > | split (iterator splitRightIt) const |
~PointData () | |
Static Public Attributes | |
static const unsigned int | Dimension = Traits::Dimension |
Private Attributes | |
iterator | m_begin |
iterator | m_end |
The actual range of m_points which this node contains. | |
PointListType * | m_points = nullptr |
Friends | |
class | XML |
Standart class for the node data type in the Tree
Definition at line 168 of file KdTree.hpp.
ApproxMVBB::KdTree::PointData< TTraits >::PointData | ( | iterator | begin, |
iterator | end, | ||
std::unique_ptr< PointListType > | points = nullptr |
||
) | [inline] |
Constructor for the root node, which owns the pointer list All child nodes don't set m_points internally points
can be nullptr, such that kdTree is not responsible for the points!
Definition at line 189 of file KdTree.hpp.
ApproxMVBB::KdTree::PointData< TTraits >::~PointData | ( | ) | [inline] |
Definition at line 192 of file KdTree.hpp.
iterator ApproxMVBB::KdTree::PointData< TTraits >::begin | ( | ) | [inline] |
Definition at line 218 of file KdTree.hpp.
const_iterator ApproxMVBB::KdTree::PointData< TTraits >::begin | ( | ) | const [inline] |
Definition at line 227 of file KdTree.hpp.
iterator ApproxMVBB::KdTree::PointData< TTraits >::end | ( | ) | [inline] |
Definition at line 222 of file KdTree.hpp.
const_iterator ApproxMVBB::KdTree::PointData< TTraits >::end | ( | ) | const [inline] |
Definition at line 231 of file KdTree.hpp.
PREC ApproxMVBB::KdTree::PointData< TTraits >::getGeometricMean | ( | unsigned int | axis | ) | [inline] |
Definition at line 208 of file KdTree.hpp.
std::string ApproxMVBB::KdTree::PointData< TTraits >::getPointString | ( | ) | [inline] |
Definition at line 240 of file KdTree.hpp.
std::size_t ApproxMVBB::KdTree::PointData< TTraits >::size | ( | ) | const [inline] |
Definition at line 236 of file KdTree.hpp.
std::pair<PointData *, PointData * > ApproxMVBB::KdTree::PointData< TTraits >::split | ( | iterator | splitRightIt | ) | const [inline] |
Splits the data into two new node datas if the split heuristics wants a split
Definition at line 199 of file KdTree.hpp.
friend class XML [friend] |
Definition at line 249 of file KdTree.hpp.
const unsigned int ApproxMVBB::KdTree::PointData< TTraits >::Dimension = Traits::Dimension [static] |
Definition at line 172 of file KdTree.hpp.
iterator ApproxMVBB::KdTree::PointData< TTraits >::m_begin [private] |
Definition at line 251 of file KdTree.hpp.
iterator ApproxMVBB::KdTree::PointData< TTraits >::m_end [private] |
The actual range of m_points which this node contains.
Definition at line 251 of file KdTree.hpp.
PointListType* ApproxMVBB::KdTree::PointData< TTraits >::m_points = nullptr [private] |
Owned pointer to the points which is deleted in Ctor (if not nullptr)
Definition at line 254 of file KdTree.hpp.