18 #ifndef __itkConstantBoundaryCondition_h
19 #define __itkConstantBoundaryCondition_h
64 template<
class TInputImage,
class TOutputImage = TInputImage >
87 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
93 virtual const char * GetNameOfClass()
const
95 return "itkConstantBoundaryCondition";
99 virtual void Print( std::ostream & os,
Indent i = 0 )
const;
103 template <
class TPixel >
108 virtual OutputPixelType operator()(
const OffsetType &,
110 const NeighborhoodType *)
const;
114 virtual OutputPixelType operator()(
117 const NeighborhoodType *,
118 const NeighborhoodAccessorFunctorType &)
const;
121 void SetConstant(
const OutputPixelType & c);
124 const OutputPixelType & GetConstant()
const;
140 virtual RegionType GetInputRequestedRegion(
const RegionType & inputLargestPossibleRegion,
141 const RegionType & outputRequestedRegion )
const;
150 OutputPixelType GetPixel(
const IndexType & index,
const TInputImage * image )
const;
158 #include "itkConstantBoundaryCondition.hxx"