cloudViewer.geometry.OctreeNodeInfo#

class cloudViewer.geometry.OctreeNodeInfo#

OctreeNode’s information. OctreeNodeInfo is computed on the fly, not stored with the Node.

__init__(self, origin, size, depth, child_index)#
Parameters:
property child_index#

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

Type:

int

property depth#

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

Type:

int

property origin#

Origin coordinate of the node.

Type:

(3, 1) float numpy array

property size#

Size of the node.

Type:

float