Ponca  aa50bfdf187919869239c5b44b748842569114c1
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::KdTreeDefaultNode< Index, NodeIndex, DataPoint, LeafSize > Struct Template Reference
+ Inheritance diagram for Ponca::KdTreeDefaultNode< Index, NodeIndex, DataPoint, LeafSize >:
+ Collaboration diagram for Ponca::KdTreeDefaultNode< Index, NodeIndex, DataPoint, LeafSize >:

Public Types

using Base = KdTreeCustomizableNode< Index, NodeIndex, DataPoint, LeafSize, KdTreeDefaultInnerNode< NodeIndex, typename DataPoint::Scalar, DataPoint::Dim >, KdTreeDefaultLeafNode< Index, LeafSize > >
 
- Public Types inherited from Ponca::KdTreeCustomizableNode< Index, NodeIndex, DataPoint, LeafSize, _InnerNodeType, _LeafNodeType >
enum  : std::size_t { MAX_COUNT = std::size_t(2) << InnerType::INDEX_BITS }
 
using AabbType = Eigen::AlignedBox< Scalar, DataPoint::Dim >
 The type used to store node bounding boxes.
 

Additional Inherited Members

- Public Member Functions inherited from Ponca::KdTreeCustomizableNode< Index, NodeIndex, DataPoint, LeafSize, _InnerNodeType, _LeafNodeType >
bool is_leaf () const
 
void set_is_leaf (bool is_leaf)
 
void configure_range (Index start, Index size, const AabbType &aabb)
 Configures the range of the node in the sample index array of the kd-tree.
 
void configure_inner (Scalar split_value, Index first_child_id, Index split_dim)
 Configures the inner node information.
 
Index leaf_start () const
 The start index of the range of the leaf node in the sample index array.
 
LeafSize leaf_size () const
 The size of the range of the leaf node in the sample index array.
 
Scalar inner_split_value () const
 The position of the AABB split of the inner node.
 
int inner_split_dim () const
 Which axis the split of the AABB of the inner node was done on.
 
Index inner_first_child_id () const
 The index of the first child of the node in the node array of the kd-tree.
 
- Protected Member Functions inherited from Ponca::KdTreeCustomizableNode< Index, NodeIndex, DataPoint, LeafSize, _InnerNodeType, _LeafNodeType >
LeafType & getAsLeaf ()
 
InnerType & getAsInner ()
 
const LeafType & getAsLeaf () const
 
const InnerType & getAsInner () const
 

Detailed Description

template<typename Index, typename NodeIndex, typename DataPoint, typename LeafSize = Index>
struct Ponca::KdTreeDefaultNode< Index, NodeIndex, DataPoint, LeafSize >

Definition at line 231 of file kdTreeTraits.h.

Member Typedef Documentation

◆ Base

template<typename Index , typename NodeIndex , typename DataPoint , typename LeafSize = Index>
using Ponca::KdTreeDefaultNode< Index, NodeIndex, DataPoint, LeafSize >::Base = KdTreeCustomizableNode<Index, NodeIndex, DataPoint, LeafSize, KdTreeDefaultInnerNode<NodeIndex, typename DataPoint::Scalar, DataPoint::Dim>, KdTreeDefaultLeafNode<Index, LeafSize> >

Definition at line 234 of file kdTreeTraits.h.