forked from InsightSoftwareConsortium/ITKWikiExamples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathImageFilterMultipleOutputs.h
49 lines (35 loc) · 1.17 KB
/
ImageFilterMultipleOutputs.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
44
45
46
47
48
49
#ifndef __itkImageFilterMultipleOutputs_h
#define __itkImageFilterMultipleOutputs_h
#include "itkImageToImageFilter.h"
namespace itk
{
template< class TImage>
class ImageFilterMultipleOutputs : public ImageToImageFilter< TImage, TImage >
{
public:
/** Standard class type alias. */
using Self = ImageFilterMultipleOutputs;
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(ImageFilterMultipleOutputs, ImageToImageFilter);
TImage* GetOutput1();
TImage* GetOutput2();
protected:
ImageFilterMultipleOutputs();
~ImageFilterMultipleOutputs(){}
/** Does the real work. */
virtual void GenerateData();
/** Create the Output */
DataObject::Pointer MakeOutput(unsigned int idx);
private:
ImageFilterMultipleOutputs(const Self &); //purposely not implemented
void operator=(const Self &); //purposely not implemented
};
} //namespace ITK
#ifndef ITK_MANUAL_INSTANTIATION
#include "ImageFilterMultipleOutputs.txx"
#endif
#endif // __itkImageFilterMultipleOutputs_h