00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkDicomImageIO.h,v $ 00005 Language: C++ 00006 Date: $Date: 2007-03-22 14:28:49 $ 00007 Version: $1.0$ 00008 00009 Copyright (c) Insight Software Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 #ifndef __itkDicomImageIO_h 00018 #define __itkDicomImageIO_h 00019 00020 #ifdef _MSC_VER 00021 #pragma warning ( disable : 4786 ) 00022 #endif 00023 00024 #include "itkGDCMImageIO.h" 00025 00026 namespace itk 00027 { 00028 00040 class ITK_EXPORT DicomImageIO : public GDCMImageIO 00041 { 00042 public: 00044 typedef DicomImageIO Self; 00045 typedef GDCMImageIO Superclass; 00046 typedef SmartPointer<Self> Pointer; 00047 00049 itkNewMacro(Self); 00050 00052 itkTypeMacro(DicomImageIO, Superclass); 00053 00054 protected: 00055 DicomImageIO() 00056 { 00057 itkWarningMacro (<< "DicomImageIO is now implemented as a subclass of GDCMImageIO. Please replace your DicomImageIO references with GDCMImageIO."); 00058 }; 00059 private: 00060 DicomImageIO(const Self&); //purposely not implemented 00061 void operator=(const Self&); //purposely not implemented 00062 }; 00063 00064 } // end namespace itk 00065 00066 #endif // __itkDicomImageIO_h 00067