From 7fd0038872179e9103af48023365c1dedfc21d99 Mon Sep 17 00:00:00 2001 From: bharath Date: Fri, 23 Jul 2010 20:10:32 +0000 Subject: [PATCH] minor changes --- .../clitkAffineRegistrationGenericFilter.h | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/registration/clitkAffineRegistrationGenericFilter.h b/registration/clitkAffineRegistrationGenericFilter.h index 2cb5a8c..6a965bf 100644 --- a/registration/clitkAffineRegistrationGenericFilter.h +++ b/registration/clitkAffineRegistrationGenericFilter.h @@ -23,6 +23,7 @@ #include "clitkIO.h" #include "clitkCommon.h" #include "clitkAffineRegistration_ggo.h" +#include "clitkImageArithm_ggo.h" #include "clitkCorrelationRatioImageToImageMetric.h" #include "clitkTransformUtilities.h" #include "clitkGenericMetric.h" @@ -56,6 +57,7 @@ #include #include +struct args_info_clitkImageArithm; namespace clitk { @@ -70,27 +72,19 @@ public: //================================================ typedef AffineRegistrationGenericFilter Self; + typedef itk::SmartPointer Pointer; typedef itk::SmartPointer ConstPointer; - + typedef ImageToImageGenericFilterBase Superclass; //================================================ itkNewMacro(Self); - itkTypeMacro(AffineRegistrationGenericFilter, LightObject); + //itkTypeMacro(AffineRegistrationGenericFilter, LightObject); //==================================================================== // Set methods - void SetArgsInfo(const args_info_clitkAffineRegistration args_info) { - m_ArgsInfo=args_info; - m_Verbose=m_ArgsInfo.verbose_flag; - if (m_ArgsInfo.reference_given) { - SetInputFilename(m_ArgsInfo.reference_arg); - } - if (m_ArgsInfo.target_given) { - SetOutputFilename(m_ArgsInfo.target_arg); - } - - } + void SetArgsInfo(const args_info_clitkAffineRegistration & a); + //==================================================================== template void InitializeImageType(); -- 2.47.1