identify cells on original filter from filter applied to

Hello,

I have the following situation:

  1. I import a surface mesh
  2. I smooth it out
  3. I generate curvature on the smoothed surface
  4. I extract with threshold some cells (faces)

Now i would like to identiy the extracted cells in 4 but on the original surface mesh imported.

how can I do this kind of manipulation? i see that each time i apply a filter the ID is recreated, i imagine that beween the original surface mesh and the smoothed one as the number of elements did not change the ID would be the same, but after the threshold there will be less cells, i imagine that there exists a solution to select the original ones from the output of the threshold itself.

is this possible?

IIUC the number of cells does not change here ? Then selection link should “just work”.

in the last step it does, as i am using threshold to get only a part of it. i have found the generateIDs filter that I think will help me do what I wanted (keep the original ID thought the complete pipeline).

Indeed, that would help, but then you need to “project back” the original ids, which requires clever use of programmable filter I believe.

well, what I want to do is in the original surface mesh, generate a flag field that will indicate the cells that were ‘selected’ during the thershold with a 1 and the others with a 0.
how could I do this? i need to pass thought a programmable filter, no? is there any easier way?

I dont see an easy way, no.

1 Like