Skip to content
Snippets Groups Projects
Commit 689b854c authored by David Gobbi's avatar David Gobbi
Browse files

Copy the DIRECTION in vtkImageIterateFilter

This is the base of the FFT filters, vtkImageCityBlockDistance,
vtkEuclideanDistance, and vtkImageSeparableConvolution.  Copying
the DIRECTION to the output here is necessary for these filters to
be able to operate correctly on oriented images.
parent 6c5772a9
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,7 @@ int vtkImageIterateFilter ::RequestInformation(vtkInformation* vtkNotUsed(reques
out->CopyEntry(in, vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT());
out->CopyEntry(in, vtkDataObject::ORIGIN());
out->CopyEntry(in, vtkDataObject::DIRECTION());
out->CopyEntry(in, vtkDataObject::SPACING());
vtkInformation* scalarInfo = vtkDataObject::GetActiveFieldInformation(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment