open3d.geometry.Voxel#
- class open3d.geometry.Voxel#
Base Voxel class, containing grid id and color
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: open3d.cpu.pybind.geometry.Voxel) -> None
Default constructor
__init__(self: open3d.cpu.pybind.geometry.Voxel, arg0: open3d.cpu.pybind.geometry.Voxel) -> None
Copy constructor
__init__(self: open3d.cpu.pybind.geometry.Voxel, grid_index: numpy.ndarray[numpy.int32[3, 1]]) -> None
__init__(self: open3d.cpu.pybind.geometry.Voxel, grid_index: numpy.ndarray[numpy.int32[3, 1]], color: numpy.ndarray[numpy.float64[3, 1]]) -> None
- property color#
Color of the voxel.
- Type:
Float64 numpy array of shape (3,)
- property grid_index#
Grid coordinate index of the voxel.
- Type:
Int numpy array of shape (3,)