Add Data To Point Cloud
AddDataToPointCloud writes data defined on mesh-nodes into a point-cloud with an equal number of points. Together with the "PointCloudToSpreadsheet" Xtra, this module can be used, for example, to export the results created by the Surface Distance module.
Numerical data can be assigned to nodes of a mesh; for example, the results created by the Surface Distance module (the scalar values for "distance", and the vector components of "displacements"). The scalar data is stored in a separate data-object, and is only meaningful together with the original mesh data-set. There is no direct way of accessing those values together with the nodes' coordinates in Amira-Avizo, and no easy way to export those data as a table.
Scalar data can be included in a point-cloud data-object. Those scalar data can be used to scale or colorize spheres when visualizing the point-cloud. Point-clouds with numerical data also can be converted to a spreadsheet, using the PointCloudToSpreadsheet Xtra, then the spreadsheet can be exported to various formats (e.g. ASCII, CSV, XML).
The AddDataToPointCloud Python script-object writes data defined on mesh-nodes into a point-cloud with an equal number of points; for example, the result of applying the Extract Point Cloud module to the mesh. The example project demonstrates its use for the export of the results of a Surface Distance analysis performed on the surfaces of a technical object before or after machining.
Note: The example project uses a surface with relatively many vertices. The Python modules take some time to create the results.