ITK  6.0.0
Insight Toolkit
itkZeroFluxNeumannPadImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * https://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef itkZeroFluxNeumannPadImageFilter_h
19 #define itkZeroFluxNeumannPadImageFilter_h
20 
21 #include "itkPadImageFilter.h"
22 
24 
25 namespace itk
26 {
27 
61 template <typename TInputImage, typename TOutputImage>
62 class ITK_TEMPLATE_EXPORT ZeroFluxNeumannPadImageFilter : public PadImageFilter<TInputImage, TOutputImage>
63 {
64 public:
65  ITK_DISALLOW_COPY_AND_MOVE(ZeroFluxNeumannPadImageFilter);
66 
72 
74  itkNewMacro(Self);
75 
77  itkOverrideGetNameOfClassMacro(ZeroFluxNeumannPadImageFilter);
78 
80  using typename Superclass::OutputImageRegionType;
81  using typename Superclass::InputImageRegionType;
82  using RegionType = typename Superclass::InputImageRegionType;
83 
85  using typename Superclass::OutputImagePixelType;
86  using typename Superclass::InputImagePixelType;
87 
89  using typename Superclass::OutputImageIndexType;
90  using typename Superclass::InputImageIndexType;
91  using typename Superclass::OutputImageSizeType;
92  using typename Superclass::InputImageSizeType;
93  using IndexType = typename Superclass::InputImageIndexType;
94  using SizeType = typename Superclass::InputImageSizeType;
95 
97  static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
98  static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
99 
100 #ifdef ITK_USE_CONCEPT_CHECKING
101  // Begin concept checking
102  itkConceptMacro(OutputEqualityComparableCheck, (Concept::EqualityComparable<OutputImagePixelType>));
106  // End concept checking
107 #endif
108 
109 protected:
111  ~ZeroFluxNeumannPadImageFilter() override = default;
112 
113 private:
115 };
116 } // end namespace itk
117 
118 #ifndef ITK_MANUAL_INSTANTIATION
119 # include "itkZeroFluxNeumannPadImageFilter.hxx"
120 #endif
121 
122 #endif
itk::Concept::OStreamWritable
Definition: itkConceptChecking.h:638
itk::ZeroFluxNeumannPadImageFilter
Increase the image size by padding according to the zero-flux Neumann boundary condition.
Definition: itkZeroFluxNeumannPadImageFilter.h:62
itk::ZeroFluxNeumannPadImageFilter::IndexType
typename Superclass::InputImageIndexType IndexType
Definition: itkZeroFluxNeumannPadImageFilter.h:93
itk::SmartPointer< Self >
itk::Concept::SameDimension
Definition: itkConceptChecking.h:696
itk::ImageSource
Base class for all process objects that output image data.
Definition: itkImageSource.h:67
itk::PadImageFilter::SizeType
typename TInputImage::SizeType SizeType
Definition: itkPadImageFilter.h:75
itk::PadImageFilter
Increase the image size by padding. Superclass for filters that fill in extra pixels.
Definition: itkPadImageFilter.h:48
itkPadImageFilter.h
itkConceptMacro
#define itkConceptMacro(name, concept)
Definition: itkConceptChecking.h:65
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::ZeroFluxNeumannPadImageFilter::RegionType
typename Superclass::InputImageRegionType RegionType
Definition: itkZeroFluxNeumannPadImageFilter.h:82
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition: itkProcessObject.h:139
itk::Concept::Convertible
Definition: itkConceptChecking.h:216
itk::ZeroFluxNeumannBoundaryCondition
A function object that determines a neighborhood of values at an image boundary according to a Neuman...
Definition: itkZeroFluxNeumannBoundaryCondition.h:58
itkZeroFluxNeumannBoundaryCondition.h
itk::Concept::EqualityComparable
Definition: itkConceptChecking.h:306