meshlab-pickedpoints¶
- meshlab_pickedpoints.dump(points, fp)¶
Render a list of points to an open file.
- Parameters
points (list) – A list of dicts of the form {“name”: name, “point”: point}
fp – An open file pointer.
- meshlab_pickedpoints.dumps(points)¶
Render a list of points to a string containing the contents of a .pp file.
- Parameters
points (list) – A list of dicts of the form {“name”: name, “point”: point}
- Returns
A string containing the .pp file contents.
- Return type
str
- meshlab_pickedpoints.load(fp)¶
Deserialize the .pp file in fp to an object.
- Parameters
fp – An open file pointer.
- Returns
A dict with string keys and 3D NumPy points.
- Return type
dict