]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Plugins/BasicFilters/BinaryThresholdImageFilter.h
...
[cpPlugins.git] / lib / cpPlugins / Plugins / BasicFilters / BinaryThresholdImageFilter.h
index b41015102473d38b54cad4e3add0c1adf4f093ad..76b725b95832beab58857d7df06f7daab435ec4c 100644 (file)
@@ -14,14 +14,21 @@ namespace cpPlugins
       : public cpPlugins::Interface::ImageToImageFilter
     {
     public:
-      typedef BinaryThresholdImageFilter                 Self;
+      typedef BinaryThresholdImageFilter               Self;
       typedef cpPlugins::Interface::ImageToImageFilter Superclass;
       typedef itk::SmartPointer< Self >                Pointer;
       typedef itk::SmartPointer< const Self >          ConstPointer;
 
     public:
       itkNewMacro( Self );
-      itkTypeMacro( BinaryThresholdImageFilter, cpPluginsInterfaceImageToImageFilter );
+      itkTypeMacro(
+        BinaryThresholdImageFilter,
+        cpPluginsInterfaceImageToImageFilter
+        );
+      cpPlugins_Id_Macro(
+        cpPlugins::BasicFilters::BinaryThresholdImageFilter,
+        ImageToBinaryImageFilter
+        );
 
     protected:
       BinaryThresholdImageFilter( );
@@ -30,7 +37,7 @@ namespace cpPlugins
       virtual std::string _GenerateData( );
 
       template< class I >
-        inline std::string _DemangleOutput( itk::DataObject* image );
+        inline std::string _GD0( itk::DataObject* image );
 
       template< class I, class O >
         inline std::string _RealGD( itk::DataObject* image );
@@ -41,9 +48,6 @@ namespace cpPlugins
       Self& operator=( const Self& );
     };
 
-    // ---------------------------------------------------------------------
-    CPPLUGINS_INHERIT_PROVIDER( BinaryThresholdImageFilter );
-
   } // ecapseman
 
 } // ecapseman