go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkUseMevisDicomTiff.h
Go to the documentation of this file.
00001 /*======================================================================
00002 
00003   This file is part of the elastix software.
00004 
00005   Copyright (c) University Medical Center Utrecht. All rights reserved.
00006   See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
00007   details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE. See the above copyright notices for more information.
00012 
00013 ======================================================================*/
00014 #ifndef __itkUseMevisDicomTiff_h
00015 #define __itkUseMevisDicomTiff_h
00016 
00019 #ifdef _MSC_VER
00020 #pragma warning ( disable : 4786 )
00021 #endif
00022 
00023 #include "itkUseMevisDicomTiff.h"
00024 #include "itkMevisDicomTiffImageIOFactory.h"
00025 #include "itkObjectFactoryBase.h"
00026 
00028 int __UseMevisDicomTiff(void)
00029 {
00030   static bool firsttime = true;
00031   if (firsttime)
00032   {
00033     itk::ObjectFactoryBase::RegisterFactory( itk::MevisDicomTiffImageIOFactory::New() );
00034     firsttime=false;
00035   }
00036   return 0;
00037 }
00038 
00040 int __UseMevisDicomTiffDummy = __UseMevisDicomTiff();
00041 
00042 #endif


Generated on 11-05-2012 for elastix by doxygen 1.7.6.1 elastix logo