diff --git a/Modules/Nonunit/Review/include/itkImageToPathFilter.h b/Modules/Filtering/Path/include/itkImageToPathFilter.h similarity index 98% rename from Modules/Nonunit/Review/include/itkImageToPathFilter.h rename to Modules/Filtering/Path/include/itkImageToPathFilter.h index 89be7ba9ced..b0dd94e8c07 100644 --- a/Modules/Nonunit/Review/include/itkImageToPathFilter.h +++ b/Modules/Filtering/Path/include/itkImageToPathFilter.h @@ -37,7 +37,7 @@ namespace itk * http://www.insight-journal.org/browse/publication/72 * * \ingroup ImageFilters - * \ingroup ITKReview + * \ingroup ITKPath */ template< typename TInputImage, typename TOutputPath > class ImageToPathFilter:public PathSource< TOutputPath > @@ -75,7 +75,7 @@ class ImageToPathFilter:public PathSource< TOutputPath > protected: ImageToPathFilter(); - ~ImageToPathFilter(); + virtual ~ImageToPathFilter(); virtual void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE; diff --git a/Modules/Nonunit/Review/include/itkImageToPathFilter.hxx b/Modules/Filtering/Path/include/itkImageToPathFilter.hxx similarity index 98% rename from Modules/Nonunit/Review/include/itkImageToPathFilter.hxx rename to Modules/Filtering/Path/include/itkImageToPathFilter.hxx index 07a2a7c6073..f4551742013 100644 --- a/Modules/Nonunit/Review/include/itkImageToPathFilter.hxx +++ b/Modules/Filtering/Path/include/itkImageToPathFilter.hxx @@ -31,9 +31,7 @@ namespace itk { -/** - * - */ + template< typename TInputImage, typename TOutputPath > ImageToPathFilter< TInputImage, TOutputPath > ::ImageToPathFilter() @@ -42,17 +40,13 @@ ImageToPathFilter< TInputImage, TOutputPath > this->SetNumberOfRequiredInputs(1); } -/** - * - */ + template< typename TInputImage, typename TOutputPath > ImageToPathFilter< TInputImage, TOutputPath > ::~ImageToPathFilter() {} -/** - * - */ + template< typename TInputImage, typename TOutputPath > void ImageToPathFilter< TInputImage, TOutputPath > @@ -63,6 +57,7 @@ ImageToPathFilter< TInputImage, TOutputPath > const_cast< InputImageType * >( input ) ); } + /** * Connect one of the operands for pixel-wise addition */ @@ -76,9 +71,7 @@ ImageToPathFilter< TInputImage, TOutputPath > const_cast< TInputImage * >( image ) ); } -/** - * - */ + template< typename TInputImage, typename TOutputPath > const typename ImageToPathFilter< TInputImage, TOutputPath >::InputImageType * ImageToPathFilter< TInputImage, TOutputPath > @@ -87,9 +80,7 @@ ImageToPathFilter< TInputImage, TOutputPath > return itkDynamicCastInDebugMode< const TInputImage * >( this->GetPrimaryInput() ); } -/** - * - */ + template< typename TInputImage, typename TOutputPath > const typename ImageToPathFilter< TInputImage, TOutputPath >::InputImageType * ImageToPathFilter< TInputImage, TOutputPath > @@ -98,6 +89,7 @@ ImageToPathFilter< TInputImage, TOutputPath > return itkDynamicCastInDebugMode< const TInputImage * >( this->ProcessObject::GetInput(idx) ); } + template< typename TInputImage, typename TOutputPath > void ImageToPathFilter< TInputImage, TOutputPath > diff --git a/Modules/Nonunit/Review/wrapping/itkImageToPathFilter.wrap b/Modules/Filtering/Path/wrapping/itkImageToPathFilter.wrap similarity index 100% rename from Modules/Nonunit/Review/wrapping/itkImageToPathFilter.wrap rename to Modules/Filtering/Path/wrapping/itkImageToPathFilter.wrap