OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmpstat
include
dcmtk
dcmpstat
dvpsab.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: DVPSAnnotationContent
20
*
21
* Last Update: $Author: joergr $
22
* Update Date: $Date: 2010-10-14 13:16:35 $
23
* CVS/RCS Revision: $Revision: 1.10 $
24
* Status: $State: Exp $
25
*
26
* CVS/RCS Log at end of file
27
*
28
*/
29
30
#ifndef DVPSAB_H
31
#define DVPSAB_H
32
33
#include "dcmtk/config/osconfig.h"
/* make sure OS specific configuration is included first */
34
#include "dcmtk/dcmdata/dcvrus.h"
/* for class DcmUnsignedShort */
35
#include "dcmtk/dcmdata/dcvrlo.h"
/* for class DcmLongString */
36
#include "dcmtk/dcmdata/dcvrui.h"
/* for class DcmUniqueIdentifier */
37
#include "dcmtk/dcmpstat/dvpstyp.h"
/* for enum types */
38
42
class
DVPSAnnotationContent
43
{
44
public
:
46
DVPSAnnotationContent
();
47
49
DVPSAnnotationContent
(
const
DVPSAnnotationContent
& copy);
50
55
DVPSAnnotationContent
*
clone
() {
return
new
DVPSAnnotationContent
(*
this
); }
56
58
virtual
~DVPSAnnotationContent
();
59
64
void
clear
();
65
75
OFCondition
read
(
DcmItem
&dset);
76
83
OFCondition
write
(
DcmItem
&dset);
84
91
OFCondition
setContent
(
92
const
char
*instanceuid,
93
const
char
*text,
94
Uint16 position);
95
99
const
char
*
getSOPInstanceUID
();
100
105
OFCondition
setSOPInstanceUID
(
const
char
*value);
106
114
OFCondition
prepareBasicAnnotationBox
(
DcmItem
&dset);
115
116
private
:
118
DVPSAnnotationContent
&
operator=
(
const
DVPSAnnotationContent
&);
119
121
DcmUniqueIdentifier
sOPInstanceUID
;
123
DcmUnsignedShort
annotationPosition
;
125
DcmLongString
textString
;
126
127
};
128
129
#endif
130
131
/*
132
* $Log: dvpsab.h,v $
133
* Revision 1.10 2010-10-14 13:16:35 joergr
134
* Updated copyright header. Added reference to COPYRIGHT file.
135
*
136
* Revision 1.9 2010-10-07 14:31:35 joergr
137
* Removed leading underscore characters from preprocessor symbols (reserved).
138
*
139
* Revision 1.8 2009-11-24 14:12:57 uli
140
* Switched to logging mechanism provided by the "new" oflog module.
141
*
142
* Revision 1.7 2009-09-30 10:42:38 uli
143
* Make dcmpstat's include headers self-sufficient by including all
144
* needed headers directly and stop using dctk.h
145
*
146
* Revision 1.6 2005-12-08 16:03:32 meichel
147
* Changed include path schema for all DCMTK header files
148
*
149
* Revision 1.5 2001/09/26 15:36:08 meichel
150
* Adapted dcmpstat to class OFCondition
151
*
152
* Revision 1.4 2001/06/01 15:50:11 meichel
153
* Updated copyright header
154
*
155
* Revision 1.3 2000/06/02 16:00:42 meichel
156
* Adapted all dcmpstat classes to use OFConsole for log and error output
157
*
158
* Revision 1.2 2000/03/08 16:28:48 meichel
159
* Updated copyright header.
160
*
161
* Revision 1.1 1999/10/19 14:46:05 meichel
162
* added support for the Basic Annotation Box SOP Class
163
* as well as access methods for Max Density and Min Density.
164
*
165
*
166
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2