File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 8
8
namespace itk
9
9
{
10
10
template <class TImage >
11
- class ImageFilter : public ImageToImageFilter <TImage, TImage>
11
+ class ImageSource : public ImageToImageFilter <TImage, TImage>
12
12
{
13
13
public:
14
14
/* * Standard class type alias. */
15
- using Self = ImageFilter ;
15
+ using Self = ImageSource ;
16
16
using Superclass = ImageToImageFilter<TImage, TImage>;
17
17
using Pointer = SmartPointer<Self>;
18
18
19
19
/* * Method for creation through the object factory. */
20
20
itkNewMacro (Self);
21
21
22
22
/* * Run-time type information (and related methods). */
23
- itkTypeMacro (ImageFilter , ImageToImageFilter);
23
+ itkTypeMacro (ImageSource , ImageToImageFilter);
24
24
25
25
protected:
26
- ImageFilter () {}
27
- ~ImageFilter () {}
26
+ ImageSource () {}
27
+ ~ImageSource () {}
28
28
29
29
/* * Does the real work. */
30
30
virtual void
31
31
GenerateData ();
32
32
33
33
private:
34
- ImageFilter (const Self &); // purposely not implemented
34
+ ImageSource (const Self &); // purposely not implemented
35
35
void
36
36
operator =(const Self &); // purposely not implemented
37
37
};
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace itk
10
10
11
11
template <class TImage >
12
12
void
13
- ImageFilter <TImage>::GenerateData()
13
+ ImageSource <TImage>::GenerateData()
14
14
{
15
15
double a = 2.1 ;
16
16
itkExceptionMacro (" Here is a variable: " << a << " and then more text." );
You can’t perform that action at this time.
0 commit comments