1 // =========================================================================
2 // @author Leonardo Florez Valencia
3 // @email florez-l@javeriana.edu.co
4 // =========================================================================
6 #ifndef __fpa__Image__Functors__Dijkstra__Identity__h__
7 #define __fpa__Image__Functors__Dijkstra__Identity__h__
9 #include <fpa/Image/Functors/Dijkstra/Function.h>
21 template< class _TInputImage, class _TOutputValue >
23 : public fpa::Image::Functors::Dijkstra::Function< _TInputImage, _TOutputValue >
26 typedef Identity Self;
27 typedef fpa::Image::Functors::Dijkstra::Function< _TInputImage, _TOutputValue > Superclass;
28 typedef itk::SmartPointer< Self > Pointer;
29 typedef itk::SmartPointer< const Self > ConstPointer;
31 typedef typename Superclass::TVertex TVertex;
36 fpa::Image::Functors::Dijkstra::Identity,
37 fpa::Image::Functors::Dijkstra::Function
41 virtual _TOutputValue Evaluate(
42 const TVertex& v, const TVertex& p
45 return( _TOutputValue( this->m_Image->GetPixel( v ) ) );
58 // Purposely not implemented
59 Identity( const Self& other );
60 Self& operator=( const Self& other );
71 #endif // __fpa__Image__Functors__Dijkstra__Identity__h__