]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/ImageToImageFilter.h
...
[cpPlugins.git] / lib / cpPlugins / Interface / ImageToImageFilter.h
index 962ec27178cd1ae05527e4a223f324ecd1ac880a..5da8bf2cb9a794224dc4fcdc09cfac1638dad050 100644 (file)
@@ -2,7 +2,7 @@
 #define __CPPLUGINS__INTERFACE__IMAGETOIMAGEFILTER__H__
 
 #include <cpPlugins/Interface/cpPlugins_Interface_Export.h>
-#include <cpPlugins/Interface/ProcessObject.h>
+#include <cpPlugins/Interface/FilterObject.h>
 
 namespace cpPlugins
 {
@@ -11,20 +11,29 @@ namespace cpPlugins
     /**
      */
     class cpPlugins_Interface_EXPORT ImageToImageFilter
-      : public ProcessObject
+      : public FilterObject
     {
     public:
-      typedef ImageToImageFilter  Self;
-      typedef ProcessObject Superclass;
+      typedef ImageToImageFilter              Self;
+      typedef FilterObject                    Superclass;
+      typedef itk::SmartPointer< Self >       Pointer;
+      typedef itk::SmartPointer< const Self > ConstPointer;
 
-      typedef Superclass::TParameter  TParameter;
-      typedef Superclass::TParameters TParameters;
+    public:
+      itkTypeMacro( ImageToImageFilter, FilterObject );
 
     public:
+      virtual std::string GetClassName( ) const;
+      virtual std::string GetClassType( ) const;
+
+    protected:
       ImageToImageFilter( );
       virtual ~ImageToImageFilter( );
 
-      virtual std::string GetClassName( ) const;
+    private:
+      // Purposely not implemented
+      ImageToImageFilter( const Self& );
+      Self& operator=( const Self& );
     };
 
   } // ecapseman