1 // =========================================================================
2 // @author Leonardo Florez Valencia
3 // @email florez-l@javeriana.edu.co
4 // =========================================================================
6 #ifndef __fpa__Base__Functors__VertexParentBase__h__
7 #define __fpa__Base__Functors__VertexParentBase__h__
10 #include <itkObjectFactory.h>
20 template< class _TVertex, class _TOutputValue >
21 class VertexParentBase
25 typedef VertexParentBase Self;
26 typedef itk::Object Superclass;
27 typedef itk::SmartPointer< Self > Pointer;
28 typedef itk::SmartPointer< const Self > ConstPointer;
30 typedef _TVertex TVertex;
31 typedef _TOutputValue TOutputValue;
34 itkTypeMacro( VertexParentBase, TFilter );
37 virtual TOutputValue Evaluate( const TVertex& v, const TVertex& p ) const = 0;
43 virtual ~VertexParentBase( ) { }
46 VertexParentBase( const Self& other );
47 Self& operator=( const Self& other );
56 #endif // __fpa__Base__Functors__VertexParentBase__h__