OK, that’s for the simpler case (it’s just 3 VTK UnstructuredGrid with 3D points where z values are the data values).
Now, what I would like to do is to get the same display, but with only one 3D grid data (where 3 2D grids data are stacked, in fact).
I think about something like this:
3D grid data
→ extraction of the first slice → elevation of the slice vs z values
→ extraction of the second slice → elevation of the slice vs z values
→ extraction of the third slice → elevation of the slice vs z values
So my question is: what kind of filters can I use to do this ?
Obviously, I could do the same as in the simpler case, ie extract 3 VTK UnstructuredGrid from the 3D cube, but in real case I have a lot of 3D surfaces, so it would be cumbersome to do it like this.
Answering questions like this is always easier if you can post some example data to give us a better idea if what we are looking at.
It looks like you have 3 separated sheets. As long as you are sure they are separated and the connectivity within a sheet is correct, you can use the Connectivity filter to identify the connected sheets. This filter will create a new point field named RegionId that has a unique identifier for each connected region. In the example you posted, it should have RegionIds 0, 1, and 2 with each assigned to one of the sheets.
After you run the Connectivity filter, just use Threshold to pull out the sheet you want.