GDCM  2.4.5
Public Member Functions | List of all members
gdcm::ImageWriter Class Reference

ImageWriter. More...

#include <gdcmImageWriter.h>

Inheritance diagram for gdcm::ImageWriter:
Inheritance graph
[legend]
Collaboration diagram for gdcm::ImageWriter:
Collaboration graph
[legend]

Public Member Functions

 ImageWriter ()
 
 ~ImageWriter ()
 
const ImageGetImage () const
 
ImageGetImage ()
 
bool Write ()
 Write. More...
 
- Public Member Functions inherited from gdcm::PixmapWriter
 PixmapWriter ()
 
 ~PixmapWriter ()
 
const PixmapGetPixmap () const
 
PixmapGetPixmap ()
 
virtual void SetImage (Pixmap const &img)
 
void SetPixmap (Pixmap const &img)
 
bool Write ()
 Write. More...
 
- Public Member Functions inherited from gdcm::Writer
 Writer ()
 
virtual ~Writer ()
 
void CheckFileMetaInformationOff ()
 
void CheckFileMetaInformationOn ()
 
FileGetFile ()
 
void SetCheckFileMetaInformation (bool b)
 Undocumented function, do not use (= leave default) More...
 
void SetFile (const File &f)
 Set/Get the DICOM file (DataSet + Header) More...
 
void SetFileName (const char *filename_native)
 Set the filename of DICOM file to write: More...
 
void SetStream (std::ostream &output_stream)
 Set user ostream buffer. More...
 

Additional Inherited Members

- Protected Member Functions inherited from gdcm::PixmapWriter
void DoIconImage (DataSet &ds, Pixmap const &image)
 
bool PrepareWrite ()
 
- Protected Member Functions inherited from gdcm::Writer
std::ostream * GetStreamPtr () const
 
void SetWriteDataSetOnly (bool b)
 
- Protected Attributes inherited from gdcm::PixmapWriter
SmartPointer< PixmapPixelData
 
- Protected Attributes inherited from gdcm::Writer
std::ofstream * Ofstream
 
std::ostream * Stream
 

Detailed Description

ImageWriter.

Examples:
CompressImage.cxx, CreateARGBImage.cxx, CreateCMYKImage.cxx, csa2img.cxx, GenFakeImage.cxx, GetSubSequenceData.cxx, HelloVizWorld.cxx, iU22tomultisc.cxx, and MergeTwoFiles.cxx.

Constructor & Destructor Documentation

gdcm::ImageWriter::ImageWriter ( )
gdcm::ImageWriter::~ImageWriter ( )

Member Function Documentation

const Image& gdcm::ImageWriter::GetImage ( ) const
inlinevirtual

Set/Get Image to be written It will overwrite anything Image infos found in DataSet (see parent class to see how to pass dataset)

Reimplemented from gdcm::PixmapWriter.

Examples:
CreateARGBImage.cxx, CreateCMYKImage.cxx, csa2img.cxx, and iU22tomultisc.cxx.
Image& gdcm::ImageWriter::GetImage ( )
inlinevirtual

Reimplemented from gdcm::PixmapWriter.

bool gdcm::ImageWriter::Write ( )
virtual

The documentation for this class was generated from the following file:

Generated on Fri Sep 25 2015 17:58:31 for GDCM by doxygen 1.8.9.1
SourceForge.net Logo