PointCloud.__getattr__#

PointCloud.__getattr__(name)[source]#

Access Open3D PointCloud methods and attributes

Parameters:

name (str) – method or attribute name

If P is a PointCloud then P.name invokes method name of the underlying open3d.geometry.PointCloud object. For example:

>>> pcfiltered, ind = pc.remove_radius_outlier(radius=0.2, nb_points=100)
>>> pc.is_empty()  # invoke is_empty predicate method
>>> pc.colors   # get colors attribute

Note

  • This is a convenience method to avoid having to explicitly all the properties and methods of the Open3D point cloud object.

  • If the method returns a new point cloud object, it is converted to a Toolbox PointCloud instance.