]> Creatis software - clitk.git/blob - tools/clitkZeroVF.cxx
added the new headers
[clitk.git] / tools / clitkZeroVF.cxx
1 /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to: 
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
8
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.
12
13   It is distributed under dual licence
14
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
20
21 /**
22  * @file   clitkZeroVF.cxx
23  * @author Joel Schaerer
24  * @date   July 20  10:14:53 2007
25  * 
26  * @brief  Creates a VF filled with zeros the size of the input VF
27  * 
28  */
29
30 // clitk include
31 #include "clitkZeroVF_ggo.h"
32 #include "clitkIO.h"
33 #include "clitkImageCommon.h"
34 #include "clitkZeroVFGenericFilter.h"
35
36 int main( int argc, char *argv[] )
37 {
38   
39   // Init command line
40   GGO(clitkZeroVF, args_info);
41   CLITK_INIT;
42   
43   //Creation of the generic filter
44   clitk::ZeroVFGenericFilter::Pointer zeroVFGenericFilter= clitk::ZeroVFGenericFilter::New();
45
46   //Pass the parameters
47   zeroVFGenericFilter->SetInput(args_info.input_arg);
48   zeroVFGenericFilter->SetOutput(args_info.output_arg);
49   zeroVFGenericFilter->SetVerbose(args_info.verbose_flag);
50
51   //update
52   zeroVFGenericFilter->Update();  
53   return EXIT_SUCCESS;
54 }
55 #endif
56