open3d.geometry.OctreePointColorLeafNode

class open3d.geometry.OctreePointColorLeafNode

OctreePointColorLeafNode class is an OctreeLeafNode containing color.

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: open3d.cpu.pybind.geometry.OctreePointColorLeafNode) -> None

Default constructor

  1. __init__(self: open3d.cpu.pybind.geometry.OctreePointColorLeafNode, arg0: open3d.cpu.pybind.geometry.OctreePointColorLeafNode) -> None

Copy constructor

clone(self: open3d.cpu.pybind.geometry.OctreeLeafNode)open3d.cpu.pybind.geometry.OctreeLeafNode

Clone this OctreeLeafNode.

static get_init_function()Callable[], open3d.cpu.pybind.geometry.OctreeLeafNode]

Get lambda function for initializing OctreeLeafNode. When the init function is called, an empty OctreePointColorLeafNode is created.

static get_update_function(idx: int, color: numpy.ndarray[float64[3, 1]])Callable[[open3d.cpu.pybind.geometry.OctreeLeafNode], None]

Get lambda function for updating OctreeLeafNode. When called, the update function updates the corresponding node with the new point index and the input color.

property color

Color of the node.

Type

(3, 1) float numpy array

property indices

List of point cloud point indices contained in this leaf node.