18 #ifndef elxTransformixFilter_h 19 #define elxTransformixFilter_h 21 #include "itkImageSource.h" 35 template<
typename TMovingImage >
43 typedef itk::SmartPointer< Self >
Pointer;
50 itkTypeMacro( Self, itk::ImageSource );
70 typedef typename itk::Image< itk::Vector< float, TMovingImage::ImageDimension >,
76 itkStaticConstMacro( MovingImageDimension,
unsigned int, TMovingImage::ImageDimension );
79 virtual void SetMovingImage( TMovingImage * inputImage );
80 InputImageConstPointer GetMovingImage(
void );
81 virtual void RemoveMovingImage(
void );
84 itkSetMacro( FixedPointSetFileName, std::string );
85 itkGetMacro( FixedPointSetFileName, std::string );
89 itkSetMacro( ComputeSpatialJacobian,
bool );
90 itkGetConstMacro( ComputeSpatialJacobian,
bool );
91 itkBooleanMacro( ComputeSpatialJacobian );
94 itkSetMacro( ComputeDeterminantOfSpatialJacobian,
bool );
95 itkGetConstMacro( ComputeDeterminantOfSpatialJacobian,
bool );
96 itkBooleanMacro( ComputeDeterminantOfSpatialJacobian );
99 itkSetMacro( ComputeDeformationField,
bool );
100 itkGetConstMacro( ComputeDeformationField,
bool );
101 itkBooleanMacro( ComputeDeformationField );
104 virtual void SetTransformParameterObject( ParameterObjectPointer transformParameterObject );
106 ParameterObjectType * GetTransformParameterObject(
void );
108 const ParameterObjectType * GetTransformParameterObject(
void )
const;
110 OutputDeformationFieldType * GetOutputDeformationField(
void );
112 const OutputDeformationFieldType * GetOutputDeformationField(
void )
const;
115 itkSetMacro( OutputDirectory, std::string );
116 itkGetConstMacro( OutputDirectory, std::string );
120 virtual void SetLogFileName( std::string logFileName );
122 itkGetConstMacro( LogFileName, std::string );
123 virtual void RemoveLogFileName(
void );
126 itkSetMacro( LogToConsole,
bool );
127 itkGetConstMacro( LogToConsole,
bool );
128 itkBooleanMacro( LogToConsole );
131 itkSetMacro( LogToFile,
bool );
132 itkGetConstMacro( LogToFile,
bool );
133 itkBooleanMacro( LogToFile );
136 virtual DataObjectPointer MakeOutput(
const DataObjectIdentifierType & key ) ITK_OVERRIDE;
142 virtual void GenerateData(
void ) ITK_OVERRIDE;
147 void operator=(
const Self & );
150 virtual bool IsEmpty(
const InputImagePointer inputImage );
157 using itk::ProcessObject::SetInput;
158 using itk::ProcessObject::GetInput;
159 using itk::ProcessObject::RemoveInput;
176 #ifndef ITK_MANUAL_INSTANTIATION 177 #include "elxTransformixFilter.hxx" 180 #endif // elxTransformixFilter_h itk::SmartPointer< Self > Pointer
itk::SmartPointer< const Self > ConstPointer
Superclass::DataObjectContainerType DataObjectContainerType
itk::SmartPointer< Self > Pointer
std::vector< ParameterValueType > ParameterValueVectorType
Superclass::ArgumentMapType ArgumentMapType
Superclass::DataObjectContainerPointer DataObjectContainerPointer
std::map< ParameterKeyType, ParameterValueVectorType > ParameterMapType
A class with all functionality to configure transformix.
std::vector< ParameterMapType > ParameterMapVectorType