GDCM 2.2.1

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

gdcmBitmapToBitmapFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2
3 Program: GDCM (Grassroots DICOM). A DICOM library
4
5 Copyright (c) 2006-2011 Mathieu Malaterre
6 All rights reserved.
7 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12
13 =========================================================================*/
14 #ifndef GDCMBITMAPTOBITMAPFILTER_H
15 #define GDCMBITMAPTOBITMAPFILTER_H
16
17 #include "gdcmBitmap.h"
18
19 namespace gdcm
20 {
21
26 class GDCM_EXPORT BitmapToBitmapFilter
27 {
28 public:
29 BitmapToBitmapFilter();
30 ~BitmapToBitmapFilter() {}
31
33 void SetInput(const Bitmap& image);
34
36 const Bitmap &GetOutput() const { return *Output; }
37
38 protected:
39 SmartPointer<Bitmap> Input;
40 SmartPointer<Bitmap> Output;
41 };
42
43 } // end namespace gdcm
44
45 #endif //GDCMBITMAPTOBITMAPFILTER_H