|
GDCM 3.0.24
|
#include <gdcmPixmapWriter.h>
Public Member Functions | |
| PixmapWriter () | |
| ~PixmapWriter () override | |
| virtual Pixmap & | GetImage () |
| virtual const Pixmap & | GetImage () const |
| Pixmap & | GetPixmap () |
| const Pixmap & | GetPixmap () const |
| virtual void | SetImage (Pixmap const &img) |
| void | SetPixmap (Pixmap const &img) |
| bool | Write () override |
| Write. | |
Public Member Functions inherited from gdcm::Writer | |
| Writer () | |
| virtual | ~Writer () |
| void | CheckFileMetaInformationOff () |
| void | CheckFileMetaInformationOn () |
| File & | GetFile () |
| void | SetCheckFileMetaInformation (bool b) |
| Undocumented function, do not use (= leave default) | |
| void | SetFile (const File &f) |
| Set/Get the DICOM file (DataSet + Header) | |
| void | SetFileName (const char *filename_native) |
| Set the filename of DICOM file to write: | |
| void | SetStream (std::ostream &output_stream) |
| Set user ostream buffer. | |
Protected Member Functions | |
| void | DoIconImage (DataSet &ds, Pixmap const &image) |
| bool | PrepareWrite (MediaStorage const &refms) |
Protected Member Functions inherited from gdcm::Writer | |
| bool | GetCheckFileMetaInformation () const |
| std::ostream * | GetStreamPtr () const |
| void | SetWriteDataSetOnly (bool b) |
Protected Attributes | |
| SmartPointer< Pixmap > | PixelData |
Protected Attributes inherited from gdcm::Writer | |
| std::ofstream * | Ofstream |
| std::ostream * | Stream |
This class will takes two inputs:
For instance when one read in a lossy compressed image and write out as unencapsulated (ie implicitly lossless) then some attribute are definitely needed to mark this dataset as Lossy (typically 0028,2114)
| gdcm::PixmapWriter::PixmapWriter | ( | ) |
|
override |
|
inlinevirtual |
Reimplemented in gdcm::ImageWriter.
|
inlinevirtual |
Set/Get Pixmap to be written It will overwrite anything Pixmap infos found in DataSet (see parent class to see how to pass dataset)
Reimplemented in gdcm::ImageWriter.
|
inline |
|
inline |
|
protected |
|
virtual |
| void gdcm::PixmapWriter::SetPixmap | ( | Pixmap const & | img | ) |
|
overridevirtual |
|
protected |