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
25
26namespace itk
27{
100template <typename TInputImage, typename TOutputImage>
101class ITK_TEMPLATE_EXPORT TransformGeometryImageFilter : public InPlaceImageFilter<TInputImage, TOutputImage>
102{
103public:
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
151protected:
153 ~TransformGeometryImageFilter() override = default;
154
155 void
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
Base class for all process objects that output image data.
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
typename InputImageType::Pointer InputImagePointer
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::RegionType InputImageRegionType
Base class for filters that take an image as input and overwrite that image as the output.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Modify an image's geometric meta-data, changing its "physical" extent.
~TransformGeometryImageFilter() override=default
typename InputImageType::PointType InputImagePointType
void VerifyPreconditions() const override
Verifies that the process object has been configured correctly, that all required inputs are set,...
itkGetInputMacro(InputImage, InputImageType)
void GenerateOutputInformation() override
itkSetInputMacro(InputImage, InputImageType)
typename TransformType::ConstPointer TransformConstPointer
Transform points and vectors from an input space to an output space.
Definition: itkTransform.h:84
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....