gdcmImageWriter.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 GDCMIMAGEWRITER_H
#define GDCMIMAGEWRITER_H
#include "gdcmPixmapWriter.h"
#include "gdcmImage.h"
namespace gdcm
{
class Image;
class GDCM_EXPORT ImageWriter : public PixmapWriter
{
public:
ImageWriter();
~ImageWriter() override;
const Image& GetImage() const override { return dynamic_cast<const Image&>(*PixelData); }
Image& GetImage() override { return dynamic_cast<Image&>(*PixelData); } // FIXME
//void SetImage(Image const &img);
bool Write() override; // Execute()
MediaStorage ComputeTargetMediaStorage();
protected:
private:
};
} // end namespace gdcm
#endif //GDCMIMAGEWRITER_H
gdcm::ImageWriter::ComputeTargetMediaStorage
MediaStorage ComputeTargetMediaStorage()
gdcm::ImageWriter::ImageWriter
ImageWriter()
gdcm::ImageWriter::~ImageWriter
~ImageWriter() override
gdcm::ImageWriter::Write
bool Write() override
Write.
gdcm::ImageWriter::GetImage
Image & GetImage() override
Definition gdcmImageWriter.h:42
gdcm::ImageWriter::GetImage
const Image & GetImage() const override
Definition gdcmImageWriter.h:41
gdcm::Image
Image.
Definition gdcmImage.h:47
gdcm::MediaStorage
MediaStorage.
Definition gdcmMediaStorage.h:44
gdcm::PixmapWriter::PixmapWriter
PixmapWriter()
gdcmImage.h
gdcmPixmapWriter.h
GDCM_EXPORT
#define GDCM_EXPORT
Definition gdcmWin32.h:34
gdcm
Definition gdcmASN1.h:21