From d3a8785c38acdde8014abd79f592bc862b1bb00c Mon Sep 17 00:00:00 2001 From: bharath Date: Wed, 21 Jul 2010 09:34:06 +0000 Subject: [PATCH] Templatized... --- registration/clitkAffineRegistration.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- 2.47.1