From: bharath Date: Fri, 23 Jul 2010 20:10:32 +0000 (+0000) Subject: minor changes X-Git-Tag: v1.2.0~476 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=7fd0038872179e9103af48023365c1dedfc21d99;p=clitk.git minor changes --- 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();