gdcmImageWriter.h

Go to the documentation of this file.
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 GDCMIMAGEWRITER_H
00016 #define GDCMIMAGEWRITER_H
00017 
00018 #include "gdcmPixmapWriter.h"
00019 #include "gdcmImage.h"
00020 
00021 namespace gdcm
00022 {
00023 
00024 class Image;
00028 class GDCM_EXPORT ImageWriter : public PixmapWriter
00029 {
00030 public:
00031   ImageWriter();
00032   ~ImageWriter();
00033 
00037   const Image& GetImage() const { return dynamic_cast<const Image&>(*PixelData); }
00038   Image& GetImage() { return dynamic_cast<Image&>(*PixelData); } // FIXME 
00039   //void SetImage(Image const &img);
00040 
00042   bool Write(); // Execute()
00043 
00044 protected:
00045 
00046 private:
00047 };
00048 
00049 } // end namespace gdcm
00050 
00051 #endif //GDCMIMAGEWRITER_H

Generated on Sat Dec 4 2010 08:58:44 for GDCM by doxygen 1.7.2
SourceForge.net Logo