]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Plugins/BasicFilters/BinaryThresholdImageFilter.h
contour widget example done
[cpPlugins.git] / lib / cpPlugins / Plugins / BasicFilters / BinaryThresholdImageFilter.h
1 #ifndef __CPPLUGINS__PLUGINS__BINARYTHRESHOLDIMAGEFILTER__H__
2 #define __CPPLUGINS__PLUGINS__BINARYTHRESHOLDIMAGEFILTER__H__
3
4 #include <cpPlugins/BasicFilters/cpPluginsBasicFilters_Export.h>
5 #include <cpPlugins/Interface/BaseProcessObjects.h>
6
7 namespace cpPlugins
8 {
9   namespace BasicFilters
10   {
11     /**
12      */
13     class cpPluginsBasicFilters_EXPORT BinaryThresholdImageFilter
14       : public cpPlugins::Interface::ImageToImageFilter
15     {
16     public:
17       typedef BinaryThresholdImageFilter                 Self;
18       typedef cpPlugins::Interface::ImageToImageFilter Superclass;
19       typedef itk::SmartPointer< Self >                Pointer;
20       typedef itk::SmartPointer< const Self >          ConstPointer;
21
22     public:
23       itkNewMacro( Self );
24       itkTypeMacro( BinaryThresholdImageFilter, cpPluginsInterfaceImageToImageFilter );
25
26     protected:
27       BinaryThresholdImageFilter( );
28       virtual ~BinaryThresholdImageFilter( );
29
30       virtual std::string _GenerateData( );
31
32       template< class I >
33         inline std::string _DemangleOutput( itk::DataObject* image );
34
35       template< class I, class O >
36         inline std::string _RealGD( itk::DataObject* image );
37
38     private:
39       // Purposely not implemented
40       BinaryThresholdImageFilter( const Self& );
41       Self& operator=( const Self& );
42     };
43
44     // ---------------------------------------------------------------------
45     CPPLUGINS_INHERIT_PROVIDER( BinaryThresholdImageFilter );
46
47   } // ecapseman
48
49 } // ecapseman
50
51 #endif // __CPPLUGINS__PLUGINS__BINARYTHRESHOLDIMAGEFILTER__H__
52
53 // eof - $RCSfile$