add filter to set all origins of vtkImageDatas in a composite data set to the same value
Partitioned or composite datasets that only contain vtkImageData often come into ParaView with different values of the Origin
. This makes it difficult or impossible to use many of the existing filters in ParaView, especially if they have the same Spacing
. By having a filter that changes their Origin
to be at the same point it will make filters like Extract VOI
work as expected (if they have the same spacing). Other options for this filter that should be included are:
- What the
Origin
value should be (default should be [0, 0, 0]) - Whether or not to remove Ghost Information
This filter should work with vtkOverlappingAMR and vtkNonOverlappingAMR datasets as well (though in that case the removing ghost information option should be excluded for vtkOverlappingAMR datasets).
Edited by Andrew Bauer