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<
typename TOutputImage,
63 typename 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();
169 virtual void BeforeThreadedGenerateData();
174 #ifdef ITK_USE_CONCEPT_CHECKING
176 itkStaticConstMacro(PixelDimension,
unsigned int,
177 PixelType::Dimension);
192 void ThreadedGenerateData(
193 const OutputImageRegionType & outputRegionForThread,
199 void NonlinearThreadedGenerateData(
200 const OutputImageRegionType & outputRegionForThread,
206 void LinearThreadedGenerateData(
207 const OutputImageRegionType & outputRegionForThread,
224 #ifndef ITK_MANUAL_INSTANTIATION
225 #include "itkTransformToDeformationFieldSource.hxx"
228 #endif // end #ifndef itkTransformToDeformationFieldSource_h
virtual void PrintSelf(std::ostream &os, Indent indent) const override
unsigned long ModifiedTimeType
Base class for all process objects that output image data.
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
unsigned int ThreadIdType
Base class for templated image classes.
OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
#define itkConceptMacro(name, concept)