The PointClouds objects can be clustered.
Basic K-means clustering
after selecting a point cloud and clustering it, the new created point clouds are added to the graph.
public void Kcluster(){ BoundedCloud c = (BoundedCloud) first((* pc:de.grogra.pointcloud.groimp.PointCloud, (pc.getCloud() instanceof BoundedCloud) *)).getCloud(); Cloud[] res = de.grogra.pointcloud.tools.KMeans.cluster(c,2,4); for(Cloud y : res){ [ ==>>^y; ] } }
same