]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Algorithms/KalmanConstantFilter.h
...
[cpPlugins.git] / lib / cpExtensions / Algorithms / KalmanConstantFilter.h
index 76fb1b464663c4700e3833be3c6435b631f2c377..e9d0192b2c6cb89a0d065ab4d422da6686f2a915 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
+    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:
+    protected:
         KalmanConstantFilter( );
         virtual ~KalmanConstantFilter( );
 
-      private:
+    private:
         // Purposely not implemented.
         KalmanConstantFilter( const Self& );
         void operator=( const Self& );
-      };
+    };
 
-    } // ecapseman
+  } // ecapseman
 
 } // ecapseman