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);
184 itkGetModifiableObjectMacro(Interpolator, InterpolatorType);
188 itkSetMacro(OutputSpacing, SpacingType);
189 virtual void SetOutputSpacing(
const double *values);
193 itkGetConstReferenceMacro(OutputSpacing, SpacingType);
196 itkSetMacro(OutputOrigin, PointType);
197 virtual void SetOutputOrigin(
const double *values);
201 itkGetConstReferenceMacro(OutputOrigin, PointType);
204 itkSetMacro(OutputDirection, DirectionType);
205 itkGetConstReferenceMacro(OutputDirection, DirectionType);
209 itkSetMacro(EdgePaddingValue, PixelType);
212 itkGetConstMacro(EdgePaddingValue, PixelType);
219 virtual void GenerateOutputInformation();
227 virtual void GenerateInputRequestedRegion();
231 virtual void BeforeThreadedGenerateData();
233 #ifdef ITK_USE_CONCEPT_CHECKING
236 ( Concept::HasNumericTraits< typename TInputImage::PixelType::ValueType > ) );
238 ( Concept::HasNumericTraits< ValueType > ) );
240 ( Concept::HasNumericTraits< typename TDisplacementField::PixelType::ValueType > ) );
246 WarpVectorImageFilter();
248 void PrintSelf(std::ostream & os,
Indent indent)
const;
253 void ThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread,
258 void operator=(
const Self &);
269 #ifndef ITK_MANUAL_INSTANTIATION
270 #include "itkWarpVectorImageFilter.hxx"