ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::geometry::OctreeNodeInfo Class Reference

OctreeNode's information. More...

#include <Octree.h>

Public Member Functions

 OctreeNodeInfo ()
 Default Constructor. More...
 
 OctreeNodeInfo (const Eigen::Vector3d &origin, const double &size, const size_t &depth, const size_t &child_index)
 Parameterized Constructor. More...
 
 ~OctreeNodeInfo ()
 

Public Attributes

Eigen::Vector3d origin_
 Origin coordinate of the node. More...
 
double size_
 Size of the node. More...
 
size_t depth_
 Depth of the node to the root. The root is of depth 0. More...
 
size_t child_index_
 

Detailed Description

OctreeNode's information.

OctreeNodeInfo is computed on the fly, not stored with the Node.

Definition at line 33 of file Octree.h.

Constructor & Destructor Documentation

◆ OctreeNodeInfo() [1/2]

cloudViewer::geometry::OctreeNodeInfo::OctreeNodeInfo ( )
inline

Default Constructor.

Initializes all values as 0.

Definition at line 38 of file Octree.h.

◆ OctreeNodeInfo() [2/2]

cloudViewer::geometry::OctreeNodeInfo::OctreeNodeInfo ( const Eigen::Vector3d &  origin,
const double &  size,
const size_t &  depth,
const size_t &  child_index 
)
inline

Parameterized Constructor.

Parameters
originOrigin coordinate of the node
sizeSize of the node.
depthDepth of the node to the root. The root is of depth 0.
child_indexNode’s child index of itself.

Definition at line 46 of file Octree.h.

◆ ~OctreeNodeInfo()

cloudViewer::geometry::OctreeNodeInfo::~OctreeNodeInfo ( )
inline

Definition at line 54 of file Octree.h.

Member Data Documentation

◆ child_index_

size_t cloudViewer::geometry::OctreeNodeInfo::child_index_

Node’s child index of itself. For non-root nodes, child_index is 0~7; root node’s child_index is -1.

Definition at line 65 of file Octree.h.

Referenced by cloudViewer::geometry::pybind_octree().

◆ depth_

size_t cloudViewer::geometry::OctreeNodeInfo::depth_

Depth of the node to the root. The root is of depth 0.

Definition at line 62 of file Octree.h.

Referenced by cloudViewer::geometry::pybind_octree().

◆ origin_

Eigen::Vector3d cloudViewer::geometry::OctreeNodeInfo::origin_

Origin coordinate of the node.

Definition at line 58 of file Octree.h.

Referenced by cloudViewer::geometry::pybind_octree().

◆ size_

double cloudViewer::geometry::OctreeNodeInfo::size_

Size of the node.

Definition at line 60 of file Octree.h.

Referenced by cloudViewer::geometry::pybind_octree().


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