18#ifndef itkChangeInformationImageFilter_h
19#define itkChangeInformationImageFilter_h
48template <
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);
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);
252 bool m_CenterImage{
false };
253 bool m_ChangeSpacing{
false };
254 bool m_ChangeOrigin{
false };
255 bool m_ChangeDirection{
false };
256 bool m_ChangeRegion{
false };
257 bool m_UseReferenceImage{
false };
268#ifndef ITK_MANUAL_INSTANTIATION
269# include "itkChangeInformationImageFilter.hxx"
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
virtual void SetNthInput(DataObjectPointerArraySizeType idx, DataObject *input)
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::DirectionType DirectionType
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::PointType PointType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....