Class: Points

Points(options)

new Points(options)

A set of points. Used by PointCloud2 and LaserScan.

Parameters:
Name Type Description
options

object with following keys:

  • tfClient - the TF client handle to use
  • rootObject (optional) - the root object to add this marker to use for the points.
  • max_pts (optional) - number of points to draw (default: 10000)
  • pointRatio (optional) - point subsampling ratio (default: 1, no subsampling)
  • messageRatio (optional) - message subsampling ratio (default: 1, no subsampling)
  • material (optional) - a material object or an option to construct a PointsMaterial.
  • colorsrc (optional) - the field to be used for coloring (default: 'rgb')
  • colormap (optional) - function that turns the colorsrc field value to a color
Source: