From bc1d10351a3662b454ca70fb0bc7f016e85a2867 Mon Sep 17 00:00:00 2001 From: srit Date: Wed, 17 Feb 2010 20:53:13 +0000 Subject: [PATCH] *** empty log message *** --- common/clitkIO.cxx | 57 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100755 common/clitkIO.cxx diff --git a/common/clitkIO.cxx b/common/clitkIO.cxx new file mode 100755 index 0000000..c82c0df --- /dev/null +++ b/common/clitkIO.cxx @@ -0,0 +1,57 @@ + +/*------------------------------------------------------------------------- + + Program: clitk + Language: C++ + + Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de + l'Image). All rights reserved. See Doc/License.txt or + http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notices for more information. + + -------------------------------------------------------------------------*/ + +/** + ------------------------------------------------- + * @file clitkHisImageIO.cxx + * @author Simon Rit + * @date 16 Feb 2010 + * + * @brief + * + * + -------------------------------------------------*/ + +// std include +#include +#include + +// itk include +#include "itkExceptionObject.h" + +// clitk include +#include "clitkIO.h" +#include "clitkImageCommon.h" +#include "clitkVoxImageIO.h" +#include "clitkVoxImageIOFactory.h" +#include "clitkHisImageIO.h" +#include "clitkHisImageIOFactory.h" +#include "clitkVfImageIO.h" +#include "clitkVfImageIOFactory.h" +#include "clitkXdrImageIO.h" +#include "clitkXdrImageIOFactory.h" + +//-------------------------------------------------------------------- +// Register factories +void clitk::RegisterClitkFactories() +{ + itk::ImageIOFactory::RegisterBuiltInFactories(); + clitk::VoxImageIOFactory::RegisterOneFactory(); + clitk::VfImageIOFactory::RegisterOneFactory(); + clitk::HisImageIOFactory::RegisterOneFactory(); + clitk::XdrImageIOFactory::RegisterOneFactory(); +} //// + -- 2.45.1