![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <Octree.h>


Classes | |
| class | ConstNeighborKey |
| struct | ConstNeighbors |
| class | NeighborKey |
| struct | Neighbors |
Public Member Functions | |
| OctNode (void) | |
| ~OctNode (void) | |
| int | initChildren (void) |
| void | depthAndOffset (int &depth, int offset[3]) const |
| void | centerIndex (int index[3]) const |
| int | depth (void) const |
| template<class Real > | |
| void | centerAndWidth (Point3D< Real > ¢er, Real &width) const |
| template<class Real > | |
| void | startAndWidth (Point3D< Real > &start, Real &width) const |
| template<class Real > | |
| bool | isInside (Point3D< Real > p) const |
| size_t | leaves (void) const |
| size_t | maxDepthLeaves (int maxDepth) const |
| size_t | nodes (void) const |
| int | maxDepth (void) const |
| const OctNode * | root (void) const |
| const OctNode * | nextLeaf (const OctNode *currentLeaf=NULL) const |
| OctNode * | nextLeaf (OctNode *currentLeaf=NULL) |
| const OctNode * | nextNode (const OctNode *currentNode=NULL) const |
| OctNode * | nextNode (OctNode *currentNode=NULL) |
| const OctNode * | nextBranch (const OctNode *current) const |
| OctNode * | nextBranch (OctNode *current) |
| const OctNode * | prevBranch (const OctNode *current) const |
| OctNode * | prevBranch (OctNode *current) |
| void | setFullDepth (int maxDepth) |
| void | printLeaves (void) const |
| void | printRange (void) const |
| OctNode * | faceNeighbor (int faceIndex, int forceChildren=0) |
| const OctNode * | faceNeighbor (int faceIndex) const |
| OctNode * | edgeNeighbor (int edgeIndex, int forceChildren=0) |
| const OctNode * | edgeNeighbor (int edgeIndex) const |
| OctNode * | cornerNeighbor (int cornerIndex, int forceChildren=0) |
| const OctNode * | cornerNeighbor (int cornerIndex) const |
| int | write (const char *fileName) const |
| int | write (FILE *fp) const |
| int | read (const char *fileName) |
| int | read (FILE *fp) |
| void | centerIndex (int maxDepth, int index[3]) const |
| int | width (int maxDepth) const |
Static Public Member Functions | |
| static int | UseAllocator (void) |
| static void | SetAllocator (int blockSize) |
| static void | DepthAndOffset (const long long &index, int &depth, int offset[3]) |
| template<class Real > | |
| static void | CenterAndWidth (const long long &index, Point3D< Real > ¢er, Real &width) |
| template<class Real > | |
| static void | StartAndWidth (const long long &index, Point3D< Real > &start, Real &width) |
| static int | Depth (const long long &index) |
| static void | Index (int depth, const int offset[3], short &d, short off[3]) |
| static unsigned long long | Index (int depth, const int offset[3]) |
| template<class Real > | |
| static int | CornerIndex (const Point3D< Real > ¢er, const Point3D< Real > &p) |
Public Attributes | |
| OctNode * | parent |
| OctNode * | children |
| NodeData | nodeData |
Static Public Attributes | |
| static const int | DepthShift |
| static const int | OffsetShift |
| static const int | OffsetShift1 |
| static const int | OffsetShift2 |
| static const int | OffsetShift3 |
| static const int | DepthMask |
| static const int | OffsetMask |
| static Allocator< OctNode > | NodeAllocator |
|
inlinestatic |
| void OctNode< NodeData >::centerAndWidth | ( | Point3D< Real > & | center, |
| Real & | width | ||
| ) | const |
| void OctNode< NodeData >::centerIndex | ( | int | index[3] | ) | const |
| void OctNode< NodeData >::centerIndex | ( | int | maxDepth, |
| int | index[3] | ||
| ) | const |
|
static |
| const OctNode* OctNode< NodeData >::cornerNeighbor | ( | int | cornerIndex | ) | const |
| OctNode* OctNode< NodeData >::cornerNeighbor | ( | int | cornerIndex, |
| int | forceChildren = 0 |
||
| ) |
|
inlinestatic |
| int OctNode< NodeData >::depth | ( | void | ) | const |
Referenced by Octree< Real >::_Depth().
|
inlinestatic |
| void OctNode< NodeData >::depthAndOffset | ( | int & | depth, |
| int | offset[3] | ||
| ) | const |
| OctNode* OctNode< NodeData >::edgeNeighbor | ( | int | edgeIndex, |
| int | forceChildren = 0 |
||
| ) |
| OctNode* OctNode< NodeData >::faceNeighbor | ( | int | faceIndex, |
| int | forceChildren = 0 |
||
| ) |
|
inlinestatic |
|
inlinestatic |
| int OctNode< NodeData >::initChildren | ( | void | ) |
| bool OctNode< NodeData >::isInside | ( | Point3D< Real > | p | ) | const |
| size_t OctNode< NodeData >::leaves | ( | void | ) | const |
Referenced by Octree< Real >::leaves().
| int OctNode< NodeData >::maxDepth | ( | void | ) | const |
| size_t OctNode< NodeData >::maxDepthLeaves | ( | int | maxDepth | ) | const |
| const OctNode* OctNode< NodeData >::nextBranch | ( | const OctNode< NodeData > * | current | ) | const |
| const OctNode* OctNode< NodeData >::nextLeaf | ( | const OctNode< NodeData > * | currentLeaf = NULL | ) | const |
| OctNode* OctNode< NodeData >::nextLeaf | ( | OctNode< NodeData > * | currentLeaf = NULL | ) |
| const OctNode* OctNode< NodeData >::nextNode | ( | const OctNode< NodeData > * | currentNode = NULL | ) | const |
| OctNode* OctNode< NodeData >::nextNode | ( | OctNode< NodeData > * | currentNode = NULL | ) |
| size_t OctNode< NodeData >::nodes | ( | void | ) | const |
Referenced by Octree< Real >::nodes().
| const OctNode* OctNode< NodeData >::prevBranch | ( | const OctNode< NodeData > * | current | ) | const |
| void OctNode< NodeData >::printLeaves | ( | void | ) | const |
| void OctNode< NodeData >::printRange | ( | void | ) | const |
| int OctNode< NodeData >::read | ( | const char * | fileName | ) |
| int OctNode< NodeData >::read | ( | FILE * | fp | ) |
|
static |
| void OctNode< NodeData >::setFullDepth | ( | int | maxDepth | ) |
|
inlinestatic |
| void OctNode< NodeData >::startAndWidth | ( | Point3D< Real > & | start, |
| Real & | width | ||
| ) | const |
|
static |
| int OctNode< NodeData >::width | ( | int | maxDepth | ) | const |
| int OctNode< NodeData >::write | ( | const char * | fileName | ) | const |
| int OctNode< NodeData >::write | ( | FILE * | fp | ) | const |
|
static |
|
static |
| NodeData OctNode< NodeData >::nodeData |
Definition at line 61 of file Octree.h.
Referenced by Octree< Real >::_IsValidNode(), and SparseNodeData< Data, Degree >::index().
|
static |
|
static |
|
static |
|
static |
|
static |