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 itk::TransformToDisplacementFieldSource 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() ITK_OVERRIDE;
169 virtual
void BeforeThreadedGenerateData() ITK_OVERRIDE;
174 #ifdef ITK_USE_CONCEPT_CHECKING
176 itkStaticConstMacro(PixelDimension,
unsigned int,
187 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
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
unsigned long ModifiedTimeType
Base class for all process objects that output image data.
ImageBaseType::DirectionType DirectionType
ImageBaseType::PointType PointType
const unsigned int Dimension
unsigned int ThreadIdType
Base class for templated image classes.
OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
#define itkConceptMacro(name, concept)
ImageBaseType::IndexType IndexType