Import 2017-06-07 23:51:09: master 99595d4c

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-02-03 01:07:11 master 6ee3af2f
Changeset

COMP: Fix overloaded-virtual warnings in itkAnisotropicSimilarity3DTransform

This commit fixes the following warning:

//--------
In file included from /path/to/Slicer-SuperBuild-Debug/ITKv4/Modules/Core/Transform/include/itkRigid3DTransform.h:223:0,
from /path/to/Slicer-SuperBuild-Debug/ITKv4/Modules/Core/Transform/include/itkVersorTransform.h:22,
from /path/to/Slicer-SuperBuild-Debug/ITKv4/Modules/Core/Transform/include/itkVersorRigid3DTransform.h:22,
from /path/to/Slicer/Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkAnisotropicSimilarity3DTransform.h:22,
from /path/to/Slicer/Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkInitialImageToImageRegistrationMethod.h:28,
from /path/to/Slicer/Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkImageToImageRegistrationHelper.h:25,
from /path/to/Slicer/Modules/CLI/ExpertAutomatedRegistration/ExpertAutomatedRegistration.cxx:3:
/path/to/Slicer/Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkAnisotropicSimilarity3DTransform.h: In instantiation of ‘class itk::AnisotropicSimilarity3DTransform<double>’:
/path/to/Slicer/Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkInitialImageToImageRegistrationMethod.txx:80:37: required from here
/path/to/Slicer-SuperBuild-Debug/ITKv4/Modules/Core/Transform/include/itkRigid3DTransform.hxx:89:1: warning: ‘void itk::Rigid3DTransform<TScalar>::SetMatrix(const MatrixType&, double) [with TScalar = double; itk::Rigid3DTransform<TScalar>::MatrixType = itk::Matrix<double, 3u, 3u>]’ was hidden [-Woverloaded-virtual]
Rigid3DTransform< TScalar >
^
In file included from /path/to/Slicer/Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkAnisotropicSimilarity3DTransform.h:160:0,
from /path/to/Slicer/Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkInitialImageToImageRegistrationMethod.h:28,
from /path/to/Slicer/Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkImageToImageRegistrationHelper.h:25,
from /path/to/Slicer/Modules/CLI/ExpertAutomatedRegistration/ExpertAutomatedRegistration.cxx:3:
/path/to/Slicer/Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkAnisotropicSimilarity3DTransform.txx:80:1: warning: by ‘void itk::AnisotropicSimilarity3DTransform<TScalarType>::SetMatrix(const MatrixType&) [with TScalarType = double; itk::AnisotropicSimilarity3DTransform<TScalarType>::MatrixType = itk::Matrix<double, 3u, 3u>]’ [-Woverloaded-virtual]
AnisotropicSimilarity3DTransform<TScalarType>
//--------

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

mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkAnisotropicSimilarity3DTransform.h Diff File