dtcc.PointCloud.view(size: float = 0.2, data: ndarray | None = None)

View a point cloud in 3D with a GLFW window.

This function is added to the PointCloud class in dtcc_model.

Parameters:
pc : PointCloud

Point cloud to be viewed (self).

data : np.ndarray

Data for coloring of point cloud. Data should match point count.

size : float

Particle size in meters. Default value = 0.2 m.