GDCM  2.2.0
gdcmBitmapToBitmapFilter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program: GDCM (Grassroots DICOM). A DICOM library
00004 
00005   Copyright (c) 2006-2011 Mathieu Malaterre
00006   All rights reserved.
00007   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for 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 notice for more information.
00012 
00013 =========================================================================*/
00014 #ifndef GDCMBITMAPTOBITMAPFILTER_H
00015 #define GDCMBITMAPTOBITMAPFILTER_H
00016 
00017 #include "gdcmBitmap.h"
00018 
00019 namespace gdcm
00020 {
00021 
00026 class GDCM_EXPORT BitmapToBitmapFilter
00027 {
00028 public:
00029   BitmapToBitmapFilter();
00030   ~BitmapToBitmapFilter() {}
00031 
00033   void SetInput(const Bitmap& image);
00034 
00036   const Bitmap &GetOutput() const { return *Output; }
00037 
00038 protected:
00039   SmartPointer<Bitmap> Input;
00040   SmartPointer<Bitmap> Output;
00041 };
00042 
00043 } // end namespace gdcm
00044 
00045 #endif //GDCMBITMAPTOBITMAPFILTER_H

Generated on Sun Jun 3 2012 14:19:39 for GDCM by doxygen 1.8.0
SourceForge.net Logo