Skip to content

Commit 1d82c73

Browse files
committed
STYLE: Fixing KWStyle CDash errors
1 parent 9769dd1 commit 1d82c73

17 files changed

+184
-78
lines changed

include/itkArrivalFunctionToPathFilter.h

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
PURPOSE. See the above copyright notices for more information.
1515
1616
=========================================================================*/
17-
#ifndef __itkArrivalFunctionToPathFilter_h
18-
#define __itkArrivalFunctionToPathFilter_h
17+
#ifndef itkArrivalFunctionToPathFilter_h
18+
#define itkArrivalFunctionToPathFilter_h
1919

2020
#include "itkImage.h"
2121
#include "itkCommand.h"
@@ -27,16 +27,20 @@
2727

2828
namespace itk
2929
{
30+
/**
31+
* \class ArrivalFunctionToPathCommand
32+
* \brief A command to listen for Optimizer Iteration events.
33+
*
34+
*/
3035

31-
/** A command to listen for Optimizer Iteration events. */
3236
template <class TFilter>
3337
class ArrivalFunctionToPathCommand : public itk::Command
3438
{
3539
public:
3640
/** Standard class typedefs. */
37-
typedef ArrivalFunctionToPathCommand Self;
38-
typedef itk::Command Superclass;
39-
typedef itk::SmartPointer<Self> Pointer;
41+
typedef ArrivalFunctionToPathCommand Self;
42+
typedef itk::Command Superclass;
43+
typedef itk::SmartPointer<Self> Pointer;
4044

4145
/** Method for creation through the object factory. */
4246
itkNewMacro( Self );
@@ -188,7 +192,7 @@ class ITK_EXPORT ArrivalFunctionToPathFilter :
188192
virtual void AddPathEndPoint( const PointType & point );
189193

190194
/** Clear the list of end points. */
191-
virtual void ClearPathEndPoints();;
195+
virtual void ClearPathEndPoints();
192196

193197
/** Get/set the termination. Once the current optimizer value falls below
194198
* TerminationValue, no further points will be appended to the path.

include/itkArrivalFunctionToPathFilter.hxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
1616
=========================================================================*/
1717

18-
#ifndef __itkArrivalFunctionToPathFilter_hxx
19-
#define __itkArrivalFunctionToPathFilter_hxx
18+
#ifndef itkArrivalFunctionToPathFilter_hxx
19+
#define itkArrivalFunctionToPathFilter_hxx
2020

2121
#include "vnl/vnl_math.h"
2222
#include "itkArrivalFunctionToPathFilter.h"

include/itkIterateNeighborhoodOptimizer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
PURPOSE. See the above copyright notices for more information.
1515
1616
=========================================================================*/
17-
#ifndef __itkIterateNeighborhoodOptimizer_h
18-
#define __itkIterateNeighborhoodOptimizer_h
17+
#ifndef itkIterateNeighborhoodOptimizer_h
18+
#define itkIterateNeighborhoodOptimizer_h
1919

2020
#include "itkArray.h"
2121
#include "itkSingleValuedNonLinearOptimizer.h"

include/itkPhysicalCentralDifferenceImageFunction.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
PURPOSE. See the above copyright notices for more information.
1515
1616
=========================================================================*/
17-
#ifndef __itkPhysicalCentralDifferenceImageFunction_h
18-
#define __itkPhysicalCentralDifferenceImageFunction_h
17+
#ifndef itkPhysicalCentralDifferenceImageFunction_h
18+
#define itkPhysicalCentralDifferenceImageFunction_h
1919

2020
#include "itkImageFunction.h"
2121
#include "itkCovariantVector.h"

include/itkSingleImageCostFunction.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
PURPOSE. See the above copyright notices for more information.
1515
1616
=========================================================================*/
17-
#ifndef __itkSingleImageCostFunction_h
18-
#define __itkSingleImageCostFunction_h
17+
#ifndef itkSingleImageCostFunction_h
18+
#define itkSingleImageCostFunction_h
1919

2020
#include "itkNumericTraits.h"
2121
#include "itkExceptionObject.h"
@@ -89,7 +89,7 @@ class ITK_EXPORT SingleImageCostFunction :
8989
typedef Superclass::ParametersValueType CoordRepType;
9090

9191
/** Type for locations */
92-
typedef Index< ImageDimension > IndexType;
92+
typedef Index< ImageDimension > IndexType;
9393
typedef Point< CoordRepType, ImageDimension > PointType;
9494
typedef ContinuousIndex< CoordRepType, ImageDimension >
9595
ContinuousIndexType;

include/itkSingleImageCostFunction.hxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
PURPOSE. See the above copyright notices for more information.
1515
1616
=========================================================================*/
17-
#ifndef __itkSingleImageCostFunction_hxx
18-
#define __itkSingleImageCostFunction_hxx
17+
#ifndef itkSingleImageCostFunction_hxx
18+
#define itkSingleImageCostFunction_hxx
1919

2020
#include "vnl/vnl_math.h"
2121
#include "itkSingleImageCostFunction.h"
@@ -142,9 +142,9 @@ SingleImageCostFunction<TImage>
142142
derivative[i] = static_cast<typename DerivativeType::ValueType>( output[i] );
143143

144144
// NOTE: The cost function may undefined / unreachable areas
145-
// (indicated by very large values) which may skew the gradient.
146-
// To avoid this skewing effect, we reset gradient values larger
147-
// than a given threshold.
145+
// (indicated by very large values) which may skew the gradient.
146+
// To avoid this skewing effect, we reset gradient values larger
147+
// than a given threshold.
148148
if ( vnl_math_abs(derivative[i]) > DerivativeThreshold )
149149
{
150150
derivative[i] = 0.0;

include/itkSpeedFunctionPathInformation.h

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
/*=========================================================================
22
3-
* Copyright Insight Software Consortium
4-
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0.txt
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
3+
Copyright Insight Software Consortium
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0.txt
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
1616
1717
18-
* Program: Insight Segmentation & Registration Toolkit
19-
* Module: $RCSfile: itkSpeedFunctionPathInformation.h,v $
20-
* Language: C++
21-
* Date: $Date$
22-
* Version: $Revision$
18+
Program: Insight Segmentation & Registration Toolkit
19+
Module: $RCSfile: itkSpeedFunctionPathInformation.h,v $
20+
Language: C++
21+
Date: $Date$
22+
Version: $Revision$
2323
24-
* Copyright (c) Insight Software Consortium. All rights reserved.
25-
* See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
24+
Copyright (c) Insight Software Consortium. All rights reserved.
25+
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
2626
27-
* This software is distributed WITHOUT ANY WARRANTY; without even
28-
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
29-
* PURPOSE. See the above copyright notices for more information.
27+
This software is distributed WITHOUT ANY WARRANTY; without even
28+
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
29+
PURPOSE. See the above copyright notices for more information.
3030
3131
=========================================================================*/
3232
#ifndef itkSpeedFunctionPathInformation_h
@@ -110,7 +110,7 @@ class SpeedFunctionPathInformation :
110110
virtual void PrintSelf( std::ostream& os, Indent indent ) const;
111111

112112
std::vector< PointType > m_Info;
113-
SizeValueType m_Front;
113+
SizeValueType m_Front;
114114

115115

116116
private:

include/itkSpeedFunctionPathInformation.hxx

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
/*=========================================================================
22
3-
* Copyright Insight Software Consortium
4-
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0.txt
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
3+
Copyright Insight Software Consortium
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0.txt
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
1616
1717
18-
* Program: Insight Segmentation & Registration Toolkit
19-
* Module: $RCSfile: itkSpeedFunctionPathInformation.hxx,v $
20-
* Language: C++
21-
* Date: $Date$
22-
* Version: $Revision$
18+
Program: Insight Segmentation & Registration Toolkit
19+
Module: $RCSfile: itkSpeedFunctionPathInformation.hxx,v $
20+
Language: C++
21+
Date: $Date$
22+
Version: $Revision$
2323
24-
* Copyright (c) Insight Software Consortium. All rights reserved.
25-
* See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
24+
Copyright (c) Insight Software Consortium. All rights reserved.
25+
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
2626
27-
* This software is distributed WITHOUT ANY WARRANTY; without even
28-
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
29-
* PURPOSE. See the above copyright notices for more information.
27+
This software is distributed WITHOUT ANY WARRANTY; without even
28+
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
29+
PURPOSE. See the above copyright notices for more information.
3030
3131
=========================================================================*/
3232

include/itkSpeedFunctionToPathFilter.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
PURPOSE. See the above copyright notices for more information.
1515
1616
=========================================================================*/
17-
#ifndef __itkSpeedFunctionToPathFilter_h
18-
#define __itkSpeedFunctionToPathFilter_h
17+
#ifndef itkSpeedFunctionToPathFilter_h
18+
#define itkSpeedFunctionToPathFilter_h
1919

2020
#include "itkArrivalFunctionToPathFilter.h"
2121
#include "itkSpeedFunctionPathInformation.h"
@@ -68,7 +68,7 @@ class ITK_EXPORT SpeedFunctionToPathFilter :
6868
{
6969
public:
7070
/** Standard class typedefs. */
71-
typedef SpeedFunctionToPathFilter Self;
71+
typedef SpeedFunctionToPathFilter Self;
7272
typedef ArrivalFunctionToPathFilter<TInputImage,TOutputPath> Superclass;
7373
typedef SmartPointer<Self> Pointer;
7474
typedef SmartPointer<const Self> ConstPointer;
@@ -84,14 +84,14 @@ class ITK_EXPORT SpeedFunctionToPathFilter :
8484
TInputImage::ImageDimension);
8585

8686
/** Some image typedefs. */
87-
typedef TInputImage InputImageType;
87+
typedef TInputImage InputImageType;
8888
typedef typename InputImageType::Pointer InputImagePointer;
8989
typedef typename InputImageType::ConstPointer InputImageConstPointer;
9090
typedef typename InputImageType::RegionType InputImageRegionType;
9191
typedef typename InputImageType::PixelType InputImagePixelType;
9292

9393
/** Some path typedefs. */
94-
typedef TOutputPath OutputPathType;
94+
typedef TOutputPath OutputPathType;
9595
typedef typename OutputPathType::Pointer OutputPathPointer;
9696
typedef typename OutputPathType::ConstPointer OutputPathConstPointer;
9797

@@ -166,7 +166,7 @@ class ITK_EXPORT SpeedFunctionToPathFilter :
166166
virtual const PointType & GetNextEndPoint( );
167167

168168
std::vector< typename PathInformation::Pointer > m_Info;
169-
InputImagePointer m_CurrentArrivalFunction;
169+
InputImagePointer m_CurrentArrivalFunction;
170170

171171
private:
172172
SpeedFunctionToPathFilter( const Self& ); //purposely not implemented

include/itkSpeedFunctionToPathFilter.hxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@
1515
1616
=========================================================================*/
1717

18-
#ifndef __itkSpeedFunctionToPathFilter_hxx
19-
#define __itkSpeedFunctionToPathFilter_hxx
18+
#ifndef itkSpeedFunctionToPathFilter_hxx
19+
#define itkSpeedFunctionToPathFilter_hxx
2020

2121
#include "vnl/vnl_math.h"
2222
#include "itkSpeedFunctionToPathFilter.h"
2323
#include "itkFastMarchingUpwindGradientImageFilter.h"
2424

2525

26-
2726
namespace itk
2827
{
2928

@@ -87,6 +86,7 @@ SpeedFunctionToPathFilter<TInputImage,TOutputPath>
8786
// Set the fast marching method for computing the arrival function
8887
typedef FastMarchingUpwindGradientImageFilter< TInputImage, TInputImage >
8988
FastMarchingType;
89+
9090
typedef typename FastMarchingType::NodeContainer NodeContainer;
9191
typedef typename FastMarchingType::NodeType NodeType;
9292
typename FastMarchingType::Pointer marching = FastMarchingType::New();

0 commit comments

Comments
 (0)