1 #ifndef __fpa__Image__Dijkstra__hxx__
2 #define __fpa__Image__Dijkstra__hxx__
4 // -------------------------------------------------------------------------
5 template< class _TInputImage, class _TOutputImage >
6 fpa::Image::Dijkstra< _TInputImage, _TOutputImage >::
12 // -------------------------------------------------------------------------
13 template< class _TInputImage, class _TOutputImage >
14 fpa::Image::Dijkstra< _TInputImage, _TOutputImage >::
19 // -------------------------------------------------------------------------
20 template< class _TInputImage, class _TOutputImage >
21 void fpa::Image::Dijkstra< _TInputImage, _TOutputImage >::
22 _BeforeGenerateData( )
24 this->Superclass::_BeforeGenerateData( );
27 dynamic_cast< TCostFunction* >( this->GetCostFunction( ) );
29 itkExceptionMacro( << "CostFunction not well defined." );
30 cost->SetImage( this->GetInput( ) );
33 #endif // __fpa__Image__Dijkstra__hxx__