]> Creatis software - FrontAlgorithms.git/blobdiff - plugins/fpa/ImageRegionGrow.h
...
[FrontAlgorithms.git] / plugins / fpa / ImageRegionGrow.h
similarity index 79%
rename from lib/fpaPlugins/ImageRegionGrow.h
rename to plugins/fpa/ImageRegionGrow.h
index 46fa592328eec7aab2eac8f1581e42e6e20a8d4a..6c680fbabfef4961e6277bfa54067e131fc663d4 100644 (file)
@@ -11,7 +11,7 @@ namespace fpaPlugins
     : public BaseImageFilter
   {
   public:
-    typedef ImageRegionGrow                 Self;
+    typedef ImageRegionGrow                   Self;
     typedef BaseImageFilter                 Superclass;
     typedef itk::SmartPointer< Self >       Pointer;
     typedef itk::SmartPointer< const Self > ConstPointer;
@@ -19,9 +19,7 @@ namespace fpaPlugins
   public:
     itkNewMacro( Self );
     itkTypeMacro( ImageRegionGrow, BaseImageFilter );
-    cpPlugins_Id_Macro(
-      ImageRegionGrow, FrontPropagationImageAlgorithm
-      );
+    cpPlugins_Id_Macro( ImageRegionGrow, fpaImageAlgorithm );
 
   protected:
     ImageRegionGrow( );
@@ -29,8 +27,8 @@ namespace fpaPlugins
 
     virtual std::string _GenerateData( );
 
-    template< class I >
-      std::string _GD0( itk::DataObject* data );
+    template< class _TImage >
+      std::string _GD0( _TImage* image );
 
   private:
     // Purposely not implemented.