00001 /*========================================================================= 00002 00003 Program: GDCM (Grassroots DICOM). A DICOM library 00004 Module: $URL$ 00005 00006 Copyright (c) 2006-2010 Mathieu Malaterre 00007 All rights reserved. 00008 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 #ifndef GDCMIMAGETOIMAGEFILTER_H 00016 #define GDCMIMAGETOIMAGEFILTER_H 00017 00018 #include "gdcmPixmapToPixmapFilter.h" 00019 00020 namespace gdcm 00021 { 00022 00023 class Image; 00028 class GDCM_EXPORT ImageToImageFilter : public PixmapToPixmapFilter 00029 { 00030 public: 00031 ImageToImageFilter(); 00032 ~ImageToImageFilter() {} 00033 00034 Image &GetInput(); 00035 00036 // NOTE: covariant return-type to preserve backward compatible API 00038 const Image &GetOutput() const; 00039 00040 protected: 00041 }; 00042 00043 } // end namespace gdcm 00044 00045 #endif //GDCMIMAGETOIMAGEFILTER_H 00046