15 #ifndef __itkTransformToSpatialJacobianSource_h
16 #define __itkTransformToSpatialJacobianSource_h
19 #include "itkImageSource.h"
62 template <
class TOutputImage,
63 class TTransformPrecisionType=
double>
86 itkStaticConstMacro( ImageDimension,
unsigned int,
87 TOutputImage::ImageDimension );
91 itkGetStaticConstMacro( ImageDimension ),
97 typedef typename OutputImageType::PixelType
PixelType;
108 typedef ImageBase< itkGetStaticConstMacro( ImageDimension ) >
ImageBaseType;
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 );
146 itkGetConstReferenceMacro( OutputSpacing,
SpacingType );
150 virtual void SetOutputOrigin(
const double* values);
153 itkGetConstReferenceMacro( OutputOrigin,
OriginType );
160 void SetOutputParametersFromImage(
const ImageBaseType * image );
163 virtual void GenerateOutputInformation(
void );
167 virtual void BeforeThreadedGenerateData(
void );
170 unsigned long GetMTime(
void )
const;
176 void PrintSelf( std::ostream& os, Indent indent )
const;
181 void ThreadedGenerateData(
182 const OutputImageRegionType & outputRegionForThread,
188 void NonlinearThreadedGenerateData(
189 const OutputImageRegionType& outputRegionForThread,
195 void LinearGenerateData(
void );
200 void operator=(
const Self& );
213 #ifndef ITK_MANUAL_INSTANTIATION
214 #include "itkTransformToSpatialJacobianSource.txx"
217 #endif // end #ifndef __itkTransformToSpatialJacobianSource_h