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);
166 #ifdef ITK_USE_CONCEPT_CHECKING
168 itkStaticConstMacro(PixelDimension,
unsigned int,
169 PixelType::Dimension);
180 void PrintSelf(std::ostream & os,
Indent indent)
const;
185 void ThreadedGenerateData(
186 const OutputImageRegionType & outputRegionForThread,
192 void NonlinearThreadedGenerateData(
193 const OutputImageRegionType & outputRegionForThread,
199 void LinearThreadedGenerateData(
200 const OutputImageRegionType & outputRegionForThread,
206 void operator=(
const Self &);
218 #ifndef ITK_MANUAL_INSTANTIATION
219 #include "itkTransformToDisplacementFieldSource.hxx"
222 #endif // end #ifndef __itkTransformToDisplacementFieldSource_h