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;
itkSetMacro( Order, unsigned int );
public:
- virtual TOutput Evaluate( const TIndex& center ) const fpa_OVERRIDE;
+ virtual TOutput Evaluate( const TIndex& center ) const override;
protected:
SimpleNeighborhood( );
virtual ~SimpleNeighborhood( );
+ void _1stCombination( ) const;
+ void _2ndCombination( ) const;
+
private:
// Purposely not implemented
SimpleNeighborhood( const Self& other );
protected:
unsigned int m_Order;
+ mutable std::vector< TOffset > m_Offsets;
};
} // ecapseman