OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmpstat
include
dcmtk
dcmpstat
dvpsga.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: DVPSGraphicAnnotation
20
*
21
* Last Update: $Author: joergr $
22
* Update Date: $Date: 2010-10-14 13:16:36 $
23
* CVS/RCS Revision: $Revision: 1.12 $
24
* Status: $State: Exp $
25
*
26
* CVS/RCS Log at end of file
27
*
28
*/
29
30
#ifndef DVPSGA_H
31
#define DVPSGA_H
32
33
#include "dcmtk/config/osconfig.h"
/* make sure OS specific configuration is included first */
34
35
#include "dcmtk/dcmdata/dcvrcs.h"
/* for DcmCodeString */
36
#include "dcmtk/dcmpstat/dvpstxl.h"
/* for DVPSTextObject_PList */
37
#include "dcmtk/dcmpstat/dvpsgrl.h"
/* for DVPSGraphicObject_PList */
38
#include "dcmtk/dcmpstat/dvpsril.h"
/* for DVPSReferencedImage_PList */
39
#include "dcmtk/dcmpstat/dvpstyp.h"
/* for enum types */
40
46
class
DVPSGraphicAnnotation
47
{
48
public
:
50
DVPSGraphicAnnotation
();
51
53
DVPSGraphicAnnotation
(
const
DVPSGraphicAnnotation
& copy);
54
59
DVPSGraphicAnnotation
*
clone
() {
return
new
DVPSGraphicAnnotation
(*
this
); }
60
62
virtual
~DVPSGraphicAnnotation
();
63
73
OFCondition
read
(
DcmItem
&dset);
74
81
OFCondition
write
(
DcmItem
&dset);
82
86
const
char
*
getAnnotationLayer
();
87
91
void
setAnnotationLayer
(
const
char
*aLayer);
92
103
OFCondition
addImageReference
(
104
const
char
*sopclassUID,
105
const
char
*instanceUID,
106
unsigned
long
frame,
107
DVPSObjectApplicability applicability);
108
113
OFBool
isEmpty
();
114
122
OFBool
isApplicable
(
123
const
char
*instanceUID,
124
unsigned
long
frame,
125
DVPSObjectApplicability applicability=DVPSB_currentFrame);
126
130
size_t
getNumberOfTextObjects
();
131
135
size_t
getNumberOfGraphicObjects
();
136
142
DVPSTextObject
*
getTextObject
(
size_t
idx);
143
149
DVPSGraphicObject
*
getGraphicObject
(
size_t
idx);
150
155
void
addTextObject
(
DVPSTextObject
*text);
156
161
void
addGraphicObject
(
DVPSGraphicObject
*graphic);
162
168
DVPSTextObject
*
removeTextObject
(
size_t
idx);
169
175
DVPSGraphicObject
*
removeGraphicObject
(
size_t
idx);
176
177
private
:
178
180
DVPSGraphicAnnotation
&
operator=
(
const
DVPSGraphicAnnotation
&);
181
183
DVPSReferencedImage_PList
referencedImageList
;
185
DcmCodeString
graphicAnnotationLayer
;
187
DVPSTextObject_PList
textObjectList
;
189
DVPSGraphicObject_PList
graphicObjectList
;
190
191
};
192
193
#endif
194
195
/*
196
* $Log: dvpsga.h,v $
197
* Revision 1.12 2010-10-14 13:16:36 joergr
198
* Updated copyright header. Added reference to COPYRIGHT file.
199
*
200
* Revision 1.11 2010-10-07 14:31:35 joergr
201
* Removed leading underscore characters from preprocessor symbols (reserved).
202
*
203
* Revision 1.10 2009-11-24 14:12:57 uli
204
* Switched to logging mechanism provided by the "new" oflog module.
205
*
206
* Revision 1.9 2009-09-30 10:42:38 uli
207
* Make dcmpstat's include headers self-sufficient by including all
208
* needed headers directly and stop using dctk.h
209
*
210
* Revision 1.8 2005-12-08 16:03:43 meichel
211
* Changed include path schema for all DCMTK header files
212
*
213
* Revision 1.7 2001/09/26 15:36:10 meichel
214
* Adapted dcmpstat to class OFCondition
215
*
216
* Revision 1.6 2001/06/01 15:50:15 meichel
217
* Updated copyright header
218
*
219
* Revision 1.5 2000/06/02 16:00:45 meichel
220
* Adapted all dcmpstat classes to use OFConsole for log and error output
221
*
222
* Revision 1.4 2000/03/08 16:28:51 meichel
223
* Updated copyright header.
224
*
225
* Revision 1.3 1999/07/22 16:39:06 meichel
226
* Adapted dcmpstat data structures and API to supplement 33 letter ballot text.
227
*
228
* Revision 1.2 1998/12/14 16:10:27 meichel
229
* Implemented Presentation State interface for graphic layers,
230
* text and graphic annotations, presentation LUTs.
231
*
232
* Revision 1.1 1998/11/27 14:50:26 meichel
233
* Initial Release.
234
*
235
*
236
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2