User Tools

Site Tools


01_user_documentation:05_object:01_geometric:02_3d:01_primitive:12_point_cloud

Point Cloud

Point clouds in GroIMP are composed of a PointCloud, a Cloud and Point. They are defined as follow:

  • PointCloud : A Node, i.e. an object that can be inserted in a GroIMP graph. The PointCloud is responsible for the display of the points.
  • Cloud : The representation of the data structure through which the point cloud data is accessed.
  • Point : The base interface that an object must implements to be part of a Cloud.

These three Objects implements CloudContext, meaning when any of the three is selected, you can access the Cloud structure handled. Most of the tools from the package de.grogra.pointcloud.tools are applied on Cloud, and produce Cloud objects. The GUI commands however can works with any CloudContext object.

The PointCloud objects can be modified with a set of available tools, shape fitting, and clustering

NodePointCloudsetCloud()CloudContextCloud getCloudCloudsetPoints(Point[])addPoints(Point[])getPoints()remove(Object[])removeAll()float[] pointsToFloat()Point[] floatsToPoints(float[])Pointfloat[] toFloat()

As Array

The simplest format for storing the cloud data. The size of the cloud is not modifiable (as arrays are non mutable objects). Each points coordinates are stored in the cloud array such as: [x1,y1,z1, x2,y2,z2, …].

→ Read more...

As list

Each point is stored in a list as Point3d. Points can be added, deleted from the cloud.

→ Read more...

As graph

Cloud object can be represented as graph in GroIMP, where both the PointCloud and each Point objects are GroIMP Nodes. This structure enables to leverage the power of XL queries onto the point cloud data both for querying and rewriting.

The main objects of a PointCloud as graph are:

  • PointCloudD: the Node that is part of the project graph, but its display is managed by implementing CollectionDisplayable.
  • CloudGraph : the object that extends Cloud. It implements the methods to access/modify the Points. Because the Points of a CloudGraph are Nodes, they can also be accessed and modified through XL queries.
  • IntermediateCloudNode : intermediate nodes used to balance the load of the graph.
  • PointCloudLeaf ; the implementation of Point of the Cloud. PointCloudLeaf extends Node (or subclasses of Node), thus are part of the project graph.

→ Read more...

PC Tools

Every tools presented here are available both from GUI or from RGG code. The projects used to create the images are available from the example explorer embedded in GroIMP. The tools consider the local transformation of the point cloud. The coordinate of the Point are local in relatively to the Point cloud Node.

→ Read more...

01_user_documentation/05_object/01_geometric/02_3d/01_primitive/12_point_cloud.txt · Last modified: 2025/11/03 03:00 by gaetan