18 #ifndef itkChangeInformationImageFilter_h
19 #define itkChangeInformationImageFilter_h
48 template <
typename TInputImage>
90 static constexpr
unsigned int ImageDimension = InputImageType::ImageDimension;
105 if (image != m_ReferenceImage)
107 m_ReferenceImage = image;
114 itkGetModifiableObjectMacro(ReferenceImage, TInputImage);
116 itkSetMacro(UseReferenceImage,
bool);
117 itkBooleanMacro(UseReferenceImage);
118 itkGetConstMacro(UseReferenceImage,
bool);
123 itkSetMacro(OutputSpacing, SpacingType);
124 itkGetConstReferenceMacro(OutputSpacing, SpacingType);
131 itkGetConstReferenceMacro(OutputOrigin,
PointType);
149 itkSetMacro(OutputOffset, OutputImageOffsetType);
150 itkGetConstReferenceMacro(OutputOffset, OutputImageOffsetType);
151 itkSetVectorMacro(OutputOffset, OutputImageOffsetValueType, ImageDimension);
158 this->ChangeSpacingOn();
159 this->ChangeOriginOn();
160 this->ChangeDirectionOn();
161 this->ChangeRegionOn();
170 this->ChangeSpacingOff();
171 this->ChangeOriginOff();
172 this->ChangeDirectionOff();
173 this->ChangeRegionOff();
183 itkSetMacro(ChangeSpacing,
bool);
184 itkBooleanMacro(ChangeSpacing);
185 itkGetConstMacro(ChangeSpacing,
bool);
193 itkSetMacro(ChangeOrigin,
bool);
194 itkBooleanMacro(ChangeOrigin);
195 itkGetConstMacro(ChangeOrigin,
bool);
203 itkSetMacro(ChangeDirection,
bool);
204 itkBooleanMacro(ChangeDirection);
205 itkGetConstMacro(ChangeDirection,
bool);
209 itkSetMacro(ChangeRegion,
bool);
210 itkBooleanMacro(ChangeRegion);
211 itkGetConstMacro(ChangeRegion,
bool);
216 itkSetMacro(CenterImage,
bool);
217 itkBooleanMacro(CenterImage);
218 itkGetConstMacro(CenterImage,
bool);
223 GenerateOutputInformation()
override;
227 GenerateInputRequestedRegion()
override;
231 GenerateData()
override;
238 PrintSelf(std::ostream & os,
Indent indent)
const override;
268 #ifndef ITK_MANUAL_INSTANTIATION
269 # include "itkChangeInformationImageFilter.hxx"