]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Filters/Image/SeedsFromLabelsInterface.h
...
[FrontAlgorithms.git] / lib / fpa / Filters / Image / SeedsFromLabelsInterface.h
diff --git a/lib/fpa/Filters/Image/SeedsFromLabelsInterface.h b/lib/fpa/Filters/Image/SeedsFromLabelsInterface.h
new file mode 100644 (file)
index 0000000..f9833fe
--- /dev/null
@@ -0,0 +1,52 @@
+// =========================================================================
+// @author Leonardo Florez Valencia
+// @email florez-l@javeriana.edu.co
+// =========================================================================
+#ifndef __fpa__Filters__Image__SeedsFromLabelsInterface__h__
+#define __fpa__Filters__Image__SeedsFromLabelsInterface__h__
+
+#include <fpa/Filters/BaseSeedsInterface.h>
+
+namespace fpa
+{
+  namespace Filters
+  {
+    namespace Image
+    {
+      /**
+       */
+      template< class _TTraits >
+      class SeedsFromLabelsInterface
+        : public fpa::Filters::BaseSeedsInterface< _TTraits >
+      {
+      public:
+        typedef fpa::Filters::BaseSeedsInterface< _TTraits > Superclass;
+        typedef SeedsFromLabelsInterface                       Self;
+        typedef _TTraits TTraits;
+        fpaTraitsMacro( typename TTraits );
+
+      protected:
+        SeedsFromLabelsInterface( itk::ProcessObject* f );
+        virtual ~SeedsFromLabelsInterface( );
+
+        // Filter related methods
+        virtual void _AssignOutputValue( const TNode& n ) = 0;
+
+        // Marks related methods
+        virtual void _Mark( const TNode& n ) = 0;
+
+        // Main method
+        virtual void _PrepareSeeds( const itk::DataObject* reference ) override;
+      };
+
+    } // ecapseman
+
+  } // ecapseman
+
+} // ecapseman
+
+#ifndef ITK_MANUAL_INSTANTIATION
+#  include <fpa/Filters/Image/SeedsFromLabelsInterface.hxx>
+#endif // ITK_MANUAL_INSTANTIATION
+#endif // __fpa__Filters__Image__SeedsFromLabelsInterface__h__
+// eof - $RCSfile$