OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmpstat
include
dcmtk
dcmpstat
dvpscu.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: DVPSCurve
20
*
21
* Last Update: $Author: joergr $
22
* Update Date: $Date: 2010-10-14 13:16:36 $
23
* CVS/RCS Revision: $Revision: 1.9 $
24
* Status: $State: Exp $
25
*
26
* CVS/RCS Log at end of file
27
*
28
*/
29
30
#ifndef DVPSCU_H
31
#define DVPSCU_H
32
33
#include "dcmtk/config/osconfig.h"
/* make sure OS specific configuration is included first */
34
#include "dcmtk/dcmpstat/dvpstyp.h"
35
#include "dcmtk/ofstd/ofstring.h"
36
#include "dcmtk/dcmdata/dctypes.h"
37
#include "dcmtk/dcmdata/dcerror.h"
38
39
class
DcmItem
;
40
44
class
DVPSCurve
45
{
46
public
:
48
DVPSCurve
();
49
51
DVPSCurve
(
const
DVPSCurve
& copy);
52
57
DVPSCurve
*
clone
() {
return
new
DVPSCurve
(*
this
); }
58
60
virtual
~DVPSCurve
();
61
72
OFCondition
read
(
DcmItem
&dset, Uint8 group);
73
77
Uint8
getCurveGroup
() {
return
curveGroup
; }
78
82
size_t
getNumberOfPoints
() {
return
numberOfPoints
; }
83
87
DVPSCurveType
getTypeOfData
() {
return
typeOfData
; }
88
95
OFCondition
getPoint
(
size_t
idx,
double
& x,
double
& y);
96
101
const
char
*
getCurveDescription
() {
return
curveDescription
.
c_str
(); }
102
107
const
char
*
getCurveLabel
() {
return
curveLabel
.
c_str
(); }
108
113
const
char
*
getCurveAxisUnitsX
() {
return
axisUnitsX
.
c_str
(); }
114
119
const
char
*
getCurveAxisUnitsY
() {
return
axisUnitsY
.
c_str
(); }
120
121
private
:
123
DVPSCurve
&
operator=
(
const
DVPSCurve
&);
124
126
Uint8
curveGroup
;
128
size_t
numberOfPoints
;
130
DVPSCurveType
typeOfData
;
132
double
*
curveData
;
134
OFString
curveDescription
;
136
OFString
curveLabel
;
138
OFString
axisUnitsX
;
140
OFString
axisUnitsY
;
141
142
};
143
144
#endif
145
146
/*
147
* $Log: dvpscu.h,v $
148
* Revision 1.9 2010-10-14 13:16:36 joergr
149
* Updated copyright header. Added reference to COPYRIGHT file.
150
*
151
* Revision 1.8 2010-10-07 14:31:35 joergr
152
* Removed leading underscore characters from preprocessor symbols (reserved).
153
*
154
* Revision 1.7 2009-11-24 14:12:57 uli
155
* Switched to logging mechanism provided by the "new" oflog module.
156
*
157
* Revision 1.6 2005-12-08 16:03:37 meichel
158
* Changed include path schema for all DCMTK header files
159
*
160
* Revision 1.5 2001/09/26 15:36:09 meichel
161
* Adapted dcmpstat to class OFCondition
162
*
163
* Revision 1.4 2001/06/01 15:50:13 meichel
164
* Updated copyright header
165
*
166
* Revision 1.3 2000/06/02 16:00:44 meichel
167
* Adapted all dcmpstat classes to use OFConsole for log and error output
168
*
169
* Revision 1.2 2000/03/08 16:28:50 meichel
170
* Updated copyright header.
171
*
172
* Revision 1.1 1998/12/22 17:57:04 meichel
173
* Implemented Presentation State interface for overlays,
174
* VOI LUTs, VOI windows, curves. Added test program that
175
* allows to add curve data to DICOM images.
176
*
177
*
178
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2