// ========================================================================= // @author Leonardo Florez Valencia // @email florez-l@javeriana.edu.co // ========================================================================= #ifndef __fpa__Image__DefaultTraits__h__ #define __fpa__Image__DefaultTraits__h__ #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 typename TSeedsInterface::TNode TNode; typedef typename TSeedsInterface::TNodes TNodes; typedef typename TSeedsInterface::TSeed TSeed; typedef typename TSeedsInterface::TSeeds TSeeds; private: itkConceptMacro( Check_SameDimension, ( itk::Concept::SameDimension< Self::Dimension, 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$