ParaView Catalyst2 regression for vtkRectilinearGrid's grid bounds
I observe problems with grid bounds not being properly set. It used to work perfectly well in v5.11.2, it no longer works in v5.12
Since there is no example for RectilinearGrids, I have adapted the existing Catalyst2/CxxImageDataExample to make a new directory example called Catalyst2/CxxRectilinearGridExample
when properly integrated, using ParaView 5.11.2, the following script will generate output such as:
./bin/CxxRectilinearGridExample /local/apps/ParaView/ParaView-v5.11.2/Examples/Catalyst2/CxxRectilinearGridExample/catalyst_pipeline.py
executing (cycle=99, time=9.9)
-----
pipeline parameters:
parameter0
parameter1=42
parameter2=doThing
timeParam=9.900000
-----
bounds: (0.0, 60.900000000000006, 0.0, 68.2, 0.0, 75.89999999999999)
when properly integrated using ParaView v5.12.0, the same source code will generate the following output:
executing (cycle=99, time=9.9)
-----
pipeline parameters:
parameter0
parameter1=42
parameter2=doThing
timeParam=9.900000
-----
bounds: (5.0357343538016e-310, 60.900000000000006, 5.0357281778762e-310, 68.2, 0.0, 6.6157622673887e-310)
using the built-in --output option, such as ./bin/CxxRectilinearGridExample --output datasets/datasets-%04ts.vtpd
results in disk files which ParaView itself cannot read properly.
I am contributing a the reproducing code. Updating the parent Examples/CMakeLists.txt is necessary to compile the new example. CxxRectilinearGridExample.tar