[vtkusers] Double error check in vtkImageData?
Andaharoo
Andx_roo at live.com
Thu Aug 31 00:53:53 EDT 2017
In vtkImageData, GetScalarPointer(x, y, z) error checks by checking if the
coordinates are in the bounds of the image. It then calls
GetArrayPointer(int[]) which error checks again (with identical code) which
finally returns the results.
What's the reason for this? Is this a mistake? Seems to me the first error
check is not needed.
--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
More information about the vtkusers
mailing list