Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | 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/02/06 14:43:28 $
00007   Version:   $Revision: 1.18 $
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 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 } // end namespace gdcm
00065 
00066 //-----------------------------------------------------------------------------
00067 #endif

Generated on Thu Feb 10 22:18:00 2005 for gdcm by doxygen 1.3.6