ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
OctNode< NodeData >::NeighborKey< LeftRadius, RightRadius > Class Template Reference

#include <Octree.h>

Inheritance diagram for OctNode< NodeData >::NeighborKey< LeftRadius, RightRadius >:

Public Member Functions

 NeighborKey (void)
 
 NeighborKey (const NeighborKey &key)
 
 ~NeighborKey (void)
 
int depth (void) const
 
void set (int depth)
 
template<bool CreateNodes>
OctNode< NodeData >::template Neighbors< LeftRadius+RightRadius+1 > & getNeighbors (OctNode *node)
 
template<bool CreateNodes, unsigned int _LeftRadius, unsigned int _RightRadius>
void getNeighbors (OctNode *node, Neighbors< _LeftRadius+_RightRadius+1 > &neighbors)
 
template<bool CreateNodes>
bool getChildNeighbors (int cIdx, int d, Neighbors< Width > &childNeighbors) const
 
template<bool CreateNodes, class Real >
bool getChildNeighbors (Point3D< Real > p, int d, Neighbors< Width > &childNeighbors) const
 

Public Attributes

Neighbors< Width > * neighbors
 

Static Public Attributes

static const int Width = LeftRadius + RightRadius + 1
 

Detailed Description

template<class NodeData>
template<unsigned int LeftRadius, unsigned int RightRadius>
class OctNode< NodeData >::NeighborKey< LeftRadius, RightRadius >

Definition at line 131 of file Octree.h.

Constructor & Destructor Documentation

◆ NeighborKey() [1/2]

template<class NodeData >
template<unsigned int LeftRadius, unsigned int RightRadius>
OctNode< NodeData >::NeighborKey< LeftRadius, RightRadius >::NeighborKey ( void  )

◆ NeighborKey() [2/2]

template<class NodeData >
template<unsigned int LeftRadius, unsigned int RightRadius>
OctNode< NodeData >::NeighborKey< LeftRadius, RightRadius >::NeighborKey ( const NeighborKey< LeftRadius, RightRadius > &  key)

◆ ~NeighborKey()

template<class NodeData >
template<unsigned int LeftRadius, unsigned int RightRadius>
OctNode< NodeData >::NeighborKey< LeftRadius, RightRadius >::~NeighborKey ( void  )

Member Function Documentation

◆ depth()

template<class NodeData >
template<unsigned int LeftRadius, unsigned int RightRadius>
int OctNode< NodeData >::NeighborKey< LeftRadius, RightRadius >::depth ( void  ) const
inline

Definition at line 141 of file Octree.h.

◆ getChildNeighbors() [1/2]

template<class NodeData >
template<unsigned int LeftRadius, unsigned int RightRadius>
template<bool CreateNodes>
bool OctNode< NodeData >::NeighborKey< LeftRadius, RightRadius >::getChildNeighbors ( int  cIdx,
int  d,
Neighbors< Width > &  childNeighbors 
) const

◆ getChildNeighbors() [2/2]

template<class NodeData >
template<unsigned int LeftRadius, unsigned int RightRadius>
template<bool CreateNodes, class Real >
bool OctNode< NodeData >::NeighborKey< LeftRadius, RightRadius >::getChildNeighbors ( Point3D< Real >  p,
int  d,
Neighbors< Width > &  childNeighbors 
) const

◆ getNeighbors() [1/2]

template<class NodeData >
template<unsigned int LeftRadius, unsigned int RightRadius>
template<bool CreateNodes>
OctNode< NodeData >::template Neighbors< LeftRadius+RightRadius+1 >& OctNode< NodeData >::NeighborKey< LeftRadius, RightRadius >::getNeighbors ( OctNode node)

◆ getNeighbors() [2/2]

template<class NodeData >
template<unsigned int LeftRadius, unsigned int RightRadius>
template<bool CreateNodes, unsigned int _LeftRadius, unsigned int _RightRadius>
void OctNode< NodeData >::NeighborKey< LeftRadius, RightRadius >::getNeighbors ( OctNode node,
Neighbors< _LeftRadius+_RightRadius+1 > &  neighbors 
)

◆ set()

template<class NodeData >
template<unsigned int LeftRadius, unsigned int RightRadius>
void OctNode< NodeData >::NeighborKey< LeftRadius, RightRadius >::set ( int  depth)

Member Data Documentation

◆ neighbors

template<class NodeData >
template<unsigned int LeftRadius, unsigned int RightRadius>
Neighbors< Width >* OctNode< NodeData >::NeighborKey< LeftRadius, RightRadius >::neighbors

Definition at line 136 of file Octree.h.

◆ Width

template<class NodeData >
template<unsigned int LeftRadius, unsigned int RightRadius>
const int OctNode< NodeData >::NeighborKey< LeftRadius, RightRadius >::Width = LeftRadius + RightRadius + 1
static

Definition at line 135 of file Octree.h.


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