Import 2017-06-07 23:51:09: master f741008a

Author Committer Branch Timestamp Parent
jcfr jcfr master 2017-03-13 09:00:11 master 103190d6
Changeset

STYLE: Fix style of ITK classes using KWStyle

This commit introduced the style Utilities/KWStyle/ITK.kws.xml based of
the official ITK Style.

Style was checked using the following command:

for file in $(find . | ack-grep "\/itk.+(h|cpp|txx|cxx)$"); do
KWStyle -gcc -xml ./Utilities/KWStyle/ITK.kws.xml $file;
done

KWStyle was built from source: https://github.com/Kitware/KWStyle

The following errors remain:

./Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkAnisotropicSimilarity3DTransform.h:109: error: Internal variable (itk::Rigid3DTransform<TScalarType>::SetMatrix) doesn't match regular expression (m_[A-Z])
./Modules/CLI/ResampleDTIVolume/Testing/itkTestMainExtended.h:17: error: namespace not defined

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

mod - Base/CLI/itkPluginFilterWatcher.h Diff File
mod - Libs/ITKFactoryRegistration/itkFactoryRegistration.cxx Diff File
mod - Libs/ITKFactoryRegistration/itkFactoryRegistration.h Diff File
mod - Libs/MRML/IDImageIO/itkMRMLIDImageIO.cxx Diff File
mod - Libs/MRML/IDImageIO/itkMRMLIDImageIO.h Diff File
mod - Libs/MRML/IDImageIO/itkMRMLIDImageIOFactory.cxx Diff File
mod - Libs/MRML/IDImageIO/itkMRMLIDImageIOFactory.h Diff File
mod - Libs/vtkITK/itkGrowCutSegmentationImageFilter.h Diff File
mod - Libs/vtkITK/itkGrowCutSegmentationImageFilter.txx Diff File
mod - Libs/vtkITK/itkLevelTracingImageFilter.h Diff File
mod - Libs/vtkITK/itkLevelTracingImageFilter.txx Diff File
mod - Libs/vtkITK/itkNewOtsuThresholdImageCalculator.h Diff File
mod - Libs/vtkITK/itkNewOtsuThresholdImageCalculator.txx Diff File
mod - Libs/vtkITK/itkNewOtsuThresholdImageFilter.h Diff File
mod - Libs/vtkITK/itkNewOtsuThresholdImageFilter.txx Diff File
mod - Libs/vtkITK/itkTimeSeriesDatabase.h Diff File
mod - Libs/vtkITK/itkTimeSeriesDatabase.txx Diff File
mod - Libs/vtkITK/itkTimeSeriesDatabaseHelper.h Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkAffineImageToImageRegistrationMethod.h Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkAffineImageToImageRegistrationMethod.txx Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkAnisotropicSimilarity3DTransform.h Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkAnisotropicSimilarity3DTransform.txx Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkBSplineImageToImageRegistrationMethod.h Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkBSplineImageToImageRegistrationMethod.txx Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkImageRegionMomentsCalculator.txx Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkImageToImageRegistrationHelper.h Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkImageToImageRegistrationHelper.txx Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkImageToImageRegistrationMethod.h Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkImageToImageRegistrationMethod.txx Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkInitialImageToImageRegistrationMethod.h Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkInitialImageToImageRegistrationMethod.txx Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkOptimizedImageToImageRegistrationMethod.h Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkOptimizedImageToImageRegistrationMethod.txx Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkRigidImageToImageRegistrationMethod.h Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/ITKRegistrationHelper/itkRigidImageToImageRegistrationMethod.txx Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/itkImageToImageRegistrationMethodTestingHelper.h Diff File
mod - Modules/CLI/ExpertAutomatedRegistration/itkImageToImageRegistrationMethodTestingHelper.txx Diff File
mod - Modules/CLI/ResampleDTIVolume/Testing/itkDifferenceDiffusionTensor3DImageFilter.h Diff File
mod - Modules/CLI/ResampleDTIVolume/Testing/itkDifferenceDiffusionTensor3DImageFilter.txx Diff File
mod - Modules/CLI/ResampleDTIVolume/Testing/itkTestMainExtended.h Diff File
mod - Modules/CLI/ResampleDTIVolume/dtiprocessFiles/itkHFieldToDeformationFieldImageFilter.h Diff File
mod - Modules/CLI/ResampleDTIVolume/dtiprocessFiles/itkHFieldToDeformationFieldImageFilter.txx Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DAbsCorrection.h Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DConstants.h Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DFSAffineTransform.txx Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DInterpolateImageFunction.h Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DInterpolateImageFunction.txx Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DInterpolateImageFunctionReimplementation.txx Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DMatrix3x3Transform.h Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DMatrix3x3Transform.txx Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DNearestCorrection.h Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DNonRigidTransform.h Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DPPDAffineTransform.txx Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DRead.h Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DRead.txx Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DResample.h Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DRigidTransform.txx Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DWindowedSincInterpolateImageFunction.txx Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DWrite.h Diff File
mod - Modules/CLI/ResampleDTIVolume/itkDiffusionTensor3DZeroCorrection.h Diff File
mod - Modules/CLI/ResampleDTIVolume/itkSeparateComponentsOfADiffusionTensorImage.h Diff File
mod - Modules/CLI/ResampleDTIVolume/itkTransformDeformationFieldFilter.h Diff File
mod - Modules/CLI/ResampleDTIVolume/itkTransformDeformationFieldFilter.txx Diff File
mod - Modules/CLI/ResampleDTIVolume/itkWarpTransform3D.h Diff File
mod - Modules/CLI/ResampleDTIVolume/itkWarpTransform3D.txx Diff File
add - Utilities/KWStyle/ITK.kws.xml Diff File