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 {
00032 class GDCM_EXPORT PixelWriteConvert : public Base
00033 {
00034 public:
00035 PixelWriteConvert();
00036 virtual ~PixelWriteConvert();
00037
00038
00039 void SetReadData(uint8_t *data,size_t size);
00040 uint8_t *GetReadData() { return ReadData; }
00041 size_t GetReadDataSize() { return ReadDataSize; }
00042
00043 void SetUserData(uint8_t *data,size_t size);
00044 uint8_t *GetUserData() { return UserData; }
00045 size_t GetUserDataSize() { return UserDataSize; }
00046
00047
00048 uint8_t *GetData();
00049 size_t GetDataSize();
00050
00051 private:
00052
00054 uint8_t *ReadData;
00056 size_t ReadDataSize;
00057
00059 uint8_t *UserData;
00061 size_t UserDataSize;
00062 };
00063 }
00064
00065
00066 #endif