[vtk-developers] _possible_ buglet in vtkImageReslice
Charl P. Botha
c.p.botha at its.tudelft.nl
Thu Jun 6 17:03:28 EDT 2002
Dear developers (and especially David),
In vtkImageReslice.cxx at line 599 (4.1 CVS) we have:
s = inSpacing[i];
d = (inWholeExt[2*i+1] - e)*s;
e = inWholeExt[2*i];
I believe the third line should come before the second, seeing as the second
refers to a variable set in the third. In the setting of this loop, this
would mean that the start extent of the previous dimension would be used in
the second and third iterations (e is initialised to 0.0 before the loop).
Can I swap these, or is there some magic I missed?
Thanks,
Charl
--
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
More information about the vtk-developers
mailing list