#include <gdcmPixelWriteConvert.h>
Inheritance diagram for gdcm::PixelWriteConvert:
Public Member Functions | |
| PixelWriteConvert () | |
| Constructor. | |
| virtual | ~PixelWriteConvert () |
| Destructor. | |
| void | SetReadData (uint8_t *data, size_t size) |
| SetReadData. | |
| uint8_t * | GetReadData () |
| size_t | GetReadDataSize () |
| void | SetUserData (uint8_t *data, size_t size) |
| Sets User Data. | |
| uint8_t * | GetUserData () |
| size_t | GetUserDataSize () |
| uint8_t * | GetData () |
| Get Data (UserData or ReadData). | |
| size_t | GetDataSize () |
| Get Data Size (UserData or ReadData). | |
| virtual void | Print (std::ostream &os=std::cout, std::string const &indent="") |
| Print all the object. | |
| 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 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. | |
Definition at line 32 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.
00042 {
00043 }
|
|
|
Get Data (UserData or ReadData).
Definition at line 73 of file gdcmPixelWriteConvert.cxx. References ReadData, and UserData. Referenced by gdcm::FileHelper::SetWriteToRaw(), and gdcm::FileHelper::SetWriteToRGB().
|
|
|
Get Data Size (UserData or ReadData).
Definition at line 89 of file gdcmPixelWriteConvert.cxx. References ReadDataSize, UserData, and UserDataSize. Referenced by gdcm::FileHelper::SetWriteToRaw(), and gdcm::FileHelper::SetWriteToRGB().
00090 {
00091 if(UserData)
00092 {
00093 return UserDataSize;
00094 }
00095 else
00096 {
00097 return ReadDataSize;
00098 }
00099 }
|
|
|
Gets the print level for the Dicom Entries.
Definition at line 48 of file gdcmBase.h.
00048 { return PrintLevel; };
|
|
|
Definition at line 40 of file gdcmPixelWriteConvert.h.
00040 { return ReadData; }
|
|
|
Definition at line 41 of file gdcmPixelWriteConvert.h.
00041 { return ReadDataSize; }
|
|
|
Definition at line 44 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().
00044 { return UserData; }
|
|
|
Definition at line 45 of file gdcmPixelWriteConvert.h. Referenced by gdcm::FileHelper::CheckWriteIntegrity(), gdcm::FileHelper::GetImageDataRawSize(), gdcm::FileHelper::GetImageDataSize(), gdcm::FileHelper::GetUserDataSize(), and gdcm::FileHelper::WriteRawData().
00045 { return UserDataSize; }
|
|
||||||||||||
|
Print all the object.
Reimplemented in gdcm::BinEntry, gdcm::DicomDir, gdcm::DicomDirImage, gdcm::DicomDirMeta, gdcm::DicomDirPatient, gdcm::DicomDirSerie, gdcm::DicomDirStudy, gdcm::Dict, gdcm::DictEntry, gdcm::DictSet, gdcm::DocEntry, gdcm::ElementSet, gdcm::FileHelper, gdcm::PixelReadConvert, gdcm::SeqEntry, gdcm::SQItem, and gdcm::ValEntry. Definition at line 58 of file gdcmBase.cxx.
00059 {
00060 }
|
|
|
Sets the print level for the Dicom Header Elements.
Definition at line 45 of file gdcmBase.h. Referenced by gdcm::SQItem::Print(), gdcm::SeqEntry::Print(), gdcm::FileHelper::Print(), gdcm::ElementSet::Print(), and gdcm::DicomDir::Print().
00045 { PrintLevel = level; };
|
|
||||||||||||
|
SetReadData.
Definition at line 52 of file gdcmPixelWriteConvert.cxx. References ReadData, and ReadDataSize. Referenced by gdcm::FileHelper::SetWriteToRaw(), and gdcm::FileHelper::SetWriteToRGB().
00053 {
00054 ReadData = data;
00055 ReadDataSize = size;
00056 }
|
|
||||||||||||
|
Sets User Data.
Definition at line 63 of file gdcmPixelWriteConvert.cxx. References UserData, and UserDataSize. Referenced by gdcm::FileHelper::SetUserData().
00064 {
00065 UserData = data;
00066 UserDataSize = size;
00067 }
|
|
|
Amount of printed details for each Dicom Entries : 0 : stands for the least detail level.
Definition at line 53 of file gdcmBase.h. Referenced by gdcm::Base::Base(). |
|
|
Pixel data represented as RGB after LUT color interpretation.
Definition at line 54 of file gdcmPixelWriteConvert.h. Referenced by GetData(), PixelWriteConvert(), and SetReadData(). |
|
|
Size of RGB image.
Definition at line 56 of file gdcmPixelWriteConvert.h. Referenced by GetDataSize(), PixelWriteConvert(), and SetReadData(). |
|
|
User pixel data.
Definition at line 59 of file gdcmPixelWriteConvert.h. Referenced by GetData(), GetDataSize(), PixelWriteConvert(), and SetUserData(). |
|
|
Size of User image.
Definition at line 61 of file gdcmPixelWriteConvert.h. Referenced by GetDataSize(), PixelWriteConvert(), and SetUserData(). |
1.3.6