The plot method for objects of class "voxels" created using the voxels function.
plot_voxels(
voxels,
add.points = TRUE,
add.voxels = TRUE,
border = TRUE,
points.size = 1,
points.col = "black",
fill.col = "forestgreen",
line.lwd = 0.5,
line.col = "black",
alpha = 0.1,
...
)Object of class "voxels" from voxels.
Logical, if TRUE it adds the original points used to perform the voxelization. TRUE as default.
Logical, if TRUE it adds the voxels created. TRUE as default.
Logical, if TRUE it adds a line on the borders of each voxel. TRUE as default.
The points size, a positive number to use if plot add.points = TRUE.
A character defining the color of the points to use.
A character vector defining the color to fill the voxels, it could be a range of colors or a solid color.
The line width, a positive number, defaulting to 0.5.
A character defining the color of the border lines to use.
A positive numeric vector describing the transparency of the voxels to fill. This value most be between 0.0 (fully transparent) .. 1.0 (opaque).
General arguments passed to rgl.
A 3D plot of a point cloud and voxels.