Go to the documentation of this file.
   77 template < 
typename T, std::
size_t dim >
 
   88         using Point = Eigen::Matrix<T,dim,1>;
 
  136         inline std::size_t 
idx(
const Point& pt) 
const;
 
  137         inline std::size_t 
idx(
const DP& pts, 
const Data d) 
const;
 
  148         bool build(
const DP& pts, 
size_t maxDataByNode=1, 
T maxSizeByNode=
T(0.), 
bool parallelBuild=
false);
 
  152         bool build(
const DP& pts, 
DataContainer&& datas, BoundingBox&& 
bb, 
size_t maxDataByNode=1, 
T maxSizeByNode=
T(0.), 
bool parallelBuild=
false);
 
  157         template < 
typename Callback >
 
  158         bool visit(Callback& cb);
 
  
bool build(const DP &pts, size_t maxDataByNode=1, T maxSizeByNode=T(0.), bool parallelBuild=false)
PM::DataPoints DataPoints
Octree_< T, dim > * operator[](std::size_t idx)
Functions and classes that are dependant on scalar type are defined in this templatized class.
Eigen::Matrix< T, dim, 1 > Point
Octree_< T, dim > & operator=(const Octree_< T, dim > &o)
typename PM::DataPoints DP
std::vector< Data > DataContainer
std::size_t getDepth() const
Matrix::Index Index
An index to a row or a column.
std::size_t idx(const Point &pt) const
static constexpr std::size_t nbCells
DataContainer toData(const DP &pts, const std::vector< Id > &ids)
DataContainer * getData()
constexpr T pow(const T base, const std::size_t exponent)