cloudViewer.ml.torch.vis.Colormap#
- class cloudViewer.ml.torch.vis.Colormap(points)[source]#
This class is used to create a color map for visualization of points.
- class Point(value, color)[source]#
Initialize the class.
- Parameters:
value – The scalar value index of the point.
color – The color associated with the value.
- calc_color_array(values, range_min, range_max)[source]#
Generate the color array based on the minimum and maximum range passed.
- Parameters:
values – The index of values.
range_min – The minimum value in the range.
range_max – The maximum value in the range.
- Returns:
An array of color index based on the range passed.