]> Creatis software - cpMesh.git/blobdiff - lib/cpm/Plugins/SimpleFillRegion.h
...
[cpMesh.git] / lib / cpm / Plugins / SimpleFillRegion.h
index 1e84ef61ba37e219e9bb27ebdaf870782f6356f7..ac2cbab1a5645d0985bf5c1fe05f475953925959 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __CPM__PLUGINS__SIMPLEFILLREGION__H__
 #define __CPM__PLUGINS__SIMPLEFILLREGION__H__
 
-#include <cpPlugins/Interface/ImageToImageFilter.h>
+#include <cpPlugins/Interface/BaseProcessObjects.h>
 
 namespace cpm
 {
@@ -15,25 +15,38 @@ namespace cpm
     public:
       typedef SimpleFillRegion                         Self;
       typedef cpPlugins::Interface::ImageToImageFilter Superclass;
-
-      typedef Superclass::TParameter  TParameter;
-      typedef Superclass::TParameters TParameters;
+      typedef itk::SmartPointer< Self >                Pointer;
+      typedef itk::SmartPointer< const Self >          ConstPointer;
 
     public:
-      SimpleFillRegion( );
-      virtual ~SimpleFillRegion( );
+      itkNewMacro( Self );
+      itkTypeMacro( SimpleFillRegion, cpPlugins_Interface_ImageToImageFilter );
 
       virtual std::string GetClassName( ) const;
 
     protected:
+      SimpleFillRegion( );
+      virtual ~SimpleFillRegion( );
+
       virtual std::string _GenerateData( );
 
+      /* TODO
+         template< unsigned int D >
+         std::string _GD0( );
+
+         template< class P1, unsigned int D >
+         std::string _GD1( );
+
+         template< class P1, class P2, unsigned int D >
+         std::string _GD2( );
+      */
+
     protected:
       itk::ProcessObject::Pointer m_Filter;
     };
 
     // ---------------------------------------------------------------------
-    PLUMA_INHERIT_PROVIDER( SimpleFillRegion, cpPlugins::Interface::Object );
+    CPPLUGINS_INHERIT_PROVIDER( SimpleFillRegion );
 
   } // ecapseman