OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmpstat
include
dcmtk
dcmpstat
dvpsgr.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: DVPSGraphicObject
20
*
21
* Last Update: $Author: joergr $
22
* Update Date: $Date: 2010-10-14 13:16:36 $
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 DVPSGR_H
31
#define DVPSGR_H
32
33
#include "dcmtk/config/osconfig.h"
/* make sure OS specific configuration is included first */
34
#include "dcmtk/dcmdata/dctk.h"
35
#include "dcmtk/dcmpstat/dvpstyp.h"
36
43
class
DVPSGraphicObject
44
{
45
public
:
47
DVPSGraphicObject
();
48
50
DVPSGraphicObject
(
const
DVPSGraphicObject
& copy);
51
56
DVPSGraphicObject
*
clone
() {
return
new
DVPSGraphicObject
(*
this
); }
57
59
virtual
~DVPSGraphicObject
();
60
70
OFCondition
read
(
DcmItem
&dset);
71
78
OFCondition
write
(
DcmItem
&dset);
79
83
DVPSannotationUnit
getAnnotationUnits
();
84
88
size_t
getNumberOfPoints
();
89
96
OFCondition
getPoint
(
size_t
idx, Float32& x, Float32& y);
97
101
DVPSGraphicType
getGraphicType
();
102
106
OFBool
isFilled
();
107
115
OFCondition
setData
(
size_t
number,
const
Float32 *data, DVPSannotationUnit unit);
116
121
OFCondition
setGraphicType
(DVPSGraphicType gtype);
122
127
OFCondition
setFilled
(OFBool filled);
128
129
private
:
130
132
DVPSGraphicObject
&
operator=
(
const
DVPSGraphicObject
&);
133
135
DcmCodeString
graphicAnnotationUnits
;
137
DcmUnsignedShort
numberOfGraphicPoints
;
139
DcmFloatingPointSingle
graphicData
;
141
DcmCodeString
graphicType
;
143
DcmCodeString
graphicFilled
;
144
};
145
146
#endif
147
148
/*
149
* $Log: dvpsgr.h,v $
150
* Revision 1.10 2010-10-14 13:16:36 joergr
151
* Updated copyright header. Added reference to COPYRIGHT file.
152
*
153
* Revision 1.9 2010-10-07 14:31:35 joergr
154
* Removed leading underscore characters from preprocessor symbols (reserved).
155
*
156
* Revision 1.8 2009-11-24 14:12:57 uli
157
* Switched to logging mechanism provided by the "new" oflog module.
158
*
159
* Revision 1.7 2005-12-08 16:03:47 meichel
160
* Changed include path schema for all DCMTK header files
161
*
162
* Revision 1.6 2001/09/26 15:36:11 meichel
163
* Adapted dcmpstat to class OFCondition
164
*
165
* Revision 1.5 2001/06/01 15:50:16 meichel
166
* Updated copyright header
167
*
168
* Revision 1.4 2000/06/02 16:00:47 meichel
169
* Adapted all dcmpstat classes to use OFConsole for log and error output
170
*
171
* Revision 1.3 2000/03/08 16:28:52 meichel
172
* Updated copyright header.
173
*
174
* Revision 1.2 1998/12/14 16:10:30 meichel
175
* Implemented Presentation State interface for graphic layers,
176
* text and graphic annotations, presentation LUTs.
177
*
178
* Revision 1.1 1998/11/27 14:50:28 meichel
179
* Initial Release.
180
*
181
*
182
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2