]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/VTK/Image/PolyLineParametricPathToPolyDataFilter.h
...
[FrontAlgorithms.git] / lib / fpa / VTK / Image / PolyLineParametricPathToPolyDataFilter.h
diff --git a/lib/fpa/VTK/Image/PolyLineParametricPathToPolyDataFilter.h b/lib/fpa/VTK/Image/PolyLineParametricPathToPolyDataFilter.h
new file mode 100644 (file)
index 0000000..a8b9ea0
--- /dev/null
@@ -0,0 +1,73 @@
+// =========================================================================
+// @author Leonardo Florez Valencia
+// @email florez-l@javeriana.edu.co
+// =========================================================================
+#ifndef __fpa__VTK__Image__PolyLineParametricPathToPolyDataFilter__h__
+#define __fpa__VTK__Image__PolyLineParametricPathToPolyDataFilter__h__
+
+#include <vtkPolyDataAlgorithm.h>
+
+namespace fpa
+{
+  namespace VTK
+  {
+    namespace Image
+    {
+      /**
+       */
+      template< class _TPath >
+      class PolyLineParametricPathToPolyDataFilter
+        : public vtkPolyDataAlgorithm
+      {
+      public:
+        typedef PolyLineParametricPathToPolyDataFilter Self;
+        typedef _TPath                                 TPath;
+
+      public:
+        vtkTypeMacro(
+          PolyLineParametricPathToPolyDataFilter,
+          vtkPolyDataAlgorithm
+          );
+
+      public:
+        static Self* New( );
+
+        const TPath* GetInput( ) const;
+        void SetInput( const TPath* path );
+
+      protected:
+        PolyLineParametricPathToPolyDataFilter( );
+        virtual ~PolyLineParametricPathToPolyDataFilter( );
+
+        int RequestData(
+          vtkInformation* information,
+          vtkInformationVector** input,
+          vtkInformationVector* output
+          );
+        int RequestInformation(
+          vtkInformation* information,
+          vtkInformationVector** input,
+          vtkInformationVector* output
+          );
+
+      private:
+        // Purposely not implemented
+        PolyLineParametricPathToPolyDataFilter( const Self& );
+        void operator=( const Self& );
+
+      protected:
+        const TPath* m_PolyLineParametricPath;
+      };
+
+    } // ecapseman
+
+  } // ecapseman
+
+} // ecapseman
+
+#ifndef ITK_MANUAL_INSTANTIATION
+#  include <fpa/VTK/Image/PolyLineParametricPathToPolyDataFilter.hxx>
+#endif // ITK_MANUAL_INSTANTIATION
+#endif // __fpa__VTK__Image__PolyLineParametricPathToPolyDataFilter__h__
+
+// eof - $RCSfile$