Skip to content

Use memcpy for pixel copies in vtkImageReslice.

David Gobbi requested to merge dgobbi/vtk:reslice-memcpy into master

For all the compilers supported by VTK, if the optimization level is -O2 or higher, then memcpy is an intrinsic that is inlined when the copy size is a constant. This patch uses memcpy to simplify some of the code.

Merge request reports