]> Creatis software - clitk.git/blob - vv/vvInit.cxx
Initial revision
[clitk.git] / vv / vvInit.cxx
1 /*=========================================================================
2
3  Program:   vv
4  Module:    $RCSfile: vvInit.cxx,v $
5  Language:  C++
6  Date:      $Date: 2010/01/06 13:31:58 $
7  Version:   $Revision: 1.1 $
8  Author :   Joël Schaerer (joel.schaerer@insa-lyon.fr)
9
10
11 Copyright (C) 2008
12 Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
13 CREATIS-LRMN http://www.creatis.insa-lyon.fr
14
15 This program is free software: you can redistribute it and/or modify
16 it under the terms of the GNU General Public License as published by
17 the Free Software Foundation, version 3 of the License.
18
19 This program is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 GNU General Public License for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with this program.  If not, see <http://www.gnu.org/licenses/>.
26
27 =========================================================================*/
28 #include "nkitkXDRImageIO.h"
29 #include "nkitkXDRImageIOFactory.h"
30 #include "clitkVoxImageIO.h"
31 #include "clitkVoxImageIOFactory.h"
32 #include "clitkVfImageIO.h"
33 #include "clitkVfImageIOFactory.h"
34
35 #include "itkImage.h"
36 #include "itkImageFileReader.h"
37 #include "itkByteSwapper.h"
38
39
40 void initialize_IO()
41 {
42     itk::ImageIOFactory::RegisterBuiltInFactories();
43     clitk::VoxImageIOFactory::RegisterOneFactory();
44     clitk::VfImageIOFactory::RegisterOneFactory();
45     nkitk::XDRImageIOFactory::RegisterOneFactory();
46 }