Import 2017-06-07 23:51:09: master 78969fe2

Author Committer Branch Timestamp Parent
jcfr jcfr master 2017-05-24 19:23:26 master ad1518f4
Changeset

STYLE: vtkPolyDataToFractionalLabelmapFilter: Fix -Woverloaded-virtual warning

In file included from /path/to/Projects/Slicer-Release/VTKv7/Common/Core/vtkVariant.h:37:0,
from /path/to/Projects/Slicer-Release/Slicer-build/Libs/vtkSegmentationCore/vtkPolyDataToFractionalLabelmapFilterPython.cxx:10:
/path/to/Projects/Slicer-Release/VTKv7/Common/Core/vtkSetGet.h:312:14: warning: ‘virtual void vtkImageStencilSource::GetOutputOrigin(double&, double&, double&)’ was hidden [-Woverloaded-virtual]
virtual void Get##name (type &_arg1, type &_arg2, type &_arg3) \
^
/path/to/Projects/Slicer-Release/VTKv7/Imaging/Core/vtkImageStencilSource.h:71:3: note: in expansion of macro ‘vtkGetVector3Macro’
vtkGetVector3Macro(OutputOrigin, double);
^
In file included from /path/to/Projects/Slicer-Release/Slicer-build/Libs/vtkSegmentationCore/vtkPolyDataToFractionalLabelmapFilterPython.cxx:11:0:
/path/to/Projects/Slicer/Libs/vtkSegmentationCore/vtkPolyDataToFractionalLabelmapFilter.h:89:8: warning: by ‘vtkPolyDataToFractionalLabelmapFilter::GetOutputOrigin’ [-Woverloaded-virtual]
void GetOutputOrigin(double origin[3]);
^
In file included from /path/to/Projects/Slicer-Release/VTKv7/Common/Core/vtkVariant.h:37:0,
from /path/to/Projects/Slicer-Release/Slicer-build/Libs/vtkSegmentationCore/vtkPolyDataToFractionalLabelmapFilterPython.cxx:10:
/path/to/Projects/Slicer-Release/VTKv7/Common/Core/vtkSetGet.h:312:14: warning: ‘virtual void vtkImageStencilSource::GetOutputSpacing(double&, double&, double&)’ was hidden [-Woverloaded-virtual]
virtual void Get##name (type &_arg1, type &_arg2, type &_arg3) \
^
/path/to/Projects/Slicer-Release/VTKv7/Imaging/Core/vtkImageStencilSource.h:81:3: note: in expansion of macro ‘vtkGetVector3Macro’
vtkGetVector3Macro(OutputSpacing, double);
^
In file included from /path/to/Projects/Slicer-Release/Slicer-build/Libs/vtkSegmentationCore/vtkPolyDataToFractionalLabelmapFilterPython.cxx:11:0:
/path/to/Projects/Slicer/Libs/vtkSegmentationCore/vtkPolyDataToFractionalLabelmapFilter.h:95:8: warning: by ‘vtkPolyDataToFractionalLabelmapFilter::GetOutputSpacing’ [-Woverloaded-virtual]
void GetOutputSpacing(double spacing[3]);
^

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

mod - Libs/vtkSegmentationCore/vtkPolyDataToFractionalLabelmapFilter.h Diff File