X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FImage%2FDefaultTraits.h;fp=lib%2Ffpa%2FImage%2FDefaultTraits.h;h=0000000000000000000000000000000000000000;hb=3c639e5da479c7216a0a302ffa156ac6762caeed;hp=c2b829530d9915e369c4a5184ea179b980750750;hpb=5bf766068f54d061d3816f4950a076c3cf3a4d8b;p=FrontAlgorithms.git diff --git a/lib/fpa/Image/DefaultTraits.h b/lib/fpa/Image/DefaultTraits.h deleted file mode 100644 index c2b8295..0000000 --- a/lib/fpa/Image/DefaultTraits.h +++ /dev/null @@ -1,69 +0,0 @@ -// ========================================================================= -// @author Leonardo Florez Valencia -// @email florez-l@javeriana.edu.co -// ========================================================================= - -#ifndef __fpa__Image__DefaultTraits__h__ -#define __fpa__Image__DefaultTraits__h__ - -#include -#include -#include - -#include -#include - -namespace fpa -{ - namespace Image - { - /** - */ - template< class _TInputImage, class _TOutputImage, class _TFrontId > - class DefaultTraits - { - public: - typedef DefaultTraits Self; - typedef _TInputImage TInputImage; - typedef _TOutputImage TOutputImage; - typedef _TFrontId TFrontId; - itkStaticConstMacro( Dimension, unsigned int, TInputImage::ImageDimension ); - - typedef typename TInputImage::IndexType TVertex; - typedef typename TInputImage::PixelType TInputValue; - typedef typename TInputImage::PointType TPoint; - typedef typename TOutputImage::PixelType TOutputValue; - typedef typename TVertex::LexicographicCompare TCompare; - - typedef std::vector< TVertex > TNeighborhood; - - typedef fpa::Base::SeedsInterface< TVertex, TPoint, TInputValue, TOutputValue, TFrontId, TCompare > TSeedsInterface; - typedef fpa::Base::MarksInterfaceWithCollisions< TVertex > TMarksInterface; - typedef itk::ImageToImageFilter< TInputImage, TOutputImage > TFilter; - - typedef typename TSeedsInterface::TNode TNode; - typedef typename TSeedsInterface::TNodes TNodes; - typedef typename TSeedsInterface::TSeed TSeed; - typedef typename TSeedsInterface::TSeeds TSeeds; - - public: - itkConceptMacro( - Check_SameDimension, - ( itk::Concept::SameDimension< TInputImage::ImageDimension, TOutputImage::ImageDimension > ) - ); - - private: - // Purposely not implemented. - DefaultTraits( ); - DefaultTraits( const Self& other ); - virtual ~DefaultTraits( ); - Self& operator=( const Self& other ); - }; - - } // ecapseman - -} // ecapseman - -#endif // __fpa__Image__DefaultTraits__h__ - -// eof - $RCSfile$