18 #ifndef __itkTransformToDisplacementFieldSource_h
19 #define __itkTransformToDisplacementFieldSource_h
54 template<
class TOutputImage,
55 class TTransformPrecisionType =
double >
78 itkStaticConstMacro(ImageDimension,
unsigned int,
79 TOutputImage::ImageDimension);
82 typedef Transform< TTransformPrecisionType,
83 itkGetStaticConstMacro(ImageDimension),
89 typedef typename OutputImageType::PixelType
PixelType;
92 typedef typename RegionType::SizeType
SizeType;
93 typedef typename OutputImageType::IndexType
IndexType;
94 typedef typename OutputImageType::PointType
PointType;
114 virtual void SetOutputSize(
const SizeType & size);
117 virtual const SizeType & GetOutputSize();
121 virtual void SetOutputIndex(
const IndexType & index);
124 virtual const IndexType & GetOutputIndex();
134 virtual void SetOutputSpacing(
const double *values);
138 itkGetConstReferenceMacro(OutputSpacing,
SpacingType);
142 virtual void SetOutputOrigin(
const double *values);
146 itkGetConstReferenceMacro(OutputOrigin,
OriginType);
154 void SetOutputParametersFromImage(
const ImageBaseType *image);
157 virtual void GenerateOutputInformation(
void);
160 virtual void BeforeThreadedGenerateData(
void);
165 #ifdef ITK_USE_CONCEPT_CHECKING
167 itkStaticConstMacro(PixelDimension,
unsigned int,
168 PixelType::Dimension);
179 void PrintSelf(std::ostream & os,
Indent indent)
const;
184 void ThreadedGenerateData(
185 const OutputImageRegionType & outputRegionForThread,
191 void NonlinearThreadedGenerateData(
192 const OutputImageRegionType & outputRegionForThread,
198 void LinearThreadedGenerateData(
199 const OutputImageRegionType & outputRegionForThread,
205 void operator=(
const Self &);
217 #ifndef ITK_MANUAL_INSTANTIATION
218 #include "itkTransformToDisplacementFieldSource.hxx"
221 #endif // end #ifndef __itkTransformToDisplacementFieldSource_h