]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/ImageToMeshFilter.h
Garbage collector added
[cpPlugins.git] / lib / cpPlugins / Interface / ImageToMeshFilter.h
index dba914249facfa3d9818bf7e6f5aeb46809703e0..472f47a0ccb9e3bdcc5211a1a269fa71289b98ad 100644 (file)
@@ -2,7 +2,7 @@
 #define __CPPLUGINS__INTERFACE__IMAGETOMESHFILTER__H__
 
 #include <cpPlugins/Interface/cpPlugins_Interface_Export.h>
-#include <cpPlugins/Interface/ProcessObject.h>
+#include <cpPlugins/Interface/FilterObject.h>
 
 namespace cpPlugins
 {
@@ -11,20 +11,32 @@ namespace cpPlugins
     /**
      */
     class cpPlugins_Interface_EXPORT ImageToMeshFilter
-      : public ProcessObject
+      : public FilterObject
     {
     public:
-      typedef ImageToMeshFilter  Self;
-      typedef ProcessObject Superclass;
+      typedef ImageToMeshFilter               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( ImageToMeshFilter, FilterObject );
+
+    public:
+      virtual std::string GetClassName( ) const;
+      virtual std::string GetClassType( ) const;
+
+    protected:
       ImageToMeshFilter( );
       virtual ~ImageToMeshFilter( );
 
-      virtual std::string GetClassName( ) const;
+    private:
+      // Purposely not implemented
+      ImageToMeshFilter( const Self& );
+      Self& operator=( const Self& );
     };
 
   } // ecapseman