OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmpstat
include
dcmtk
dcmpstat
dvpsgll.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: DVPSGraphicLayer_PList
20
*
21
* Last Update: $Author: joergr $
22
* Update Date: $Date: 2010-10-14 13:16:36 $
23
* CVS/RCS Revision: $Revision: 1.15 $
24
* Status: $State: Exp $
25
*
26
* CVS/RCS Log at end of file
27
*
28
*/
29
30
#ifndef DVPSGLL_H
31
#define DVPSGLL_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
DVPSGraphicLayer
;
37
class
DVPSOverlayCurveActivationLayer_PList
;
38
class
DVPSGraphicAnnotation_PList
;
39
45
class
DVPSGraphicLayer_PList
46
{
47
public
:
49
DVPSGraphicLayer_PList
();
50
52
DVPSGraphicLayer_PList
(
const
DVPSGraphicLayer_PList
& copy);
53
58
DVPSGraphicLayer_PList
*
clone
() {
return
new
DVPSGraphicLayer_PList
(*
this
); }
59
61
virtual
~DVPSGraphicLayer_PList
();
62
70
OFCondition
read
(
DcmItem
&dset);
71
78
OFCondition
write
(
DcmItem
&dset);
79
84
void
clear
();
85
95
OFCondition
addGraphicLayer
(
const
char
*gLayer,
96
const
Sint32 gLayerOrder,
97
const
char
*gLayerDescription=NULL);
98
108
OFCondition
addGraphicLayer
(
109
const
char
*gLayer,
110
const
char
*gLayerDescription=NULL);
111
115
size_t
size
()
const
{
return
list_
.
size
(); }
116
127
void
sortGraphicLayers
(Sint32 lowestLayer=1);
128
135
const
char
*
getGraphicLayerName
(
size_t
idx);
136
143
size_t
getGraphicLayerIndex
(
const
char
*name);
144
151
const
char
*
getGraphicLayerDescription
(
size_t
idx);
152
157
OFBool
haveGraphicLayerRecommendedDisplayValue
(
size_t
idx);
158
167
OFCondition
getGraphicLayerRecommendedDisplayValueGray
(
size_t
idx, Uint16& gray);
168
178
OFCondition
getGraphicLayerRecommendedDisplayValueRGB
(
size_t
idx, Uint16& r, Uint16& g, Uint16& b);
179
187
OFCondition
setGraphicLayerRecommendedDisplayValueGray
(
size_t
idx, Uint16 gray);
188
198
OFCondition
setGraphicLayerRecommendedDisplayValueRGB
(
size_t
idx, Uint16 r, Uint16 g, Uint16 b);
199
204
void
removeGraphicLayerRecommendedDisplayValue
(
size_t
idx, OFBool rgb, OFBool monochrome);
205
212
OFCondition
setGraphicLayerName
(
size_t
idx,
const
char
*name);
213
219
OFCondition
setGraphicLayerDescription
(
size_t
idx,
const
char
*descr);
220
230
OFCondition
toFrontGraphicLayer
(
size_t
idx);
231
240
OFCondition
toBackGraphicLayer
(
size_t
idx);
241
249
OFCondition
exchangeGraphicLayers
(
size_t
idx1,
size_t
idx2);
250
255
OFCondition
removeGraphicLayer
(
size_t
idx);
256
261
void
cleanupLayers
(
262
DVPSOverlayCurveActivationLayer_PList
& activations,
263
DVPSGraphicAnnotation_PList
& annotations);
264
265
private
:
266
268
DVPSGraphicLayer_PList
&
operator=
(
const
DVPSGraphicLayer_PList
&);
269
275
DVPSGraphicLayer
*
getGraphicLayer
(
size_t
idx);
276
279
OFList<DVPSGraphicLayer *>
list_
;
280
};
281
282
#endif
283
284
/*
285
* $Log: dvpsgll.h,v $
286
* Revision 1.15 2010-10-14 13:16:36 joergr
287
* Updated copyright header. Added reference to COPYRIGHT file.
288
*
289
* Revision 1.14 2010-10-07 14:31:35 joergr
290
* Removed leading underscore characters from preprocessor symbols (reserved).
291
*
292
* Revision 1.13 2009-11-24 14:12:57 uli
293
* Switched to logging mechanism provided by the "new" oflog module.
294
*
295
* Revision 1.12 2009-09-30 10:42:38 uli
296
* Make dcmpstat's include headers self-sufficient by including all
297
* needed headers directly and stop using dctk.h
298
*
299
* Revision 1.11 2005-12-08 16:03:46 meichel
300
* Changed include path schema for all DCMTK header files
301
*
302
* Revision 1.10 2003/06/04 10:18:06 meichel
303
* Replaced private inheritance from template with aggregation
304
*
305
* Revision 1.9 2001/09/26 15:36:11 meichel
306
* Adapted dcmpstat to class OFCondition
307
*
308
* Revision 1.8 2001/06/01 15:50:16 meichel
309
* Updated copyright header
310
*
311
* Revision 1.7 2000/06/02 16:00:46 meichel
312
* Adapted all dcmpstat classes to use OFConsole for log and error output
313
*
314
* Revision 1.6 2000/03/08 16:28:52 meichel
315
* Updated copyright header.
316
*
317
* Revision 1.5 1999/07/30 13:34:46 meichel
318
* Added new classes managing Stored Print objects
319
*
320
* Revision 1.4 1999/07/22 16:39:08 meichel
321
* Adapted dcmpstat data structures and API to supplement 33 letter ballot text.
322
*
323
* Revision 1.3 1999/02/09 15:58:55 meichel
324
* Implemented bitmap shutter activation amd method for
325
* exchanging graphic layers.
326
*
327
* Revision 1.2 1998/12/14 16:10:29 meichel
328
* Implemented Presentation State interface for graphic layers,
329
* text and graphic annotations, presentation LUTs.
330
*
331
* Revision 1.1 1998/11/27 14:50:28 meichel
332
* Initial Release.
333
*
334
*
335
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2