]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Algorithms/KalmanConstantFilter.h
yet another refactoring
[cpPlugins.git] / lib / cpExtensions / Algorithms / KalmanConstantFilter.h
diff --git a/lib/cpExtensions/Algorithms/KalmanConstantFilter.h b/lib/cpExtensions/Algorithms/KalmanConstantFilter.h
new file mode 100644 (file)
index 0000000..82cd263
--- /dev/null
@@ -0,0 +1,56 @@
+// -------------------------------------------------------------------------
+// @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co)
+// -------------------------------------------------------------------------
+
+#ifndef __CPEXTENSIONS__ALGORITHMS__KALMANCONSTANTFILTER__H__
+#define __CPEXTENSIONS__ALGORITHMS__KALMANCONSTANTFILTER__H__
+
+#include <cpExtensions/Algorithms/KalmanFilter.h>
+
+namespace cpExtensions
+{
+  namespace Algorithms
+  {
+    /**
+     */
+    template< typename T >
+    class cpExtensions_EXPORT KalmanConstantFilter
+      : public KalmanFilter< T >
+    {
+    public:
+      typedef KalmanConstantFilter            Self;
+      typedef KalmanFilter< T >               Superclass;
+      typedef itk::SmartPointer< Self >       Pointer;
+      typedef itk::SmartPointer< const Self > ConstPointer;
+
+      typedef typename Superclass::TScalar TScalar;
+      typedef typename Superclass::TMatrix TMatrix;
+      typedef typename Superclass::TVector TVector;
+
+    public:
+      itkNewMacro( Self );
+      itkTypeMacro( KalmanConstantFilter, KalmanFilter );
+
+    public:
+      void Configure( unsigned int m );
+
+      // Iteration methods
+      virtual void Initialize( ) cpExtensions_OVERRIDE;
+
+    protected:
+      KalmanConstantFilter( );
+      virtual ~KalmanConstantFilter( );
+
+    private:
+      // Purposely not implemented.
+      KalmanConstantFilter( const Self& );
+      void operator=( const Self& );
+    };
+
+  } // ecapseman
+
+} // ecapseman
+
+#endif // __CPEXTENSIONS__ALGORITHMS__KALMANCONSTANTFILTER__H__
+
+// eof - $RCSfile$