@@ -109,7 +109,7 @@ class ITK_EXPORT SpeedFunctionToPathFilter :
109109 * Warning: SetPathEndPoint() is not valid for this filter.
110110 * This method is provided by the superclass, however it is not
111111 * used by this subclass. Use AddPathInfo() instead.*/
112- void SetPathEndPoint ( const PointType& )
112+ void SetPathEndPoint ( const PointType& ) ITK_OVERRIDE
113113 {
114114 itkWarningMacro (" SetPathEndPoint() is not valid for this filter. Use AddPathInfo() instead." );
115115 }
@@ -118,7 +118,7 @@ class ITK_EXPORT SpeedFunctionToPathFilter :
118118 * Warning: AddPathEndPoint() is not valid for this filter.
119119 * This method is provided by the superclass, however it is not
120120 * used by this subclass. Use AddPathInfo() instead.*/
121- void AddPathEndPoint ( const PointType& )
121+ void AddPathEndPoint ( const PointType& ) ITK_OVERRIDE
122122 {
123123 itkWarningMacro (" AddPathEndPoint() is not valid for this filter. Use AddPathInfo() instead." );
124124 }
@@ -127,7 +127,7 @@ class ITK_EXPORT SpeedFunctionToPathFilter :
127127 * Warning: ClearPathEndPoints() is not valid for this filter.
128128 * This method is provided by the superclass, however it is not
129129 * used by this subclass. Use ClearPathInfo() instead.*/
130- void ClearPathEndPoints ()
130+ void ClearPathEndPoints () ITK_OVERRIDE
131131 {
132132 itkWarningMacro (" ClearPathEndPoints() is not valid for this filter. Use ClearPathInfo() instead." );
133133 }
@@ -146,24 +146,24 @@ class ITK_EXPORT SpeedFunctionToPathFilter :
146146 }
147147
148148 /* * Handle optimizer iteration events. */
149- virtual void Execute ( const itk::Object * object, const itk::EventObject & event );
149+ virtual void Execute ( const itk::Object * object, const itk::EventObject & event ) ITK_OVERRIDE ;
150150
151151protected:
152152 SpeedFunctionToPathFilter ( );
153153 ~SpeedFunctionToPathFilter ( );
154- virtual void PrintSelf ( std::ostream& os, Indent indent ) const ;
154+ virtual void PrintSelf ( std::ostream& os, Indent indent ) const ITK_OVERRIDE ;
155155
156156 /* * Implemention of algorithm. */
157- void GenerateData ( void );
157+ void GenerateData ( void ) ITK_OVERRIDE ;
158158
159159 /* * Get the number of paths which the user has instructed to extracted. */
160- virtual unsigned int GetNumberOfPathsToExtract ( ) const ;
160+ virtual unsigned int GetNumberOfPathsToExtract ( ) const ITK_OVERRIDE ;
161161
162162 /* * Compute the arrival function from which to extract the path. */
163- virtual InputImageType * ComputeArrivalFunction ( );
163+ virtual InputImageType * ComputeArrivalFunction ( ) ITK_OVERRIDE ;
164164
165165 /* * Override handling of optimizer iteration events to accomodate way points. */
166- virtual const PointType & GetNextEndPoint ( );
166+ virtual const PointType & GetNextEndPoint ( ) ITK_OVERRIDE ;
167167
168168 std::vector< typename PathInformationType::Pointer > m_Information;
169169 InputImagePointer m_CurrentArrivalFunction;
0 commit comments