heremaps / pptk

The Point Processing Toolkit (pptk) is a Python package for visualizing and processing 2-d/3-d point clouds.
https://heremaps.github.io/pptk
MIT License
610 stars 112 forks source link

API to plot in real time? #31

Open soulslicer opened 4 years ago

soulslicer commented 4 years ago

Is there an API to plot a set of points in real time? Basically I guess I don't want to kill the viewer, but rather add a new set of points and swap the buffer

Merevoli-DatLuu commented 3 years ago

You can invoke load() method instead.

Example:

points = [[1, 1, 1], [1, 1, 2]]
v = pptk.viewer(points)
points.append([1, 1, 3])
v.load(points)