18 #ifndef __itkImageBoundaryCondition_h
19 #define __itkImageBoundaryCondition_h
51 template<
class TInputImage,
class TOutputImage = TInputImage >
57 itkStaticConstMacro(ImageDimension,
unsigned int,
58 TInputImage::ImageDimension);
78 typedef typename TInputImage::NeighborhoodAccessorFunctorType
85 virtual const char * GetNameOfClass()
const
87 return "itkImageBoundaryCondition";
91 virtual void Print( std::ostream & os,
Indent i = 0 )
const
93 os << i << this->GetNameOfClass() <<
" (" <<
this <<
")" << std::endl;
100 virtual OutputPixelType operator()(
const OffsetType & point_index,
101 const OffsetType & boundary_offset,
102 const NeighborhoodType *data)
const = 0;
106 virtual OutputPixelType operator()(
107 const OffsetType & point_index,
108 const OffsetType & boundary_offset,
109 const NeighborhoodType *data,
110 const NeighborhoodAccessorFunctorType & neighborhoodAccessorFunctor)
const = 0;
132 const RegionType & outputRequestedRegion )
const
134 (void) outputRequestedRegion;
135 return inputLargestPossibleRegion;
147 virtual OutputPixelType GetPixel(
const IndexType & index,
148 const TInputImage * image )
const = 0;