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;
115 virtual void SetOutputSize(
const SizeType & size);
118 virtual const SizeType & GetOutputSize();
122 virtual void SetOutputIndex(
const IndexType & index);
125 virtual const IndexType & GetOutputIndex();
135 virtual void SetOutputSpacing(
const double *values);
139 itkGetConstReferenceMacro(OutputSpacing,
SpacingType);
143 virtual void SetOutputOrigin(
const double *values);
147 itkGetConstReferenceMacro(OutputOrigin,
OriginType);
155 void SetOutputParametersFromImage(
const ImageBaseType *image);
158 virtual void GenerateOutputInformation(
void);
161 virtual void BeforeThreadedGenerateData(
void);
164 unsigned long GetMTime(
void)
const;
166 #ifdef ITK_USE_CONCEPT_CHECKING
168 itkStaticConstMacro(PixelDimension,
unsigned int,
169 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