1 // =========================================================================
2 // @author Leonardo Florez Valencia
3 // @email florez-l@javeriana.edu.co
4 // =========================================================================
6 #ifndef __fpa__Image__Functors__VertexParentBase__h__
7 #define __fpa__Image__Functors__VertexParentBase__h__
9 #include <fpa/Base/Functors/VertexParentBase.h>
19 template< class _TInputImage, class _TOutputValue >
20 class VertexParentBase
21 : public fpa::Base::Functors::VertexParentBase< typename _TInputImage::IndexType, _TOutputValue >
24 typedef _TInputImage TInputImage;
25 typedef _TOutputValue TOutputValue;
26 typedef typename TInputImage::IndexType TVertex;
27 typedef VertexParentBase Self;
28 typedef itk::SmartPointer< Self > Pointer;
29 typedef itk::SmartPointer< const Self > ConstPointer;
30 typedef fpa::Base::Functors::VertexParentBase< TVertex, TOutputValue > Superclass;
34 fpa::Image::Functors::VertexParentBase,
35 fpa::Base::Functors::VertexParentBase
38 itkGetConstObjectMacro( Image, TInputImage );
39 itkSetConstObjectMacro( Image, TInputImage );
45 virtual ~VertexParentBase( ) { }
48 VertexParentBase( const Self& other );
49 Self& operator=( const Self& other );
52 typename TInputImage::ConstPointer m_Image;
61 #endif // __fpa__Image__Functors__VertexParentBase__h__