GDCM: gdcmBitmapToBitmapFilter.h Source File

GDCM 3.2.10

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
19namespace gdcm
20{
21
26 class GDCM_EXPORT BitmapToBitmapFilter
27{
28public:
29 BitmapToBitmapFilter();
30 ~BitmapToBitmapFilter() = default;
31
33 void SetInput(const Bitmap& image);
34
36 const Bitmap &GetOutput() const { return *Output; }
37
38 // SWIG/Java hack:
39 const Bitmap &GetOutputAsBitmap() const;
40
41protected:
42 SmartPointer<Bitmap> Input;
43 SmartPointer<Bitmap> Output;
44};
45
46} // end namespace gdcm
47
48#endif //GDCMBITMAPTOBITMAPFILTER_H
gdcm::BitmapToBitmapFilter::SetInput
void SetInput(const Bitmap &image)
Set input image.
gdcm::BitmapToBitmapFilter::GetOutput
const Bitmap & GetOutput() const
Get Output image.
Definition gdcmBitmapToBitmapFilter.h:36
gdcm::BitmapToBitmapFilter::Output
SmartPointer< Bitmap > Output
Definition gdcmBitmapToBitmapFilter.h:43
gdcm::BitmapToBitmapFilter::GetOutputAsBitmap
const Bitmap & GetOutputAsBitmap() const
gdcm::BitmapToBitmapFilter::BitmapToBitmapFilter
BitmapToBitmapFilter()
gdcm::BitmapToBitmapFilter::~BitmapToBitmapFilter
~BitmapToBitmapFilter()=default
gdcm::BitmapToBitmapFilter::Input
SmartPointer< Bitmap > Input
Definition gdcmBitmapToBitmapFilter.h:42
gdcm::Bitmap
Bitmap class.
Definition gdcmBitmap.h:39
gdcm::SmartPointer
Class for Smart Pointer.
Definition gdcmSmartPointer.h:40
gdcmBitmap.h
GDCM_EXPORT
#define GDCM_EXPORT
Definition gdcmWin32.h:34
gdcm
Definition gdcmASN1.h:21