Improve slice with plane filters
Slice with plane filters have the following improvements:
- vtkPlaneCutter now delegates to vtk3DLinearGridPlaneCutter for vtkUnstructuredGrid that have only 3d linear cells.
- vtkPlaneCutter now has the OutputPointsPrecision flag to specify the output points precision.
- vtkPlaneCutter now has the MergePoints flag to specify if output points will be merged (default is on).
- vtkRectilinearGrid's GetPoints has been multithreaded.
- vtkStructuredDataPlaneCutter has been implemented that supports vtkImageData/vtkStructuredGrid/vtkRectilinearGrid and
their subclasses and merges duplicate points.
- When the input is vtkImageData and GeneratePolygons is off, it delegates to vtkFlyingEdgesPlaneCutter.
- vtkPlaneCutter now delegates to vtkStructuredDataPlaneCutter for vtkImageData/vtkStructuredGrid/vtkRectilinearGrid and their subclasses.
- vtkPlaneCutter now sets the output type to vtkMultiBlockDataSet if input type is vtkUniformGridAMR.
- This is done to match the output of vtkAMRCutPlane.
- vtkCutter now delegates to vtkPlaneCutter whenever possible.
This MR addresses the VTK side of paraview/paraview#21033 (closed).
Edited by Spiros Tsalikis