From: bharath Date: Wed, 21 Jul 2010 09:34:06 +0000 (+0000) Subject: Templatized... X-Git-Tag: v1.2.0~523 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=d3a8785c38acdde8014abd79f592bc862b1bb00c;p=clitk.git Templatized... --- diff --git a/registration/clitkAffineRegistration.cxx b/registration/clitkAffineRegistration.cxx index c24bbe9..be28d2b 100644 --- a/registration/clitkAffineRegistration.cxx +++ b/registration/clitkAffineRegistration.cxx @@ -18,6 +18,7 @@ // clitk include #include "clitkIO.h" +#include "clitkAffineRegistration_ggo.h" #include "clitkAffineRegistrationGenericFilter.h" int main( int argc, char *argv[] ) @@ -28,7 +29,8 @@ int main( int argc, char *argv[] ) //=========================================================================== //Set all the options passed through the commandline - clitk::AffineRegistrationGenericFilter::Pointer genericFilter=clitk::AffineRegistrationGenericFilter::New(); + typedef clitk::AffineRegistrationGenericFilter FilterType; + FilterType::Pointer genericFilter = FilterType::New(); genericFilter->SetArgsInfo(args_info); genericFilter->Update();