ITK  6.0.0
Insight Toolkit
itkTransformGeometryImageFilter.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 
19 #ifndef itkTransformGeometryImageFilter_h
20 #define itkTransformGeometryImageFilter_h
21 
22 #include "itkInPlaceImageFilter.h"
24 #include "itkDataObjectDecorator.h"
25 
26 namespace itk
27 {
100 template <typename TInputImage, typename TOutputImage>
101 class ITK_TEMPLATE_EXPORT TransformGeometryImageFilter : public InPlaceImageFilter<TInputImage, TOutputImage>
102 {
103 public:
104  ITK_DISALLOW_COPY_AND_MOVE(TransformGeometryImageFilter);
105 
111 
113  itkNewMacro(Self);
114 
116  itkOverrideGetNameOfClassMacro(TransformGeometryImageFilter);
117 
119  using InputImageType = TInputImage;
122  using InputImagePixelType = typename InputImageType::PixelType;
124 
125  using OutputImageType = TOutputImage;
128  using OutputImagePixelType = typename OutputImageType::PixelType;
129 
131  static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
132  static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
133 
134 #ifdef ITK_USE_CONCEPT_CHECKING
137 #endif
138 
142 
144  itkSetGetDecoratedObjectInputMacro(Transform, TransformType);
145 
147  itkSetInputMacro(InputImage, InputImageType);
148  itkGetInputMacro(InputImage, InputImageType);
151 protected:
153  ~TransformGeometryImageFilter() override = default;
154 
155  void
156  GenerateOutputInformation() override;
157 
158  void
159  VerifyPreconditions() const override;
160 
161  void
162  GenerateData() override;
163 };
164 } // end namespace itk
165 
166 #ifndef ITK_MANUAL_INSTANTIATION
167 # include "itkTransformGeometryImageFilter.hxx"
168 #endif
169 
170 #endif
Pointer
SmartPointer< Self > Pointer
Definition: itkAddImageFilter.h:93
ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkAddImageFilter.h:94
itk::ImageSource::OutputImagePointer
typename OutputImageType::Pointer OutputImagePointer
Definition: itkImageSource.h:91
itk::TransformGeometryImageFilter::InputImagePointType
typename InputImageType::PointType InputImagePointType
Definition: itkTransformGeometryImageFilter.h:123
itk::InPlaceImageFilter
Base class for filters that take an image as input and overwrite that image as the output.
Definition: itkInPlaceImageFilter.h:77
itk::GTest::TypedefsAndConstructors::Dimension2::PointType
ImageBaseType::PointType PointType
Definition: itkGTestTypedefsAndConstructors.h:51
itk::SmartPointer< Self >
itk::Concept::SameDimension
Definition: itkConceptChecking.h:696
itk::ImageToImageFilter::InputImagePixelType
typename InputImageType::PixelType InputImagePixelType
Definition: itkImageToImageFilter.h:133
itk::ImageSource
Base class for all process objects that output image data.
Definition: itkImageSource.h:67
itk::TransformGeometryImageFilter
Modify an image's geometric meta-data, changing its "physical" extent.
Definition: itkTransformGeometryImageFilter.h:101
itk::ImageToImageFilter::InputImagePointer
typename InputImageType::Pointer InputImagePointer
Definition: itkImageToImageFilter.h:130
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itkDataObjectDecorator.h
itkVersorRigid3DTransform.h
itk::ImageToImageFilter::InputImageType
TInputImage InputImageType
Definition: itkImageToImageFilter.h:129
itk::TransformGeometryImageFilter::TransformConstPointer
typename TransformType::ConstPointer TransformConstPointer
Definition: itkTransformGeometryImageFilter.h:141
itk::ImageSource::OutputImageRegionType
typename OutputImageType::RegionType OutputImageRegionType
Definition: itkImageSource.h:92
itkConceptMacro
#define itkConceptMacro(name, concept)
Definition: itkConceptChecking.h:65
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itkInPlaceImageFilter.h
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition: itkProcessObject.h:139
itk::ImageSource::OutputImagePixelType
typename OutputImageType::PixelType OutputImagePixelType
Definition: itkImageSource.h:93
itk::Concept::Convertible
Definition: itkConceptChecking.h:216
itk::Transform
Transform points and vectors from an input space to an output space.
Definition: itkTransform.h:83
itk::ImageToImageFilter::InputImageRegionType
typename InputImageType::RegionType InputImageRegionType
Definition: itkImageToImageFilter.h:132
itk::ImageSource::OutputImageType
TOutputImage OutputImageType
Definition: itkImageSource.h:90