Chapter 7. Tools

Point clouds comes with a set of basic tools which are:

The tools can be used from the GUI, in menu > Edit > point clouds > . Or using RGG code:

// Selecting some Point clouds from the graph
Cloud c = first((*PointCloud*)).getCloud();
// split by plane
Cloud[] clouds = Tools.split(new Plane(), c);
// split by Points (in this example the Cloud is of the type CloudGraph)
Cloud[] clouds = Tools.split(slice((*c.getNode() (-->)*LeafPointImpl*),0,3), c);
// Merge all the Point Clouds
Tools.merge(((*PontCloud*)));