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

Tree leaf. More...

#include <TrueKdTree.h>

Inheritance diagram for cloudViewer::TrueKdTree::Leaf:
[legend]
Collaboration diagram for cloudViewer::TrueKdTree::Leaf:
[legend]

Public Member Functions

 Leaf (ReferenceCloud *set, const PointCoordinateType planeEquation[], ScalarType _error)
 Constructor. More...
 
 ~Leaf () override
 
- Public Member Functions inherited from cloudViewer::TrueKdTree::BaseNode
 BaseNode (uint8_t nodeType)
 
virtual ~BaseNode ()=default
 
bool isNode () const
 
bool isLeaf () const
 

Public Attributes

ReferenceCloud * points
 
PointCoordinateType planeEq [4]
 
ScalarType error
 
int userData
 
- Public Attributes inherited from cloudViewer::TrueKdTree::BaseNode
BaseNode * parent
 

Additional Inherited Members

- Protected Attributes inherited from cloudViewer::TrueKdTree::BaseNode
const uint8_t type
 

Detailed Description

Tree leaf.

Constructor & Destructor Documentation

◆ Leaf()

cloudViewer::TrueKdTree::Leaf::Leaf ( ReferenceCloud *  set,
const PointCoordinateType  planeEquation[],
ScalarType  _error 
)
inline

Constructor.

The Leaf class takes ownership of its associated subset

◆ ~Leaf()

cloudViewer::TrueKdTree::Leaf::~Leaf ( )
inlineoverride

References points.

Member Data Documentation

◆ error

ScalarType cloudViewer::TrueKdTree::Leaf::error

◆ planeEq

PointCoordinateType cloudViewer::TrueKdTree::Leaf::planeEq[4]

◆ points

◆ userData

int cloudViewer::TrueKdTree::Leaf::userData

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