open3d.geometry.Voxel#
- class open3d.geometry.Voxel#
Base Voxel class, containing grid id and color
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: open3d.geometry.Voxel) -> None
Default constructor
__init__(self: open3d.geometry.Voxel, arg0: open3d.geometry.Voxel) -> None
Copy constructor
__init__(self: open3d.geometry.Voxel, grid_index: typing.Annotated[numpy.typing.ArrayLike, numpy.int32, “[3, 1]”]) -> None
__init__(self: open3d.geometry.Voxel, grid_index: typing.Annotated[numpy.typing.ArrayLike, numpy.int32, “[3, 1]”], color: typing.Annotated[numpy.typing.ArrayLike, 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,)