ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::TrueKdTree::BaseNode Class Reference

Tree base node. More...

#include <TrueKdTree.h>

Inheritance diagram for cloudViewer::TrueKdTree::BaseNode:
Collaboration diagram for cloudViewer::TrueKdTree::BaseNode:

Public Member Functions

 BaseNode (uint8_t nodeType)
 
virtual ~BaseNode ()=default
 
bool isNode () const
 
bool isLeaf () const
 

Public Attributes

BaseNodeparent
 

Protected Attributes

const uint8_t type
 

Detailed Description

Tree base node.

Definition at line 33 of file TrueKdTree.h.

Constructor & Destructor Documentation

◆ BaseNode()

cloudViewer::TrueKdTree::BaseNode::BaseNode ( uint8_t  nodeType)
inlineexplicit

Definition at line 35 of file TrueKdTree.h.

◆ ~BaseNode()

virtual cloudViewer::TrueKdTree::BaseNode::~BaseNode ( )
virtualdefault

Member Function Documentation

◆ isLeaf()

bool cloudViewer::TrueKdTree::BaseNode::isLeaf ( ) const
inline

Definition at line 39 of file TrueKdTree.h.

References type.

Referenced by cloudViewer::TrueKdTree::split().

◆ isNode()

bool cloudViewer::TrueKdTree::BaseNode::isNode ( ) const
inline

Definition at line 38 of file TrueKdTree.h.

References type.

Referenced by GetLeavesVisitor::visit().

Member Data Documentation

◆ parent

BaseNode* cloudViewer::TrueKdTree::BaseNode::parent

Definition at line 44 of file TrueKdTree.h.

Referenced by cloudViewer::TrueKdTree::split().

◆ type

const uint8_t cloudViewer::TrueKdTree::BaseNode::type
protected

Definition at line 47 of file TrueKdTree.h.


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