Import 2017-06-07 23:51:09: master 54937ce3

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-01-09 20:05:54 master e7325e85
Changeset

BUG: Update ITKv4 to fix Resample DTIVolume/ScalarVectorDWIVolume tests

This commit fixes a regression introduced by the update of ITK in r23858

// ----------------
BUG: Clear TransformIO's list of transforms in TransformFileReader.

Since TransformFileReaderTemplate and TransformIO do not have very good const
correctness and encapsulation, it is possible to manipulate their members and
change their state in a way they might not expect.

In InsightSoftwareConsortium/ITK@81faafe29, a m_TransformIO member
was added. This is used in
TransformFileReaderTemplate's Update() step instead of creating a new
TransformIOBase instance on every Update. To keep completely consistent
with the previous behavior, we must clear the TransformIOBase's
internal transform list at the time the class was previously instantiated.

Thanks to Jean-Christophe Fillion-Robin and the Slicer community for
identifying this regression.

Change-Id: If5dfd03b32b31ba765c6781d689e91edb944be3f
// ----------------

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23875 3bd1e089-480b-0410-8dfb-8563597acbee

mod - SuperBuild/External_ITKv4.cmake Diff File