X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmRLEFramesInfo.h;h=56724c2ebc1356267baccbf66fdf0671bdce3aa8;hb=4f40a99daaac8192cf47e0cfb026c6a23bbe22ca;hp=f4dc27875ff1bb087b7465ee134d28f6f56b387f;hpb=95dcce2c32665bcba9aa2d20c13390271a204e23;p=gdcm.git diff --git a/src/gdcmRLEFramesInfo.h b/src/gdcmRLEFramesInfo.h index f4dc2787..56724c2e 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/01/31 06:17:22 $ - Version: $Revision: 1.17 $ + Date: $Date: 2005/11/18 14:33:24 $ + Version: $Revision: 1.20 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -42,18 +42,23 @@ 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 ); + 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 ); void AddFrame(RLEFrame *frame); RLEFrame *GetFirstFrame(); RLEFrame *GetNextFrame(); -private: +//private:: typedef std::list RLEFrameList; RLEFrameList Frames;