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:
[legend]
Collaboration diagram for cloudViewer::TrueKdTree::BaseNode:
[legend]

Public Member Functions

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

Public Attributes

BaseNode * parent
 

Protected Attributes

const uint8_t type
 

Detailed Description

Tree base node.

Constructor & Destructor Documentation

◆ BaseNode()

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

◆ ~BaseNode()

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

Member Function Documentation

◆ isLeaf()

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

References type.

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

◆ isNode()

Member Data Documentation

◆ parent

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

◆ type

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

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