Connectivity of point data on surface after slice operation

I am applying the Slice filter to a vtkPolyData object. When I export the point data, the points are randomly ordered. I’d like to plot a quantity along the surface of the object using a line plot, so randomly ordered points are not useful for me.

Is there a way to slice an object while preserving information about connectivity between the points?

The points are not randomly generated, a complete geometry is reconstructed.
It is possible albeit a little bit complicated.
It looks like you are not using the right tools, it sounds more like a use-case for “Plot Over Line” filter.

Thanks for the response! I was able to accomplish what I wanted using the “Plot On Intersection Curves,” which appears to keep the topological information between cells.

1 Like