18 #ifndef __itkTransformToDeformationFieldSource_h
19 #define __itkTransformToDeformationFieldSource_h
24 #ifndef ITKV3_COMPATIBILITY
25 #error "This file is only valid when ITKV3_COMPATIBILITY is turned on. Users are encouraged to convert to itkTransformToDisplacementFieldSource.h in ITKv4"
62 template<
class TOutputImage,
63 class TTransformPrecisionType =
double >
86 itkStaticConstMacro(ImageDimension,
unsigned int,
87 TOutputImage::ImageDimension);
90 typedef Transform< TTransformPrecisionType,
91 itkGetStaticConstMacro(ImageDimension),
97 typedef typename OutputImageType::PixelType
PixelType;
123 virtual void SetOutputSize(
const SizeType & size);
126 virtual const SizeType & GetOutputSize();
130 virtual void SetOutputIndex(
const IndexType & index);
133 virtual const IndexType & GetOutputIndex();
143 virtual void SetOutputSpacing(
const double *values);
147 itkGetConstReferenceMacro(OutputSpacing,
SpacingType);
151 virtual void SetOutputOrigin(
const double *values);
155 itkGetConstReferenceMacro(OutputOrigin,
OriginType);
163 void SetOutputParametersFromImage(
const ImageBaseType *image);
166 virtual void GenerateOutputInformation(
void);
169 virtual void BeforeThreadedGenerateData(
void);
172 unsigned long GetMTime(
void)
const;
174 #ifdef ITK_USE_CONCEPT_CHECKING
176 itkStaticConstMacro(PixelDimension,
unsigned int,
177 PixelType::Dimension);
188 void PrintSelf(std::ostream & os,
Indent indent)
const;
193 void ThreadedGenerateData(
194 const OutputImageRegionType & outputRegionForThread,
200 void NonlinearThreadedGenerateData(
201 const OutputImageRegionType & outputRegionForThread,
207 void LinearThreadedGenerateData(
208 const OutputImageRegionType & outputRegionForThread,
214 void operator=(
const Self &);
226 #ifndef ITK_MANUAL_INSTANTIATION
227 #include "itkTransformToDeformationFieldSource.hxx"
230 #endif // end #ifndef __itkTransformToDeformationFieldSource_h