forked from InsightSoftwareConsortium/ITKWikiExamples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathImageFilter.h
43 lines (31 loc) · 913 Bytes
/
ImageFilter.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef __itkImageFilter_h
#define __itkImageFilter_h
#include "itkImageToImageFilter.h"
namespace itk
{
template< class TImage>
class ImageFilter:public ImageToImageFilter< TImage, TImage >
{
public:
/** Standard class type alias. */
using Self = ImageFilter;
using Superclass = ImageToImageFilter< TImage, TImage >;
using Pointer = SmartPointer< Self >;
/** Method for creation through the object factory. */
itkNewMacro(Self);
/** Run-time type information (and related methods). */
itkTypeMacro(ImageFilter, ImageToImageFilter);
protected:
ImageFilter(){}
~ImageFilter(){}
/** Does the real work. */
virtual void GenerateData();
private:
ImageFilter(const Self &); //purposely not implemented
void operator=(const Self &); //purposely not implemented
};
} //namespace ITK
#ifndef ITK_MANUAL_INSTANTIATION
#include "ImageFilter.hxx"
#endif
#endif // __itkImageFilter_h