ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
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;
120 using InputImagePointer = typename InputImageType::Pointer;
121 using InputImageRegionType = typename InputImageType::RegionType;
122 using InputImagePixelType = typename InputImageType::PixelType;
123 using InputImagePointType = typename InputImageType::PointType;
124
125 using OutputImageType = TOutputImage;
126 using OutputImagePointer = typename OutputImageType::Pointer;
127 using OutputImageRegionType = typename OutputImageType::RegionType;
128 using OutputImagePixelType = typename OutputImageType::PixelType;
129
131 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
132 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
133
136
140
142 itkSetGetDecoratedObjectInputMacro(Transform, TransformType);
143
148
149protected:
151 ~TransformGeometryImageFilter() override = default;
152
153 void
155
156 void
157 VerifyPreconditions() const override;
158
159 void
160 GenerateData() override;
161};
162} // end namespace itk
163
164#ifndef ITK_MANUAL_INSTANTIATION
165# include "itkTransformGeometryImageFilter.hxx"
166#endif
167
168#endif
Implements transparent reference counting.
typename OutputImageType::Pointer OutputImagePointer
~TransformGeometryImageFilter() override=default
typename InputImageType::PointType InputImagePointType
typename InputImageType::RegionType InputImageRegionType
Transform< double, InputImageDimension, OutputImageDimension > TransformType
void VerifyPreconditions() const override
Verifies that the process object has been configured correctly, that all required inputs are set,...
typename OutputImageType::RegionType OutputImageRegionType
itkGetInputMacro(InputImage, InputImageType)
void GenerateOutputInformation() override
itkSetInputMacro(InputImage, InputImageType)
typename TransformType::ConstPointer TransformConstPointer
typename InputImageType::Pointer InputImagePointer
InPlaceImageFilter< TInputImage, TOutputImage > Superclass
typename InputImageType::PixelType InputImagePixelType
typename OutputImageType::PixelType OutputImagePixelType
Transform points and vectors from an input space to an output space.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....