1 /*=========================================================================
4 Module: $RCSfile: gdcmJPEGFragmentsInfo.h,v $
6 Date: $Date: 2004/10/10 16:44:00 $
7 Version: $Revision: 1.1 $
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 GDCMJPEGFRAGMENTSINFO_H
21 #define GDCMJPEGFRAGMENTSINFO_H
23 #include "gdcmJPEGFragment.h"
27 * \brief Utility class for gathering the informations of the collection
28 * of JPEG fragment[s] (see \ref gdcmJPEGFragment) when handling
29 * "Encapsulated JPEG Compressed Images".
30 * The informations on each frame are obtained during the parsing
31 * of a gdcmDocument (refer to
32 * \ref gdcmDocument::ComputeJPEGFragmentInfo() ).
33 * They shall be used when (if necessary) decoding the fragments.
35 * This class is simply a stl list<> of \ref gdcmJPEGFragment.
37 class GDCM_EXPORT gdcmJPEGFragmentsInfo
39 typedef std::list< gdcmJPEGFragment* > JPEGFragmentsList;
40 friend class gdcmDocument;
41 friend class gdcmFile;
42 friend class gdcmPixelConvert;
43 JPEGFragmentsList Fragments;
45 ~gdcmJPEGFragmentsInfo();
48 //-----------------------------------------------------------------------------