Changeset |
COMP: Fix overloaded-virtual warnings in vtkITKTransformInverse
This commit fixes warnings of the following form:
In file included from /path/to/ITKv4/Modules/Core/Transform/include/itkBSplineDeformableTransform.h:370:0,
from /path/to/Slicer/Libs/MRML/Core/vtkITKTransformConverter.h:27,
from /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:31:
/path/to/Slicer/Libs/MRML/Core/vtkITKTransformInverse.h: In instantiation of ‘class itk::InverseBSplineDeformableTransform<float, 3u, 3u>’:
/path/to/ITKv4/Modules/IO/TransformBase/include/itkTransformFactory.h:46:25: required from ‘static void itk::TransformFactory<T>::RegisterTransform() [with T = itk::InverseBSplineDeformableTransform<float, 3u, 3u>]’
/path/to/Slicer/Libs/MRML/Core/vtkITKTransformConverter.h:117:65: required from here
/path/to/ITKv4/Modules/Core/Transform/include/itkBSplineDeformableTransform.hxx:493:1: warning: ‘void itk::BSplineDeformableTransform<TScalar, NDimensions, VSplineOrder>::TransformPoint(const InputPointType&, itk::BSplineDeformableTransform<TScalar, NDimensions, VSplineOrder>::OutputPointType&, itk::BSplineDeformableTransform<TScalar, NDimensions, VSplineOrder>::WeightsType&, itk::BSplineDeformableTransform<TScalar, NDimensions, VSplineOrder>::ParameterIndexArrayType&, bool&) const [with TScalar = float; unsigned int NDimensions = 3u; unsigned int VSplineOrder = 3u; itk::BSplineDeformableTransform<TScalar, NDimensions, VSplineOrder>::InputPointType = itk::Point<float, 3u>; itk::BSplineDeformableTransform<TScalar, NDimensions, VSplineOrder>::OutputPointType = itk::Point<float, 3u>; itk::BSplineDeformableTransform<TScalar, NDimensions, VSplineOrder>::WeightsType = itk::Array<double>; itk::BSplineDeformableTransform<TScalar, NDimensions, VSplineOrder>::ParameterIndexArrayType = itk::Array<long unsigned int>]’ was hidden [-Woverloaded-virtual]
BSplineDeformableTransform<TScalar, NDimensions, VSplineOrder>
git-svn-id: http://svn.slicer.org/Slicer4/trunk@23607 3bd1e089-480b-0410-8dfb-8563597acbee |