]> Creatis software - FrontAlgorithms.git/blob - plugins/fpa/ImageDijkstra.h
efc86fb0da9977873ae5f55448b68bd6897e8185
[FrontAlgorithms.git] / plugins / fpa / ImageDijkstra.h
1 #ifndef __FPAPLUGINS__IMAGEDIJKSTRA__H__
2 #define __FPAPLUGINS__IMAGEDIJKSTRA__H__
3
4 #include "BaseImageFilter.h"
5
6 namespace fpaPlugins
7 {
8   /**
9    */
10   class fpaPlugins_EXPORT ImageDijkstra
11     : public BaseImageFilter
12   {
13   public:
14     typedef ImageDijkstra                   Self;
15     typedef BaseImageFilter                 Superclass;
16     typedef itk::SmartPointer< Self >       Pointer;
17     typedef itk::SmartPointer< const Self > ConstPointer;
18
19   public:
20     itkNewMacro( Self );
21     itkTypeMacro( ImageDijkstra, BaseImageFilter );
22     cpPlugins_Id_Macro( ImageDijkstra, fpaImageAlgorithm );
23
24     virtual itk::ModifiedTimeType GetMTime( ) const
25     {
26       auto t = this->Superclass::GetMTime( );
27       std::cout << "Dijkstra time: " << t << std::endl;
28       return( t );
29     }
30
31
32   protected:
33     ImageDijkstra( );
34     virtual ~ImageDijkstra( );
35
36     virtual void _GenerateData( ) ITK_OVERRIDE;
37
38     template< class _TImage >
39       inline void _GD0( _TImage* image );
40
41   private:
42     // Purposely not implemented.
43     ImageDijkstra( const Self& other );
44     Self& operator=( const Self& other );
45   };
46
47 } // ecapseman
48
49 #endif // __FPAPLUGINS__IMAGEDIJKSTRA__H__
50
51 // eof - $RCSfile$