Vtk threshold not passing cell and point data

I’m sure I’ve done this before in c++ with vtk. Have a vtkunstructuredgrid that I threshold on a cell based int array. There is other cell and point data on the mesh but it’s not being passed. If I do the same opt in paraview they are all passed.
Can someone remind me what the option is to get all my cell and point data passed that are on the prethreshold mesh to the output of the threshold for the cells and points that remain after threshold? Using vtk 8.2 and paraview 5.8.

Can you provide some sample code that illustrates your problem?

Maybe it helps to activate the array based on which you threshold.


In case you have multiple components in the active data array, you may have to use SetSelectedComponent().