X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FImage%2FFunctors%2FVertexIdentity.h;fp=lib%2Ffpa%2FImage%2FFunctors%2FVertexIdentity.h;h=0000000000000000000000000000000000000000;hb=247e634a1320371673c4b03bc94195d04fb997f5;hp=716c2e7b9851cf183232ddb8466d4956b53f42c8;hpb=60785c9e18cab1a338f1ce54551e97a5ddfabac1;p=FrontAlgorithms.git diff --git a/lib/fpa/Image/Functors/VertexIdentity.h b/lib/fpa/Image/Functors/VertexIdentity.h deleted file mode 100644 index 716c2e7..0000000 --- a/lib/fpa/Image/Functors/VertexIdentity.h +++ /dev/null @@ -1,67 +0,0 @@ -// ========================================================================= -// @author Leonardo Florez Valencia -// @email florez-l@javeriana.edu.co -// ========================================================================= - -#ifndef __fpa__Image__Functors__VertexIdentity__h__ -#define __fpa__Image__Functors__VertexIdentity__h__ - -#include - -namespace fpa -{ - namespace Image - { - namespace Functors - { - /** - */ - template< class _TInputImage, class _TOutputValue > - class VertexIdentity - : public fpa::Image::Functors::VertexParentBase< _TInputImage, _TOutputValue > - { - public: - typedef _TInputImage TInputImage; - typedef _TOutputValue TOutputValue; - typedef VertexIdentity Self; - typedef itk::SmartPointer< Self > Pointer; - typedef itk::SmartPointer< const Self > ConstPointer; - typedef fpa::Image::Functors::VertexParentBase< TInputImage, TOutputValue > Superclass; - - typedef typename Superclass::TVertex TVertex; - - public: - itkNewMacro( Self ); - itkTypeMacro( - fpa::Image::Functors::VertexIdentity, - fpa::Image::Functors::VertexParentBase - ); - - public: - virtual TOutputValue Evaluate( - const TVertex& a, const TVertex& p - ) const override - { - return( TOutputValue( this->m_Image->GetPixel( a ) ) ); - } - - protected: - VertexIdentity( ) - : Superclass( ) - { } - virtual ~VertexIdentity( ) { } - - private: - VertexIdentity( const Self& other ); - Self& operator=( const Self& other ); - }; - - } // ecapseman - - } // ecapseman - -} // ecapseman - -#endif // __fpa__Image__Functors__VertexIdentity__h__ - -// eof - $RCSfile$