18 #ifndef __itkPeriodicBoundaryCondition_h
19 #define __itkPeriodicBoundaryCondition_h
37 template<
class TInputImage,
class TOutputImage = TInputImage >
60 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
66 virtual const char * GetNameOfClass()
const
68 return "itkPeriodicBoundaryCondition";
73 virtual OutputPixelType operator()(
const OffsetType & point_index,
74 const OffsetType & boundary_offset,
75 const NeighborhoodType *data)
const;
79 virtual OutputPixelType operator()(
80 const OffsetType & point_index,
81 const OffsetType & boundary_offset,
82 const NeighborhoodType *data,
83 const NeighborhoodAccessorFunctorType & neighborhoodAccessorFunctor)
const;
98 virtual RegionType GetInputRequestedRegion(
const RegionType & inputLargestPossibleRegion,
99 const RegionType & outputRequestedRegion )
const;
109 OutputPixelType GetPixel(
const IndexType & index,
const TInputImage * image )
const;
115 #define ITK_TEMPLATE_PeriodicBoundaryCondition(_, EXPORT, TypeX, TypeY) \
118 _( 1 ( class EXPORT PeriodicBoundaryCondition< ITK_TEMPLATE_1 TypeX > ) ) \
119 namespace Templates \
121 typedef PeriodicBoundaryCondition< ITK_TEMPLATE_1 TypeX > \
122 PeriodicBoundaryCondition##TypeY; \
126 #if ITK_TEMPLATE_EXPLICIT
127 #include "Templates/itkPeriodicBoundaryCondition+-.h"
131 #include "itkPeriodicBoundaryCondition.hxx"