OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmsr
include
dcmtk
dcmsr
dsrsc3vl.h
1
/*
2
*
3
* Copyright (C) 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: dcmsr
15
*
16
* Author: Joerg Riesmeier
17
*
18
* Purpose:
19
* classes: DSRSpatialCoordinates3DValue
20
*
21
* Last Update: $Author: joergr $
22
* Update Date: $Date: 2010-10-14 13:16:32 $
23
* CVS/RCS Revision: $Revision: 1.2 $
24
* Status: $State: Exp $
25
*
26
* CVS/RCS Log at end of file
27
*
28
*/
29
30
31
#ifndef DSRSC3VL_H
32
#define DSRSC3VL_H
33
34
#include "dcmtk/config/osconfig.h"
/* make sure OS specific configuration is included first */
35
36
#include "dcmtk/dcmsr/dsrtypes.h"
37
#include "dcmtk/dcmsr/dsrsc3gr.h"
38
39
40
/*---------------------*
41
* class declaration *
42
*---------------------*/
43
46
class
DSRSpatialCoordinates3DValue
47
{
48
// allow access to getValuePtr()
49
friend
class
DSRContentItem
;
50
51
public
:
52
55
DSRSpatialCoordinates3DValue
();
56
60
DSRSpatialCoordinates3DValue
(
const
DSRTypes::E_GraphicType3D
graphicType);
61
65
DSRSpatialCoordinates3DValue
(
const
DSRSpatialCoordinates3DValue
&coordinatesValue);
66
69
virtual
~DSRSpatialCoordinates3DValue
();
70
76
DSRSpatialCoordinates3DValue
&
operator=
(
const
DSRSpatialCoordinates3DValue
&coordinatesValue);
77
82
virtual
void
clear
();
83
89
virtual
OFBool
isValid
()
const
;
90
97
virtual
OFBool
isShort
(
const
size_t
flags)
const
;
98
105
virtual
OFCondition
print
(STD_NAMESPACE ostream &stream,
106
const
size_t
flags)
const
;
107
112
virtual
OFCondition
read
(
DcmItem
&dataset);
113
118
virtual
OFCondition
write
(
DcmItem
&dataset)
const
;
119
125
virtual
OFCondition
readXML
(
const
DSRXMLDocument
&doc,
126
DSRXMLCursor
cursor);
127
133
virtual
OFCondition
writeXML
(STD_NAMESPACE ostream &stream,
134
const
size_t
flags)
const
;
135
144
virtual
OFCondition
renderHTML
(STD_NAMESPACE ostream &docStream,
145
STD_NAMESPACE ostream &annexStream,
146
size_t
&annexNumber,
147
const
size_t
flags)
const
;
148
152
inline
const
DSRSpatialCoordinates3DValue
&
getValue
()
const
153
{
154
return
*
this
;
155
}
156
162
inline
DSRTypes::E_GraphicType3D
getGraphicType
()
const
163
{
164
return
GraphicType
;
165
}
166
173
OFCondition
setGraphicType
(
const
DSRTypes::E_GraphicType3D
graphicType);
174
178
inline
const
OFString
&
getFrameOfReferenceUID
()
const
179
{
180
return
FrameOfReferenceUID
;
181
}
182
187
OFCondition
setFrameOfReferenceUID
(
const
OFString
&frameOfReferenceUID);
188
193
OFCondition
getValue
(
DSRSpatialCoordinates3DValue
&coordinatesValue)
const
;
194
202
OFCondition
setValue
(
const
DSRSpatialCoordinates3DValue
&coordinatesValue);
203
209
inline
DSRGraphicData3DList
&
getGraphicDataList
()
210
{
211
return
GraphicDataList
;
212
}
213
214
215
protected
:
216
220
inline
DSRSpatialCoordinates3DValue
*
getValuePtr
()
221
{
222
return
this
;
223
}
224
235
OFBool
checkData
(
const
DSRTypes::E_GraphicType3D
graphicType,
236
const
DSRGraphicData3DList
&graphicDataList,
237
const
OFString
&frameOfReferenceUID)
const
;
238
239
240
private
:
241
243
DSRTypes::E_GraphicType3D
GraphicType
;
245
DSRGraphicData3DList
GraphicDataList
;
247
OFString
FrameOfReferenceUID
;
248
};
249
250
251
#endif
252
253
254
/*
255
* CVS/RCS Log:
256
* $Log: dsrsc3vl.h,v $
257
* Revision 1.2 2010-10-14 13:16:32 joergr
258
* Updated copyright header. Added reference to COPYRIGHT file.
259
*
260
* Revision 1.1 2010-09-28 14:08:14 joergr
261
* Added support for Colon CAD SR which requires a new value type (SCOORD3D).
262
*
263
*
264
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2