ITK  4.2.0
Insight Segmentation and Registration Toolkit
itkWrapPadImageFilter.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 __itkWrapPadImageFilter_h
19 #define __itkWrapPadImageFilter_h
20 
21 #include "itkPadImageFilter.h"
22 
24 
25 namespace itk
26 {
52 template< class TInputImage, class TOutputImage >
53 class ITK_EXPORT WrapPadImageFilter:
54  public PadImageFilter< TInputImage, TOutputImage >
55 {
56 public:
62 
64  itkNewMacro(Self);
65 
68 
69  typedef typename Superclass::InputImageType InputImageType;
70  typedef typename Superclass::OutputImageType OutputImageType;
71  typedef typename Superclass::InputImagePointer InputImagePointer;
72  typedef typename Superclass::OutputImagePointer OutputImagePointer;
73  typedef typename Superclass::InputImageConstPointer InputImageConstPointer;
74 
76  typedef typename Superclass::OutputImageRegionType OutputImageRegionType;
77  typedef typename Superclass::InputImageRegionType InputImageRegionType;
78 
80  typedef typename Superclass::OutputImagePixelType OutputImagePixelType;
81  typedef typename Superclass::InputImagePixelType InputImagePixelType;
82 
84  typedef typename Superclass::OutputImageIndexType OutputImageIndexType;
85  typedef typename Superclass::InputImageIndexType InputImageIndexType;
86  typedef typename Superclass::OutputImageSizeType OutputImageSizeType;
87  typedef typename Superclass::InputImageSizeType InputImageSizeType;
88 
90  itkStaticConstMacro(ImageDimension, unsigned int,
91  TInputImage::ImageDimension);
92 
93 #ifdef ITK_USE_CONCEPT_CHECKING
94 
95  itkConceptMacro( InputConvertibleToOutputCheck,
97 
99 #endif
100 protected:
103 
104 private:
105  WrapPadImageFilter(const Self &); //purposely not implemented
106  void operator=(const Self &); //purposely not implemented
107 
109 };
110 } // end namespace itk
111 
112 #ifndef ITK_MANUAL_INSTANTIATION
113 #include "itkWrapPadImageFilter.hxx"
114 #endif
115 
116 #endif
117