OFFIS DCMTK  Version 3.6.0
dvpsovl.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: DVPSOverlay_PList
20  *
21  * Last Update: $Author: joergr $
22  * Update Date: $Date: 2010-10-14 13:16:36 $
23  * CVS/RCS Revision: $Revision: 1.14 $
24  * Status: $State: Exp $
25  *
26  * CVS/RCS Log at end of file
27  *
28  */
29 
30 #ifndef DVPSOVL_H
31 #define DVPSOVL_H
32 
33 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
34 #include "dcmtk/dcmdata/dcitem.h"
35 
36 class DVPSOverlay;
37 
45 {
46 public:
49 
52 
57  DVPSOverlay_PList *clone() { return new DVPSOverlay_PList(*this); }
58 
60  virtual ~DVPSOverlay_PList();
61 
72  OFCondition read(DcmItem &dset);
73 
80  OFCondition write(DcmItem &dset);
81 
86  void clear();
87 
93  OFBool haveOverlayGroup(Uint16 group);
94 
98  size_t size() const { return list_.size(); }
99 
104  DVPSOverlay *getOverlay(size_t idx);
105 
110  OFCondition removeOverlay(size_t idx);
111 
117  OFCondition changeOverlayGroup(size_t idx, Uint16 newGroup);
118 
131  OFCondition addOverlay(DcmItem& overlayIOD, Uint16 groupInItem, Uint16 newGroup);
132 
138  DVPSOverlay *getOverlayGroup(Uint16 group);
139 
140 private:
141 
144 
148 
149 };
150 
151 #endif
152 
153 /*
154  * $Log: dvpsovl.h,v $
155  * Revision 1.14 2010-10-14 13:16:36 joergr
156  * Updated copyright header. Added reference to COPYRIGHT file.
157  *
158  * Revision 1.13 2010-10-07 14:31:36 joergr
159  * Removed leading underscore characters from preprocessor symbols (reserved).
160  *
161  * Revision 1.12 2009-11-24 14:12:57 uli
162  * Switched to logging mechanism provided by the "new" oflog module.
163  *
164  * Revision 1.11 2009-09-30 10:42:38 uli
165  * Make dcmpstat's include headers self-sufficient by including all
166  * needed headers directly and stop using dctk.h
167  *
168  * Revision 1.10 2005-12-08 16:03:54 meichel
169  * Changed include path schema for all DCMTK header files
170  *
171  * Revision 1.9 2003/06/04 10:18:06 meichel
172  * Replaced private inheritance from template with aggregation
173  *
174  * Revision 1.8 2001/09/26 15:36:13 meichel
175  * Adapted dcmpstat to class OFCondition
176  *
177  * Revision 1.7 2001/06/01 15:50:19 meichel
178  * Updated copyright header
179  *
180  * Revision 1.6 2000/06/02 16:00:49 meichel
181  * Adapted all dcmpstat classes to use OFConsole for log and error output
182  *
183  * Revision 1.5 2000/03/08 16:28:54 meichel
184  * Updated copyright header.
185  *
186  * Revision 1.4 2000/03/06 18:23:15 joergr
187  * Added const type specifier to derived method (reported by Sun CC 4.2).
188  *
189  * Revision 1.3 1998/12/22 17:57:06 meichel
190  * Implemented Presentation State interface for overlays,
191  * VOI LUTs, VOI windows, curves. Added test program that
192  * allows to add curve data to DICOM images.
193  *
194  * Revision 1.2 1998/12/14 16:10:31 meichel
195  * Implemented Presentation State interface for graphic layers,
196  * text and graphic annotations, presentation LUTs.
197  *
198  * Revision 1.1 1998/11/27 14:50:30 meichel
199  * Initial Release.
200  *
201  *
202  */


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