- /**
- */
- template< class _TVertex, class _TValue >
- class BaseVertexFunction
- : public LightBaseVertexFunction< _TVertex >
- {
- public:
- typedef _TVertex TVertex;
- typedef _TValue TValue;
- typedef LightBaseVertexFunction< _TVertex > Superclass;
- typedef BaseVertexFunction Self;
- typedef itk::SmartPointer< Self > Pointer;
- typedef itk::SmartPointer< const Self > ConstPointer;
-
- public:
- itkTypeMacro(
- fpa::Functors::RegionGrow::BaseVertexFunction,
- fpa::Functors::RegionGrow::LightBaseVertexFunction
- );
-
- public:
- virtual TValue Evaluate(
- const TVertex& vertex, const TVertex& parent
- ) const = 0;
-
- protected:
- BaseVertexFunction( )
- : Superclass( )
- {
- }
-
- virtual ~BaseVertexFunction( )
- {
- }
-
- private:
- // Purposely not implemented.
- BaseVertexFunction( const Self& other );
- Self& operator=( const Self& other );
- };
-