X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmRLEFramesInfo.h;h=d4280bd2b665a4dbf7042df01cc1f5d20d7f26c9;hb=ffaf0119eb35e6a5b8460036fbaf6fa7e701e0cc;hp=b5f60727f851df43dc4a3fdbebbdb1d6082b6078;hpb=b7e5f2772866e8cca5941e2daf611cc96a0e2d11;p=gdcm.git diff --git a/src/gdcmRLEFramesInfo.h b/src/gdcmRLEFramesInfo.h index b5f60727..d4280bd2 100644 --- a/src/gdcmRLEFramesInfo.h +++ b/src/gdcmRLEFramesInfo.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmRLEFramesInfo.h,v $ Language: C++ - Date: $Date: 2005/02/11 16:58:49 $ - Version: $Revision: 1.19 $ + Date: $Date: 2006/03/29 16:09:48 $ + Version: $Revision: 1.22 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -42,20 +42,22 @@ namespace gdcm */ class GDCM_EXPORT RLEFramesInfo { -public: +friend class PixelReadConvert; +friend class File; + +private: ~RLEFramesInfo(); void Print( std::ostream &os = std::cout, std::string indent = "" ); bool DecompressRLEFile( std::ifstream *fp, uint8_t *subRaw, int xSize, - int ySize, int zSize, int bitsAllocated ); - bool ConvertRLE16BitsFromRLE8Bits( uint8_t *subRaw, int xSize, int ySize, - int numberOfFrames ); + int ySize, int zSize, int tSize, int bitsAllocated ); + bool ConvertRLE16BitsFromRLE8Bits( uint8_t *subRaw, int xSize, int ySize, + int tSize, int numberOfFrames); void AddFrame(RLEFrame *frame); RLEFrame *GetFirstFrame(); RLEFrame *GetNextFrame(); -private: typedef std::list RLEFrameList; RLEFrameList Frames;