]> Creatis software - FrontAlgorithms.git/blob - lib/fpa/Image/Dijkstra.h
...
[FrontAlgorithms.git] / lib / fpa / Image / Dijkstra.h
1 #ifndef __fpa__Image__Dijkstra__h__
2 #define __fpa__Image__Dijkstra__h__
3
4 #include <fpa/Base/Dijkstra.h>
5 #include <fpa/Image/Algorithm.h>
6 #include <fpa/Image/MinimumSpanningTree.h>
7 #include <fpa/Image/Functors/Base.h>
8
9 namespace fpa
10 {
11   namespace Image
12   {
13     /**
14      */
15     template< class _TInputImage, class _TOutputImage >
16     class Dijkstra
17       : public fpa::Base::Dijkstra< fpa::Image::Algorithm< _TInputImage, _TOutputImage >, fpa::Image::MinimumSpanningTree< _TInputImage::ImageDimension > >
18     {
19     public:
20       typedef Dijkstra                                             Self;
21       typedef fpa::Image::Algorithm< _TInputImage, _TOutputImage > TAlgorithm;
22       typedef fpa::Image::MinimumSpanningTree< _TInputImage::ImageDimension > TMST;
23       typedef fpa::Base::Dijkstra< TAlgorithm, TMST > Superclass;
24       typedef itk::SmartPointer< Self >               Pointer;
25       typedef itk::SmartPointer< const Self >         ConstPointer;
26
27       typedef typename Superclass::TOutput TOutput;
28       typedef typename Superclass::TVertex TVertex;
29
30     public:
31       itkNewMacro( Self );
32       itkTypeMacro( fpa::Image::Dijkstra, fpa::Base::Dijkstra );
33
34     protected:
35       Dijkstra( );
36       virtual ~Dijkstra( );
37
38     private:
39       // Purposely not defined
40       Dijkstra( const Self& other );
41       Self& operator=( const Self& other );
42     };
43
44   } // ecapseman
45
46 } // ecapseman
47
48 #ifndef ITK_MANUAL_INSTANTIATION
49 #  include <fpa/Image/Dijkstra.hxx>
50 #endif // ITK_MANUAL_INSTANTIATION
51
52 #endif // __fpa__Image__Dijkstra__h__
53
54 // eof - $RCSfile$