1 /*=========================================================================
4 Module: $RCSfile: gdcmRLEFramesInfo.h,v $
6 Date: $Date: 2004/12/03 20:16:58 $
7 Version: $Revision: 1.8 $
9 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10 l'Image). All rights reserved. See Doc/License.txt or
11 http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notices for more information.
17 =========================================================================*/
20 #ifndef GDCMRLEFRAMESINFO_H
21 #define GDCMRLEFRAMESINFO_H
23 #include "gdcmRLEFrame.h"
31 * \brief Utility class for gathering the informations of the collection
32 * of RLE frame[s] (see \ref RLEFrame) when handling
33 * "Encapsulated RLE Compressed Images" (see PS 3.5-2003 annex G).
34 * Note: a classical image can be considered as the degenerated case
35 * of a multiframe image. In this case the collection is limited
36 * to a single individual frame.
37 * The informations on each frame are obtained during the parsing
38 * of a Document (refer to
39 * \ref Document::ComputeRLEInfo() ).
40 * They shall be used when (if necessary) decoding the frames.
42 * This class is simply a stl list<> of \ref RLEFrame.
44 class GDCM_EXPORT RLEFramesInfo
46 typedef std::list< RLEFrame* > RLEFrameList;
47 friend class Document;
49 friend class PixelReadConvert;
53 void Print( std::string indent = "", std::ostream &os = std::cout );
55 } // end namespace gdcm
57 //-----------------------------------------------------------------------------