OFFIS DCMTK  Version 3.6.0
dvpsall.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: DVPSOverlayCurveActivationLayer
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 DVPSALL_H
31 #define DVPSALL_H
32 
33 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
34 #include "dcmtk/dcmdata/dcitem.h"
35 #include "dcmtk/dcmpstat/dvpstyp.h" /* for enum types */
36 
38 class DVPSOverlay_PList;
40 
50 {
51 public:
54 
57 
63 
66 
73  OFCondition read(DcmItem &dset);
74 
81  OFCondition write(DcmItem &dset);
82 
87  void clear();
88 
104  DVPSGraphicLayer_PList &gLayerList,
105  DVPSOverlay_PList &overlayList,
106  DVPSoverlayActivation overlayActivation,
107  OFBool curveActivation,
108  DVPSGraphicLayering layering);
109 
116  OFCondition setActivation(Uint16 group, const char *layer);
117 
120  void removeActivation(Uint16 group);
121 
125  const char *getActivationLayer(Uint16 group);
126 
134  void renameLayer(const char *oldName, const char *newName);
135 
140  void removeLayer(const char *name);
141 
147  OFBool usesLayerName(const char *name);
148 
158  size_t getNumberOfActivations(const char *layer, OFBool isCurve);
159 
168  Uint16 getActivationGroup(const char *layer, size_t idx, OFBool isCurve);
169 
170 private:
171 
174 
178 
179 };
180 
181 #endif
182 
183 /*
184  * $Log: dvpsall.h,v $
185  * Revision 1.13 2010-10-14 13:16:36 joergr
186  * Updated copyright header. Added reference to COPYRIGHT file.
187  *
188  * Revision 1.12 2010-10-07 14:31:35 joergr
189  * Removed leading underscore characters from preprocessor symbols (reserved).
190  *
191  * Revision 1.11 2009-11-24 14:12:57 uli
192  * Switched to logging mechanism provided by the "new" oflog module.
193  *
194  * Revision 1.10 2009-09-30 10:42:38 uli
195  * Make dcmpstat's include headers self-sufficient by including all
196  * needed headers directly and stop using dctk.h
197  *
198  * Revision 1.9 2005-12-08 16:03:35 meichel
199  * Changed include path schema for all DCMTK header files
200  *
201  * Revision 1.8 2003/06/04 10:18:06 meichel
202  * Replaced private inheritance from template with aggregation
203  *
204  * Revision 1.7 2001/09/26 15:36:08 meichel
205  * Adapted dcmpstat to class OFCondition
206  *
207  * Revision 1.6 2001/06/01 15:50:12 meichel
208  * Updated copyright header
209  *
210  * Revision 1.5 2000/06/02 16:00:43 meichel
211  * Adapted all dcmpstat classes to use OFConsole for log and error output
212  *
213  * Revision 1.4 2000/03/08 16:28:49 meichel
214  * Updated copyright header.
215  *
216  * Revision 1.3 1998/12/22 17:57:04 meichel
217  * Implemented Presentation State interface for overlays,
218  * VOI LUTs, VOI windows, curves. Added test program that
219  * allows to add curve data to DICOM images.
220  *
221  * Revision 1.2 1998/12/14 16:10:26 meichel
222  * Implemented Presentation State interface for graphic layers,
223  * text and graphic annotations, presentation LUTs.
224  *
225  * Revision 1.1 1998/11/27 14:50:25 meichel
226  * Initial Release.
227  *
228  *
229  */


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