gdcmBitmapToBitmapFilter.h
Go to the documentation of this file.
/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCMBITMAPTOBITMAPFILTER_H
#define GDCMBITMAPTOBITMAPFILTER_H
#include "gdcmBitmap.h"
namespace gdcm
{
class GDCM_EXPORT BitmapToBitmapFilter
{
public:
BitmapToBitmapFilter();
~BitmapToBitmapFilter() = default;
void SetInput(const Bitmap& image);
const Bitmap &GetOutput() const { return *Output; }
// SWIG/Java hack:
const Bitmap &GetOutputAsBitmap() const;
protected:
SmartPointer<Bitmap> Input;
SmartPointer<Bitmap> Output;
};
} // end namespace gdcm
#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