18 #ifndef itkChangeInformationImageFilter_h
19 #define itkChangeInformationImageFilter_h
48 template<
typename TInputImage >
89 itkStaticConstMacro(ImageDimension,
unsigned int,
90 InputImageType::ImageDimension);
104 if ( image != m_ReferenceImage )
106 m_ReferenceImage = image;
113 itkGetModifiableObjectMacro(ReferenceImage, TInputImage);
115 itkSetMacro(UseReferenceImage,
bool);
116 itkBooleanMacro(UseReferenceImage);
117 itkGetConstMacro(UseReferenceImage,
bool);
122 itkSetMacro(OutputSpacing, SpacingType);
123 itkGetConstReferenceMacro(OutputSpacing, SpacingType);
130 itkGetConstReferenceMacro(OutputOrigin,
PointType);
148 itkSetMacro(OutputOffset, OutputImageOffsetType);
149 itkGetConstReferenceMacro(OutputOffset, OutputImageOffsetType);
150 itkSetVectorMacro(OutputOffset, OutputImageOffsetValueType, ImageDimension);
156 this->ChangeSpacingOn();
157 this->ChangeOriginOn();
158 this->ChangeDirectionOn();
159 this->ChangeRegionOn();
167 this->ChangeSpacingOff();
168 this->ChangeOriginOff();
169 this->ChangeDirectionOff();
170 this->ChangeRegionOff();
180 itkSetMacro(ChangeSpacing,
bool);
181 itkBooleanMacro(ChangeSpacing);
182 itkGetConstMacro(ChangeSpacing,
bool);
190 itkSetMacro(ChangeOrigin,
bool);
191 itkBooleanMacro(ChangeOrigin);
192 itkGetConstMacro(ChangeOrigin,
bool);
200 itkSetMacro(ChangeDirection,
bool);
201 itkBooleanMacro(ChangeDirection);
202 itkGetConstMacro(ChangeDirection,
bool);
206 itkSetMacro(ChangeRegion,
bool);
207 itkBooleanMacro(ChangeRegion);
208 itkGetConstMacro(ChangeRegion,
bool);
213 itkSetMacro(CenterImage,
bool);
214 itkBooleanMacro(CenterImage);
215 itkGetConstMacro(CenterImage,
bool);
219 virtual void GenerateOutputInformation() ITK_OVERRIDE;
222 virtual
void GenerateInputRequestedRegion() ITK_OVERRIDE;
225 void GenerateData() ITK_OVERRIDE;
231 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
238 virtual
void VerifyInputInformation() ITK_OVERRIDE {}
261 #ifndef ITK_MANUAL_INSTANTIATION
262 #include "itkChangeInformationImageFilter.hxx"
Light weight base class for most itk classes.
signed long OffsetValueType
ImageBaseType::DirectionType DirectionType
ImageBaseType::PointType PointType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
ImageBaseType::IndexType IndexType