]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Algorithms/KalmanConstantFilter.h
...
[cpPlugins.git] / lib / cpExtensions / Algorithms / KalmanConstantFilter.h
index 76fb1b464663c4700e3833be3c6435b631f2c377..82cd263eda9de5e4d10ea318935ade8aa9a512d3 100644 (file)
@@ -8,46 +8,46 @@
 #include <cpExtensions/Algorithms/KalmanFilter.h>
 
 namespace cpExtensions
+{
+  namespace Algorithms
   {
-    namespace Algorithms
+    /**
+     */
+    template< typename T >
+    class cpExtensions_EXPORT KalmanConstantFilter
+      : public KalmanFilter< T >
     {
-      /**
-       */
-      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( );
-
-      protected:
-        KalmanConstantFilter( );
-        virtual ~KalmanConstantFilter( );
-
-      private:
-        // Purposely not implemented.
-        KalmanConstantFilter( const Self& );
-        void operator=( const Self& );
-      };
-
-    } // ecapseman
+    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