00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef GDCMPIXELWRITECONVERT_H
00021 #define GDCMPIXELWRITECONVERT_H
00022
00023 #include "gdcmCommon.h"
00024 #include "gdcmBase.h"
00025
00026 namespace gdcm
00027 {
00034 class GDCM_EXPORT PixelWriteConvert : public Base
00035 {
00036 friend class FileHelper;
00037
00038 private:
00039 PixelWriteConvert();
00040 virtual ~PixelWriteConvert();
00041
00042
00043
00044 void SetReadData(uint8_t *data, size_t size);
00046 uint8_t *GetReadData() { return ReadData; }
00048 size_t GetReadDataSize() { return ReadDataSize; }
00049
00050 void SetUserData(uint8_t *data, size_t size);
00052 uint8_t *GetUserData() { return UserData; }
00054 size_t GetUserDataSize() { return UserDataSize; }
00055
00056
00057 uint8_t *GetData();
00058 size_t GetDataSize();
00059
00060
00061
00063 uint8_t *ReadData;
00065 size_t ReadDataSize;
00066
00068 uint8_t *UserData;
00070 size_t UserDataSize;
00071 };
00072 }
00073
00074
00075 #endif