00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef GDCMRLEFRAMESINFO_H
00021 #define GDCMRLEFRAMESINFO_H
00022
00023 #include "gdcmRLEFrame.h"
00024
00025 #include <list>
00026
00027 namespace gdcm
00028 {
00043 class GDCM_EXPORT RLEFramesInfo
00044 {
00045 public:
00046 ~RLEFramesInfo();
00047 void Print( std::ostream &os = std::cout, std::string indent = "" );
00048 bool DecompressRLEFile( std::ifstream *fp, uint8_t *subRaw, int xSize,
00049 int ySize, int zSize, int bitsAllocated );
00050 bool ConvertRLE16BitsFromRLE8Bits( uint8_t *subRaw, int xSize, int ySize,
00051 int NumberOfFrames );
00052
00053 void AddFrame(RLEFrame *frame);
00054
00055 RLEFrame *GetFirstFrame();
00056 RLEFrame *GetNextFrame();
00057
00058 private:
00059 typedef std::list<RLEFrame *> RLEFrameList;
00060
00061 RLEFrameList Frames;
00062 RLEFrameList::iterator ItFrames;
00063 };
00064 }
00065
00066
00067 #endif