Resample with data set does not work with cell data in AMR
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The resample with data set does a fine job getting cell data from data sets like images and unstructured grids, but fails to get cell data from AMR data sets. To replicate, do the following:
- Create an AMR Gaussian Pulse Source. Apply.
- Create a Plane Source. Origin = [-2,-2,0.1]; Point1 = [0.5,-2,0.1]; Point2 = [-2,0.5,0.1]. X and Y Resolution = 200. Apply.
- Add a Resample with Dataset filter. Set Input to the AMR source. Set Source to the Plane. Apply.
Note that the AMR source has cell arrays called Centroid and Gaussian-Pulse, but neither of these show up as point data for the resample filter as they should. You can work around this problem by using cell data to point data before the resample filter, but that adds some distortion.