1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
5 - University of LYON http://www.universite-lyon.fr/
6 - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
7 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the copyright notices for more information.
13 It is distributed under dual licence
15 - BSD See included LICENSE.txt file
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ======================================================================-====*/
18 #ifndef clitkZeroVF_cxx
19 #define clitkZeroVF_cxx
22 * @file clitkZeroVF.cxx
23 * @author Joel Schaerer
24 * @date July 20 10:14:53 2007
26 * @brief Creates a VF filled with zeros the size of the input VF
31 #include "clitkZeroVF_ggo.h"
33 #include "clitkImageCommon.h"
34 #include "clitkCommon.h"
35 #include "clitkZeroVFGenericFilter.h"
37 int main( int argc, char *argv[] )
41 GGO(clitkZeroVF, args_info);
44 //Creation of the generic filter
45 clitk::ZeroVFGenericFilter::Pointer zeroVFGenericFilter= clitk::ZeroVFGenericFilter::New();
48 zeroVFGenericFilter->SetInput(args_info.input_arg);
49 zeroVFGenericFilter->SetOutput(args_info.output_arg);
50 zeroVFGenericFilter->SetVerbose(args_info.verbose_flag);
53 zeroVFGenericFilter->Update();