OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmpstat
include
dcmtk
dcmpstat
dvpsdal.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: DVPSDisplayedArea_PList
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 DVPSDAL_H
31
#define DVPSDAL_H
32
33
#include "dcmtk/config/osconfig.h"
/* make sure OS specific configuration is included first */
34
#include "dcmtk/dcmdata/dcitem.h"
35
#include "dcmtk/dcmpstat/dvpstyp.h"
/* for enum types */
36
37
class
DVPSDisplayedArea
;
38
class
DVPSReferencedSeries_PList
;
39
45
class
DVPSDisplayedArea_PList
46
{
47
public
:
49
DVPSDisplayedArea_PList
();
50
52
DVPSDisplayedArea_PList
(
const
DVPSDisplayedArea_PList
& copy);
53
58
DVPSDisplayedArea_PList
*
clone
() {
return
new
DVPSDisplayedArea_PList
(*
this
); }
59
61
virtual
~DVPSDisplayedArea_PList
();
62
71
OFCondition
read
(
DcmItem
&dset);
72
79
OFCondition
write
(
DcmItem
&dset);
80
85
void
clear
();
86
90
size_t
size
()
const
{
return
list_
.
size
(); }
91
97
DVPSDisplayedArea
*
findDisplayedArea
(
const
char
*instanceUID,
unsigned
long
frame);
98
114
DVPSDisplayedArea
*
createDisplayedArea
(
115
DVPSReferencedSeries_PList
& allReferences,
116
const
char
*sopclassUID,
117
const
char
*instanceUID,
118
unsigned
long
frame,
119
unsigned
long
numberOfFrames,
120
DVPSObjectApplicability applicability);
121
129
void
rotateAndFlip
(
130
DVPSRotationType rotationFrom,
131
OFBool isFlippedFrom,
132
DVPSRotationType rotationTo,
133
OFBool isFlippedTo);
134
135
private
:
136
139
DVPSDisplayedArea_PList
&
operator=
(
const
DVPSDisplayedArea_PList
&);
140
143
OFList<DVPSDisplayedArea *>
list_
;
144
145
};
146
147
148
#endif
149
150
/*
151
* $Log: dvpsdal.h,v $
152
* Revision 1.12 2010-10-14 13:16:36 joergr
153
* Updated copyright header. Added reference to COPYRIGHT file.
154
*
155
* Revision 1.11 2010-10-07 14:31:35 joergr
156
* Removed leading underscore characters from preprocessor symbols (reserved).
157
*
158
* Revision 1.10 2009-11-24 14:12:57 uli
159
* Switched to logging mechanism provided by the "new" oflog module.
160
*
161
* Revision 1.9 2009-09-30 10:42:38 uli
162
* Make dcmpstat's include headers self-sufficient by including all
163
* needed headers directly and stop using dctk.h
164
*
165
* Revision 1.8 2005-12-08 16:03:40 meichel
166
* Changed include path schema for all DCMTK header files
167
*
168
* Revision 1.7 2003/09/05 14:30:06 meichel
169
* Introduced new API methods that allow Displayed Areas to be queried
170
* and set either relative to the image (ignoring rotation and flip) or
171
* in absolute values as defined in the standard. Rotate and flip methods
172
* now adjust displayed areas in the presentation state.
173
*
174
* Revision 1.6 2003/06/04 10:18:06 meichel
175
* Replaced private inheritance from template with aggregation
176
*
177
* Revision 1.5 2001/09/26 15:36:10 meichel
178
* Adapted dcmpstat to class OFCondition
179
*
180
* Revision 1.4 2001/06/01 15:50:14 meichel
181
* Updated copyright header
182
*
183
* Revision 1.3 2000/06/02 16:00:45 meichel
184
* Adapted all dcmpstat classes to use OFConsole for log and error output
185
*
186
* Revision 1.2 2000/03/08 16:28:51 meichel
187
* Updated copyright header.
188
*
189
* Revision 1.1 1999/07/22 16:39:06 meichel
190
* Adapted dcmpstat data structures and API to supplement 33 letter ballot text.
191
*
192
*
193
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2