Skip to content

Commit 7c159ea

Browse files
committed
BUG: Fix the class name in the ImageSource source files
Fix the class name in the `ImageSource` source files.
1 parent bc2ccaf commit 7c159ea

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/Developer/ImageSource.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,30 @@
88
namespace itk
99
{
1010
template <class TImage>
11-
class ImageFilter : public ImageToImageFilter<TImage, TImage>
11+
class ImageSource : public ImageToImageFilter<TImage, TImage>
1212
{
1313
public:
1414
/** Standard class type alias. */
15-
using Self = ImageFilter;
15+
using Self = ImageSource;
1616
using Superclass = ImageToImageFilter<TImage, TImage>;
1717
using Pointer = SmartPointer<Self>;
1818

1919
/** Method for creation through the object factory. */
2020
itkNewMacro(Self);
2121

2222
/** Run-time type information (and related methods). */
23-
itkTypeMacro(ImageFilter, ImageToImageFilter);
23+
itkTypeMacro(ImageSource, ImageToImageFilter);
2424

2525
protected:
26-
ImageFilter() {}
27-
~ImageFilter() {}
26+
ImageSource() {}
27+
~ImageSource() {}
2828

2929
/** Does the real work. */
3030
virtual void
3131
GenerateData();
3232

3333
private:
34-
ImageFilter(const Self &); // purposely not implemented
34+
ImageSource(const Self &); // purposely not implemented
3535
void
3636
operator=(const Self &); // purposely not implemented
3737
};

src/Developer/ImageSource.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace itk
1010

1111
template <class TImage>
1212
void
13-
ImageFilter<TImage>::GenerateData()
13+
ImageSource<TImage>::GenerateData()
1414
{
1515
double a = 2.1;
1616
itkExceptionMacro("Here is a variable: " << a << " and then more text.");

0 commit comments

Comments
 (0)