Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

gdcmRLEFramesInfo.h

Go to the documentation of this file.
00001 /*=========================================================================
00002                                                                                 
00003   Program:   gdcm
00004   Module:    $RCSfile: gdcmRLEFramesInfo.h,v $
00005   Language:  C++
00006   Date:      $Date: 2005/11/18 14:33:24 $
00007   Version:   $Revision: 1.20 $
00008                                                                                 
00009   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
00010   l'Image). All rights reserved. See Doc/License.txt or
00011   http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
00012                                                                                 
00013      This software is distributed WITHOUT ANY WARRANTY; without even
00014      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00015      PURPOSE.  See the above copyright notices for more information.
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 friend class PixelReadConvert;
00046 friend class File;
00047 
00048 private:
00049    ~RLEFramesInfo();
00050    void Print( std::ostream &os = std::cout, std::string indent = "" );
00051    bool DecompressRLEFile( std::ifstream *fp, uint8_t *subRaw, int xSize, 
00052                            int ySize, int zSize, int bitsAllocated );
00053    bool ConvertRLE16BitsFromRLE8Bits( uint8_t *subRaw, int xSize, int ySize, 
00054                                       int numberOfFrames );
00055 
00056    void AddFrame(RLEFrame *frame);
00057 
00058    RLEFrame *GetFirstFrame();
00059    RLEFrame *GetNextFrame();
00060 
00061 //private::
00062    typedef std::list<RLEFrame *> RLEFrameList;
00063 
00064    RLEFrameList Frames;
00065    RLEFrameList::iterator ItFrames;
00066 };
00067 } // end namespace gdcm
00068 
00069 //-----------------------------------------------------------------------------
00070 #endif

Generated on Fri Jan 20 10:14:26 2006 for gdcm by  doxygen 1.4.4