open3d.geometry.VoxelGrid¶
-
class
open3d.geometry.VoxelGrid¶ VoxelGrid is a collection of voxels which are aligned in grid.
-
class
Type¶ Enum class for Geometry types.
-
HalfEdgeTriangleMesh= Type.HalfEdgeTriangleMesh¶
-
Image= Type.Image¶
-
LineSet= Type.LineSet¶
-
PointCloud= Type.PointCloud¶
-
TriangleMesh= Type.TriangleMesh¶
-
Unspecified= Type.Unspecified¶
-
VoxelGrid= Type.VoxelGrid¶
-
-
__init__(*args, **kwargs)¶ Overloaded function.
__init__(self: open3d.geometry.VoxelGrid) -> None
Default constructor
__init__(self: open3d.geometry.VoxelGrid, arg0: open3d.geometry.VoxelGrid) -> None
Copy constructor
-
clear(self: open3d.geometry.Geometry) → None¶ Clear all elements in the geometry.
-
dimension(self: open3d.geometry.Geometry) → int¶ Returns whether the geometry is 2D or 3D.
-
get_geometry_type(self: open3d.geometry.Geometry) → open3d::geometry::Geometry::GeometryType¶ Returns one of registered geometry types.
-
get_max_bound(self: open3d.geometry.Geometry3D) → numpy.ndarray[float64[3, 1]]¶ Returns max bounds for geometry coordinates.
-
get_min_bound(self: open3d.geometry.Geometry3D) → numpy.ndarray[float64[3, 1]]¶ Returns min bounds for geometry coordinates.
-
has_colors(self: open3d.geometry.VoxelGrid) → bool¶ Returns
Trueif the voxel grid contains voxel colors.
-
has_voxels(self: open3d.geometry.VoxelGrid) → bool¶ Returns
Trueif the voxel grid contains voxels.
-
is_empty(self: open3d.geometry.Geometry) → bool¶ Returns
Trueiff the geometry is empty.
-
transform(self: open3d.geometry.Geometry3D, arg0: numpy.ndarray[float64[4, 4]]) → None¶ Apply transformation (4x4 matrix) to the geometry coordinates.
-
HalfEdgeTriangleMesh= Type.HalfEdgeTriangleMesh¶
-
Image= Type.Image¶
-
LineSet= Type.LineSet¶
-
PointCloud= Type.PointCloud¶
-
TriangleMesh= Type.TriangleMesh¶
-
Unspecified= Type.Unspecified¶
-
VoxelGrid= Type.VoxelGrid¶
-
property
colors¶ RGB colors of voxels.
- Type
float64array of shape(num_voxels, 3), range[0, 1], usenumpy.asarray()to access data
-
property
origin¶ Coorindate of the origin point.
- Type
float64vector of length 3
-
property
voxel_size¶
-
property
voxels¶ Voxel coordinates. use
numpy.asarray()to access data.- Type
intarray of shape(num_voxels, 3)
-
class