X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FImage%2FFunctors%2FSimpleNeighborhood.h;h=1fd854757003c21efe03231c5d230429c2785b1d;hb=a7f37699808cd8cd56110607b03b84288628a690;hp=30745990c7c9d7ab0802db8f17c25cdbbc28df6f;hpb=b9128432da0c510bb4ac9a165cc84c065b5e34e8;p=FrontAlgorithms.git diff --git a/lib/fpa/Image/Functors/SimpleNeighborhood.h b/lib/fpa/Image/Functors/SimpleNeighborhood.h index 3074599..1fd8547 100644 --- a/lib/fpa/Image/Functors/SimpleNeighborhood.h +++ b/lib/fpa/Image/Functors/SimpleNeighborhood.h @@ -20,6 +20,7 @@ namespace fpa public: typedef _TImage TImage; typedef typename TImage::IndexType TIndex; + typedef typename TIndex::OffsetType TOffset; typedef std::vector< TIndex > TOutput; typedef itk::FunctionBase< TIndex, TOutput > TBaseFunctor; typedef fpa::Image::Functors::Base< TImage, TBaseFunctor > Superclass; @@ -41,6 +42,9 @@ namespace fpa SimpleNeighborhood( ); virtual ~SimpleNeighborhood( ); + void _1stCombination( ) const; + void _2ndCombination( ) const; + private: // Purposely not implemented SimpleNeighborhood( const Self& other ); @@ -48,6 +52,7 @@ namespace fpa protected: unsigned int m_Order; + mutable std::vector< TOffset > m_Offsets; }; } // ecapseman