18 #ifndef itkTransformToDisplacementFieldSource_h
19 #define itkTransformToDisplacementFieldSource_h
58 template<
typename TOutputImage,
59 typename TTransformPrecisionType =
double >
82 itkStaticConstMacro(ImageDimension,
unsigned int,
83 TOutputImage::ImageDimension);
86 typedef Transform< TTransformPrecisionType,
87 itkGetStaticConstMacro(ImageDimension),
93 typedef typename OutputImageType::PixelType
PixelType;
96 typedef typename RegionType::SizeType
SizeType;
97 typedef typename OutputImageType::IndexType
IndexType;
98 typedef typename OutputImageType::PointType
PointType;
118 virtual void SetOutputSize(
const SizeType & size);
121 virtual const SizeType & GetOutputSize();
125 virtual void SetOutputIndex(
const IndexType & index);
128 virtual const IndexType & GetOutputIndex();
138 virtual void SetOutputSpacing(
const double *values);
142 itkGetConstReferenceMacro(OutputSpacing,
SpacingType);
146 virtual void SetOutputOrigin(
const double *values);
150 itkGetConstReferenceMacro(OutputOrigin,
OriginType);
158 void SetOutputParametersFromImage(
const ImageBaseType *image);
161 virtual void GenerateOutputInformation();
164 virtual void BeforeThreadedGenerateData();
169 #ifdef ITK_USE_CONCEPT_CHECKING
171 itkStaticConstMacro(PixelDimension,
unsigned int,
172 PixelType::Dimension);
187 void ThreadedGenerateData(
188 const OutputImageRegionType & outputRegionForThread,
194 void NonlinearThreadedGenerateData(
195 const OutputImageRegionType & outputRegionForThread,
201 void LinearThreadedGenerateData(
202 const OutputImageRegionType & outputRegionForThread,
219 #ifndef ITK_MANUAL_INSTANTIATION
220 #include "itkTransformToDisplacementFieldSource.hxx"
223 #endif // end #ifndef itkTransformToDisplacementFieldSource_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)