OFFIS DCMTK  Version 3.6.0
dvpspll.h
1 /*
2  *
3  * Copyright (C) 1998-2010, OFFIS e.V.
4  * All rights reserved. See COPYRIGHT file for details.
5  *
6  * This software and supporting documentation were developed by
7  *
8  * OFFIS e.V.
9  * R&D Division Health
10  * Escherweg 2
11  * D-26121 Oldenburg, Germany
12  *
13  *
14  * Module: dcmpstat
15  *
16  * Author: Marco Eichelberg
17  *
18  * Purpose:
19  * classes: DVPSPresentationLUT_PList
20  *
21  * Last Update: $Author: joergr $
22  * Update Date: $Date: 2010-10-14 13:16:36 $
23  * CVS/RCS Revision: $Revision: 1.13 $
24  * Status: $State: Exp $
25  *
26  * CVS/RCS Log at end of file
27  *
28  */
29 
30 #ifndef DVPSPLL_H
31 #define DVPSPLL_H
32 
33 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
34 #include "dcmtk/ofstd/oflist.h"
35 #include "dcmtk/dcmpstat/dvpstyp.h" /* for enum types */
36 #include "dcmtk/dcmnet/dimse.h"
37 
40 
47 {
48 public:
51 
54 
60 
63 
72  OFCondition read(DcmItem &dset);
73 
80  OFCondition write(DcmItem &dset);
81 
86  void clear();
87 
91  size_t size() const { return list_.size(); }
92 
97  DVPSPresentationLUT *findPresentationLUT(const char *instanceUID);
98 
104  void cleanup(const char *filmBox, DVPSImageBoxContent_PList& imageBoxes);
105 
113  const char *addPresentationLUT(DVPSPresentationLUT *newLUT, OFBool inversePLUT);
114 
119  void insert(DVPSPresentationLUT *newLUT) { if (newLUT) list_.push_back(newLUT); }
120 
127 
128 private:
129 
133 
137 
138 };
139 
140 
141 #endif
142 
143 /*
144  * $Log: dvpspll.h,v $
145  * Revision 1.13 2010-10-14 13:16:36 joergr
146  * Updated copyright header. Added reference to COPYRIGHT file.
147  *
148  * Revision 1.12 2010-10-07 14:31:36 joergr
149  * Removed leading underscore characters from preprocessor symbols (reserved).
150  *
151  * Revision 1.11 2009-11-24 14:12:57 uli
152  * Switched to logging mechanism provided by the "new" oflog module.
153  *
154  * Revision 1.10 2009-09-30 10:42:38 uli
155  * Make dcmpstat's include headers self-sufficient by including all
156  * needed headers directly and stop using dctk.h
157  *
158  * Revision 1.9 2005-12-08 16:03:56 meichel
159  * Changed include path schema for all DCMTK header files
160  *
161  * Revision 1.8 2003/06/04 10:18:06 meichel
162  * Replaced private inheritance from template with aggregation
163  *
164  * Revision 1.7 2001/09/26 15:36:14 meichel
165  * Adapted dcmpstat to class OFCondition
166  *
167  * Revision 1.6 2001/06/01 15:50:19 meichel
168  * Updated copyright header
169  *
170  * Revision 1.5 2000/06/02 16:00:49 meichel
171  * Adapted all dcmpstat classes to use OFConsole for log and error output
172  *
173  * Revision 1.4 2000/05/31 12:56:39 meichel
174  * Added initial Print SCP support
175  *
176  * Revision 1.3 2000/03/08 16:28:54 meichel
177  * Updated copyright header.
178  *
179  * Revision 1.2 2000/02/29 12:16:15 meichel
180  * Fixed bug in dcmpstat library that caused Monochrome1 images
181  * to be printed inverse if a Presentation LUT was applied.
182  *
183  * Revision 1.1 1999/10/07 17:21:49 meichel
184  * Reworked management of Presentation LUTs in order to create tighter
185  * coupling between Softcopy and Print.
186  *
187  *
188  */


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2