]> Creatis software - FrontAlgorithms.git/blob - lib/fpa/Image/Dijkstra.hxx
1f21dc4335cddbe310c8fe5ef0e9d6ee65c1f9f2
[FrontAlgorithms.git] / lib / fpa / Image / Dijkstra.hxx
1 #ifndef __fpa__Image__Dijkstra__hxx__
2 #define __fpa__Image__Dijkstra__hxx__
3
4 #include <fpa/Image/Functors/VertexCost.h>
5
6 // -------------------------------------------------------------------------
7 template< class _TInputImage, class _TOutputImage >
8 fpa::Image::Dijkstra< _TInputImage, _TOutputImage >::
9 Dijkstra( )
10   : Superclass( )
11 {
12   typedef fpa::Image::Functors::VertexCost< _TInputImage, TOutput > _TCost;
13   typename _TCost::Pointer cost = _TCost::New( );
14   this->SetVertexFunction( cost );
15 }
16
17 // -------------------------------------------------------------------------
18 template< class _TInputImage, class _TOutputImage >
19 fpa::Image::Dijkstra< _TInputImage, _TOutputImage >::
20 ~Dijkstra( )
21 {
22 }
23
24 #endif // __fpa__Image__Dijkstra__hxx__
25
26 // eof - $RCSfile$