18 #ifndef __itkChangeInformationImageFilter_h
19 #define __itkChangeInformationImageFilter_h
48 template<
class TInputImage >
89 itkStaticConstMacro(ImageDimension,
unsigned int,
90 InputImageType::ImageDimension);
94 typedef typename InputImageType::PointType
PointType;
104 if ( image != m_ReferenceImage )
106 m_ReferenceImage = image;
113 itkGetObjectMacro(ReferenceImage, TInputImage);
115 itkSetMacro(UseReferenceImage,
bool);
116 itkBooleanMacro(UseReferenceImage);
117 itkGetConstMacro(UseReferenceImage,
bool);
122 itkSetMacro(OutputSpacing, SpacingType);
123 itkGetConstReferenceMacro(OutputSpacing, SpacingType);
129 itkSetMacro(OutputOrigin, PointType);
130 itkGetConstReferenceMacro(OutputOrigin, PointType);
136 itkSetMacro(OutputDirection, DirectionType);
137 itkGetConstReferenceMacro(OutputDirection, DirectionType);
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();
222 virtual void GenerateInputRequestedRegion();
231 void PrintSelf(std::ostream & os,
Indent indent)
const;
242 void operator=(
const Self &);
262 #ifndef ITK_MANUAL_INSTANTIATION
263 #include "itkChangeInformationImageFilter.hxx"