]> Creatis software - clitk.git/blob - common/clitkIO.cxx
Reformatted using new coding style
[clitk.git] / common / clitkIO.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 /**
19    -------------------------------------------------
20    * @file   clitkHisImageIO.cxx
21    * @author Simon Rit <simon.rit@gmail.com>
22    * @date   16 Feb 2010
23    *
24    * @brief
25    *
26    *
27    -------------------------------------------------*/
28
29 // std include
30 #include <iostream>
31 #include <fstream>
32
33 // itk include
34 #include "itkExceptionObject.h"
35
36 // clitk include
37 #include "clitkIO.h"
38 #include "clitkImageCommon.h"
39 #include "clitkVoxImageIO.h"
40 #include "clitkVoxImageIOFactory.h"
41 #include "clitkHisImageIO.h"
42 #include "clitkHisImageIOFactory.h"
43 #include "clitkVfImageIO.h"
44 #include "clitkVfImageIOFactory.h"
45 #include "clitkXdrImageIO.h"
46 #include "clitkXdrImageIOFactory.h"
47
48 //--------------------------------------------------------------------
49 // Register factories
50 void clitk::RegisterClitkFactories()
51 {
52   itk::ImageIOFactory::RegisterBuiltInFactories();
53   clitk::VoxImageIOFactory::RegisterOneFactory();
54   clitk::VfImageIOFactory::RegisterOneFactory();
55   clitk::HisImageIOFactory::RegisterOneFactory();
56   clitk::XdrImageIOFactory::RegisterOneFactory();
57 } ////
58