18 #ifndef itkConstantBoundaryCondition_h
19 #define itkConstantBoundaryCondition_h
64 template<
typename TInputImage,
typename TOutputImage = TInputImage >
95 return "itkConstantBoundaryCondition";
99 virtual void Print( std::ostream & os,
Indent i = 0 )
const;
103 template <
typename TPixel >
141 const RegionType & outputRequestedRegion )
const;
157 #ifndef ITK_MANUAL_INSTANTIATION
158 #include "itkConstantBoundaryCondition.hxx"
static const unsigned int ImageDimension
void SetConstant(const OutputPixelType &c)
ConstantBoundaryCondition()
Represent the offset between two n-dimensional indexes in a n-dimensional image.
Superclass::IndexType IndexType
virtual OutputPixelType operator()(const OffsetType &, const OffsetType &, const NeighborhoodType *) const
Superclass::PixelType PixelType
virtual const char * GetNameOfClass() const
A light-weight container object for storing an N-dimensional neighborhood of values.
Superclass::NeighborhoodAccessorFunctorType NeighborhoodAccessorFunctorType
Superclass::SizeType SizeType
This boundary condition returns a constant value for out-of-bounds image pixels.
An image region represents a structured region of data.
InputImageType::NeighborhoodAccessorFunctorType NeighborhoodAccessorFunctorType
Superclass::RegionType RegionType
InputImageType::PixelType PixelType
Represents an array whose length can be defined at run-time.
ImageBoundaryCondition< TInputImage, TOutputImage > Superclass
Superclass::PixelPointerType PixelPointerType
virtual void Print(std::ostream &os, Indent i=0) const
const OutputPixelType & GetConstant() const
OutputPixelType m_Constant
void Initialize(const VariableLengthVector< TPixel > *)
static const unsigned int ImageDimension
A virtual base object that defines an interface to a class of boundary condition objects for use by n...
Superclass::OutputPixelType OutputPixelType
Superclass::NeighborhoodType NeighborhoodType
bool RequiresCompleteNeighborhood()
ConstantBoundaryCondition Self
InputImageType::InternalPixelType * PixelPointerType
virtual RegionType GetInputRequestedRegion(const RegionType &inputLargestPossibleRegion, const RegionType &outputRequestedRegion) const
Control indentation during Print() invocation.
InputImageType::PixelType OutputPixelType
OutputPixelType GetPixel(const IndexType &index, const TInputImage *image) const
Superclass::OffsetType OffsetType