00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #ifndef __DVPSDAL_H__
00035 #define __DVPSDAL_H__
00036
00037 #include "dcmtk/config/osconfig.h"
00038 #include "dcmtk/ofstd/oflist.h"
00039 #include "dcmtk/dcmdata/dctk.h"
00040 #include "dcmtk/dcmpstat/dvpstyp.h"
00041
00042 class DVPSDisplayedArea;
00043 class DVPSReferencedSeries_PList;
00044
00050 class DVPSDisplayedArea_PList
00051 {
00052 public:
00054 DVPSDisplayedArea_PList();
00055
00057 DVPSDisplayedArea_PList(const DVPSDisplayedArea_PList& copy);
00058
00063 DVPSDisplayedArea_PList *clone() { return new DVPSDisplayedArea_PList(*this); }
00064
00066 virtual ~DVPSDisplayedArea_PList();
00067
00076 OFCondition read(DcmItem &dset);
00077
00084 OFCondition write(DcmItem &dset);
00085
00090 void clear();
00091
00095 size_t size() const { return list_.size(); }
00096
00102 DVPSDisplayedArea *findDisplayedArea(const char *instanceUID, unsigned long frame);
00103
00119 DVPSDisplayedArea *createDisplayedArea(
00120 DVPSReferencedSeries_PList& allReferences,
00121 const char *sopclassUID,
00122 const char *instanceUID,
00123 unsigned long frame,
00124 unsigned long numberOfFrames,
00125 DVPSObjectApplicability applicability);
00126
00132 void setLog(OFConsole *stream, OFBool verbMode, OFBool dbgMode);
00133
00141 void rotateAndFlip(
00142 DVPSRotationType rotationFrom,
00143 OFBool isFlippedFrom,
00144 DVPSRotationType rotationTo,
00145 OFBool isFlippedTo);
00146
00147 private:
00148
00151 DVPSDisplayedArea_PList& operator=(const DVPSDisplayedArea_PList&);
00152
00155 OFList<DVPSDisplayedArea *> list_;
00156
00159 OFConsole *logstream;
00160
00163 OFBool verboseMode;
00164
00167 OFBool debugMode;
00168
00169
00170 };
00171
00172
00173 #endif
00174
00175
00176
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
00192
00193
00194
00195
00196
00197
00198
00199
00200
00201
00202
00203
00204
00205
00206