18 #ifndef __itkWarpVectorImageFilter_h
19 #define __itkWarpVectorImageFilter_h
90 class TDisplacementField
119 typedef typename OutputImageType::SizeType
SizeType;
122 typedef typename OutputImageType::PixelType::ValueType
ValueType;
125 itkStaticConstMacro(ImageDimension,
unsigned int,
126 TOutputImage::ImageDimension);
129 itkStaticConstMacro(PixelDimension,
unsigned int,
130 PixelType::Dimension);
137 #ifdef ITKV3_COMPATIBILITY
138 typedef TDisplacementField DeformationFieldType;
139 typedef typename DeformationFieldType::Pointer DeformationFieldPointer;
140 typedef typename DeformationFieldType::PixelType DeformationType;
165 #ifdef ITKV3_COMPATIBILITY
166 void SetDeformationField(
const DeformationFieldType *field)
168 this->SetDisplacementField(field);
171 void SetDeformationField(DeformationFieldType *field)
173 this->SetDisplacementField(field);
176 DeformationFieldType * GetDeformationField(
void)
178 return static_cast<DeformationFieldType *
> (GetDisplacementField());
183 itkSetObjectMacro(Interpolator, InterpolatorType);
186 itkGetObjectMacro(Interpolator, InterpolatorType);
189 itkSetMacro(OutputSpacing, SpacingType);
190 virtual void SetOutputSpacing(
const double *values);
194 itkGetConstReferenceMacro(OutputSpacing, SpacingType);
197 itkSetMacro(OutputOrigin, PointType);
198 virtual void SetOutputOrigin(
const double *values);
202 itkGetConstReferenceMacro(OutputOrigin, PointType);
205 itkSetMacro(OutputDirection, DirectionType);
206 itkGetConstReferenceMacro(OutputDirection, DirectionType);
210 itkSetMacro(EdgePaddingValue, PixelType);
213 itkGetConstMacro(EdgePaddingValue, PixelType);
220 virtual void GenerateOutputInformation();
228 virtual void GenerateInputRequestedRegion();
232 virtual void BeforeThreadedGenerateData();
234 #ifdef ITK_USE_CONCEPT_CHECKING
237 ( Concept::HasNumericTraits< typename TInputImage::PixelType::ValueType > ) );
239 ( Concept::HasNumericTraits< ValueType > ) );
241 ( Concept::HasNumericTraits< typename TDisplacementField::PixelType::ValueType > ) );
246 WarpVectorImageFilter();
248 void PrintSelf(std::ostream & os,
Indent indent)
const;
254 void ThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread,
259 void operator=(
const Self &);
270 #ifndef ITK_MANUAL_INSTANTIATION
271 #include "itkWarpVectorImageFilter.hxx"