vtkProbeFilter or vtkResampleWithDataset?

I have a vtkStructuredGrid that I would like to sample with a vtkPlaneSource. Which would be more appropriate vtkProbeFilter or vtkResampleWithDataset? (I only care about point values - I don’t have any cell values that I need sampled) … or maybe there is some class that is better than those I mentioned?

vtkResampleWithDataset should be your choice - it uses vtkProbeFilter internally.

If you want to strictly ignore the cells in your source data (i.e. if you only care about the point scalars and don’t want the results to be influenced by the cell structure at all), then you can use vtkPointInterpolator.

Thank you both for your answers.