ITK  4.4.0
Insight Segmentation and Registration Toolkit
itkZeroFluxNeumannPadImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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  * http://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 
60 template< class TInputImage, class TOutputImage >
62  public PadImageFilter< TInputImage, TOutputImage >
63 {
64 public:
70 
72  itkNewMacro(Self);
73 
76 
78  typedef typename Superclass::OutputImageRegionType OutputImageRegionType;
79  typedef typename Superclass::InputImageRegionType InputImageRegionType;
80  typedef typename Superclass::InputImageRegionType RegionType;
81 
83  typedef typename Superclass::OutputImagePixelType OutputImagePixelType;
84  typedef typename Superclass::InputImagePixelType InputImagePixelType;
85 
87  typedef typename Superclass::OutputImageIndexType OutputImageIndexType;
88  typedef typename Superclass::InputImageIndexType InputImageIndexType;
89  typedef typename Superclass::OutputImageSizeType OutputImageSizeType;
90  typedef typename Superclass::InputImageSizeType InputImageSizeType;
91  typedef typename Superclass::InputImageIndexType IndexType;
92  typedef typename Superclass::InputImageSizeType SizeType;
93 
95  itkStaticConstMacro(ImageDimension, unsigned int,
96  TInputImage::ImageDimension);
97  itkStaticConstMacro(OutputImageDimension, unsigned int,
98  TOutputImage::ImageDimension);
100 
101 #ifdef ITK_USE_CONCEPT_CHECKING
102 
103  itkConceptMacro(OutputEqualityComparableCheck,
105  itkConceptMacro(InputConvertibleToOutputCheck,
107  itkConceptMacro(SameDimensionCheck,
109  itkConceptMacro(OutputOStreamWritableCheck,
111 
113 #endif
114 
115 protected:
118 
119 private:
120  ZeroFluxNeumannPadImageFilter(const Self&); //purposely not implemented
121  void operator=(const Self&); //purposely not implemented
122 
124 };
125 } // end namespace itk
126 
127 #ifndef ITK_MANUAL_INSTANTIATION
128 #include "itkZeroFluxNeumannPadImageFilter.hxx"
129 #endif
130 
131 #endif
132