1 #ifndef __fpa__Base__DijkstraCostFunctionBase__h__
2 #define __fpa__Base__DijkstraCostFunctionBase__h__
5 #include <itkObjectFactory.h>
13 template< class _TVertex, class _TOutput >
14 class DijkstraCostFunctionBase
18 typedef DijkstraCostFunctionBase Self;
19 typedef itk::Object Superclass;
20 typedef itk::SmartPointer< Self > Pointer;
21 typedef itk::SmartPointer< const Self > ConstPointer;
23 typedef _TVertex TVertex;
24 typedef _TOutput TOutput;
27 itkTypeMacro( DijkstraCostFunctionBase, itk::Object );
30 virtual TOutput Evaluate( const TVertex& a, const TVertex& b ) const = 0;
33 DijkstraCostFunctionBase( )
36 virtual ~DijkstraCostFunctionBase( )
40 // Purposely not defined
41 DijkstraCostFunctionBase( const Self& other );
42 Self& operator=( const Self& other );
49 #endif // __fpa__Base__DijkstraCostFunctionBase__h__