[vtk-developers] Interesting imaging pipeline information bug

David Gobbi david.gobbi at gmail.com
Thu Jan 21 12:29:34 EST 2016


Hi All,

I was looking through the bugtracker this morning (I know, I shouldn't do
that :-)
and found an interesting one:

  http://www.vtk.org/Bug/view.php?id=15901

Basic issue is that most VTK image algorithms do this:

  double spacing[3], origin[3];
  inputInfo->Get(vtkDataObject::ORIGIN(), origin);
  inputInfo->Get(vtkDataObject::SPACING(), spacing);

This seems to have worked fine in VTK 5, but in VTK 6, is there any
guarantee
that the pipeline will have ORIGIN and SPACING for vtkImageData?

 - David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160121/0207f582/attachment.html>


More information about the vtk-developers mailing list