#include <gdcmPixelWriteConvert.h>
Inheritance diagram for gdcm::PixelWriteConvert:
Public Member Functions | |
| virtual void | Print (std::ostream &=std::cout, std::string const &="") |
| Printer. | |
| void | SetPrintLevel (int level) |
| Sets the print level for the Dicom Header Elements. | |
| int | GetPrintLevel () |
| Gets the print level for the Dicom Entries. | |
Protected Attributes | |
| int | PrintLevel |
| Amount of printed details for each Dicom Entries : 0 : stands for the least detail level. | |
Private Member Functions | |
| PixelWriteConvert () | |
| Constructor. | |
| virtual | ~PixelWriteConvert () |
| Destructor. | |
| void | SetReadData (uint8_t *data, size_t size) |
| sets Read Data (and size) | |
| uint8_t * | GetReadData () |
| returns ReadData | |
| size_t | GetReadDataSize () |
| returns ReadDataSize | |
| void | SetUserData (uint8_t *data, size_t size) |
Sets the internal pointer to the caller's inData image representation, BUT WITHOUT COPYING THE DATA.
| |
| uint8_t * | GetUserData () |
| returns UserData | |
| size_t | GetUserDataSize () |
| returns UserDataSize | |
| uint8_t * | GetData () |
| Get Data (UserData or ReadData). | |
| size_t | GetDataSize () |
| Get Data Size (UserData or ReadData). | |
Private Attributes | |
| uint8_t * | ReadData |
| Pixel data represented as RGB after LUT color interpretation. | |
| size_t | ReadDataSize |
| Size of RGB image. | |
| uint8_t * | UserData |
| User pixel data. | |
| size_t | UserDataSize |
| Size of User image. | |
Friends | |
| class | FileHelper |
Definition at line 34 of file gdcmPixelWriteConvert.h.
|
|
Constructor.
Definition at line 29 of file gdcmPixelWriteConvert.cxx. References ReadData, ReadDataSize, UserData, and UserDataSize. 00030 { 00031 ReadData = 0; 00032 ReadDataSize = 0; 00033 00034 UserData = 0; 00035 UserDataSize = 0; 00036 }
|
|
|
Destructor.
Definition at line 41 of file gdcmPixelWriteConvert.cxx.
|
|
|
Get Data (UserData or ReadData).
Definition at line 82 of file gdcmPixelWriteConvert.cxx. References ReadData, and UserData. Referenced by gdcm::FileHelper::SetWriteToRaw(), and gdcm::FileHelper::SetWriteToRGB(). 00083 { 00084 if ( UserData ) 00085 { 00086 return UserData; 00087 } 00088 else 00089 { 00090 return ReadData; 00091 } 00092 }
|
|
|
Get Data Size (UserData or ReadData).
Definition at line 98 of file gdcmPixelWriteConvert.cxx. References ReadDataSize, UserData, and UserDataSize. Referenced by gdcm::FileHelper::SetWriteToRaw(), and gdcm::FileHelper::SetWriteToRGB(). 00099 { 00100 if ( UserData ) 00101 { 00102 return UserDataSize; 00103 } 00104 else 00105 { 00106 return ReadDataSize; 00107 } 00108 }
|
|
|
Gets the print level for the Dicom Entries.
Definition at line 50 of file gdcmBase.h. 00050 { return PrintLevel; }
|
|
|
returns ReadData
Definition at line 46 of file gdcmPixelWriteConvert.h. 00046 { return ReadData; }
|
|
|
returns ReadDataSize
Definition at line 48 of file gdcmPixelWriteConvert.h. 00048 { return ReadDataSize; }
|
|
|
returns UserData
Definition at line 52 of file gdcmPixelWriteConvert.h. Referenced by gdcm::FileHelper::CheckWriteIntegrity(), gdcm::FileHelper::GetImageData(), gdcm::FileHelper::GetImageDataRawSize(), gdcm::FileHelper::GetImageDataSize(), gdcm::FileHelper::GetUserData(), and gdcm::FileHelper::WriteRawData(). 00052 { return UserData; }
|
|
|
returns UserDataSize
Definition at line 54 of file gdcmPixelWriteConvert.h. Referenced by gdcm::FileHelper::CheckWriteIntegrity(), gdcm::FileHelper::GetImageDataRawSize(), gdcm::FileHelper::GetImageDataSize(), gdcm::FileHelper::GetUserDataSize(), and gdcm::FileHelper::WriteRawData(). 00054 { return UserDataSize; }
|
|
||||||||||||
|
Printer.
Reimplemented in gdcm::CommandManager, gdcm::DataEntry, gdcm::DicomDir, gdcm::DicomDirElement, gdcm::DicomDirImage, gdcm::DicomDirMeta, gdcm::DicomDirPatient, gdcm::DicomDirSerie, gdcm::DicomDirStudy, gdcm::DicomDirVisit, gdcm::DicomEntry, gdcm::Dict, gdcm::DictEntry, gdcm::DictGroupName, gdcm::DictSet, gdcm::DirList, gdcm::DocEntry, gdcm::ElementSet, gdcm::FileHelper, gdcm::JPEGFragment, gdcm::PixelReadConvert, gdcm::RLEFrame, gdcm::SeqEntry, gdcm::SerieHelper, gdcm::SQItem, gdcm::TS, and gdcm::VR. Definition at line 42 of file gdcmBase.h.
|
|
|
Sets the print level for the Dicom Header Elements.
Definition at line 47 of file gdcmBase.h. Referenced by gdcm::SQItem::Print(), gdcm::SeqEntry::Print(), gdcm::FileHelper::Print(), gdcm::ElementSet::Print(), and gdcm::DicomDir::Print(). 00047 { PrintLevel = level; }
|
|
||||||||||||
|
sets Read Data (and size)
Definition at line 53 of file gdcmPixelWriteConvert.cxx. References ReadData, and ReadDataSize. Referenced by gdcm::FileHelper::SetWriteToRaw(), and gdcm::FileHelper::SetWriteToRGB(). 00054 { 00055 ReadData = data; 00056 ReadDataSize = size; 00057 }
|
|
||||||||||||
|
Sets the internal pointer to the caller's inData image representation, BUT WITHOUT COPYING THE DATA.
Definition at line 71 of file gdcmPixelWriteConvert.cxx. References UserData, and UserDataSize. Referenced by gdcm::FileHelper::SetUserData(). 00072 { 00073 UserData = data; 00074 UserDataSize = size; 00075 }
|
|
|
Definition at line 36 of file gdcmPixelWriteConvert.h. |
|
|
Amount of printed details for each Dicom Entries : 0 : stands for the least detail level.
Definition at line 55 of file gdcmBase.h. Referenced by gdcm::SQItem::Print(), gdcm::SeqEntry::Print(), gdcm::FileHelper::Print(), gdcm::ElementSet::Print(), gdcm::DocEntry::Print(), gdcm::DictEntry::Print(), gdcm::DicomDirStudy::Print(), gdcm::DicomDirSerie::Print(), gdcm::DicomDirPatient::Print(), gdcm::DicomDirMeta::Print(), gdcm::DicomDir::Print(), and gdcm::DataEntry::Print(). |
|
|
Pixel data represented as RGB after LUT color interpretation.
Definition at line 63 of file gdcmPixelWriteConvert.h. Referenced by GetData(), PixelWriteConvert(), and SetReadData(). |
|
|
Size of RGB image.
Definition at line 65 of file gdcmPixelWriteConvert.h. Referenced by GetDataSize(), PixelWriteConvert(), and SetReadData(). |
|
|
User pixel data.
Definition at line 68 of file gdcmPixelWriteConvert.h. Referenced by GetData(), GetDataSize(), PixelWriteConvert(), and SetUserData(). |
|
|
Size of User image.
Definition at line 70 of file gdcmPixelWriteConvert.h. Referenced by GetDataSize(), PixelWriteConvert(), and SetUserData(). |
1.4.4