1 // =========================================================================
2 // @author Leonardo Florez Valencia
3 // @email florez-l@javeriana.edu.co
4 // =========================================================================
5 #ifndef __fpa__Filters__Dijkstra__h__
6 #define __fpa__Filters__Dijkstra__h__
8 #include <fpa/Filters/DijkstraBase.h>
16 template< class _TTraits, class _TMST >
18 : public fpa::Filters::DijkstraBase< _TTraits >
21 typedef _TTraits TTraits;
23 fpaTraitsMacro( typename, TTraits );
25 typedef fpa::Filters::DijkstraBase< _TTraits > Superclass;
26 typedef Dijkstra Self;
27 typedef itk::SmartPointer< Self > Pointer;
28 typedef itk::SmartPointer< const Self > ConstPointer;
30 typedef typename Superclass::TScalarWeight TScalarWeight;
31 typedef typename Superclass::TVertexWeight TVertexWeight;
34 itkTypeMacro( fpa::Filters::Dijkstra, fpa::Filters::DijkstraBase );
36 fpaFilterOutputMacro( MinimumSpanningTree, TMST );
43 virtual void _AfterGenerateData( ) override;
44 virtual void _UpdateOutputValue( TNode& n ) override;
47 // Purposely not implemented.
48 Dijkstra( const Self& other );
49 Self& operator=( const Self& other );
52 unsigned int m_MinimumSpanningTreeIdx;
59 #ifndef ITK_MANUAL_INSTANTIATION
60 # include <fpa/Filters/Dijkstra.hxx>
61 #endif // ITK_MANUAL_INSTANTIATION
63 #endif // __fpa__Filters__Dijkstra__h__