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 #ifndef DVPSSVL_H
00031 #define DVPSSVL_H
00032
00033 #include "dcmtk/config/osconfig.h"
00034 #include "dcmtk/dcmdata/dcitem.h"
00035 #include "dcmtk/dcmpstat/dvpstyp.h"
00036
00037 class DVPSSoftcopyVOI;
00038 class DVPSReferencedSeries_PList;
00039
00045 class DVPSSoftcopyVOI_PList
00046 {
00047 public:
00049 DVPSSoftcopyVOI_PList();
00050
00052 DVPSSoftcopyVOI_PList(const DVPSSoftcopyVOI_PList& copy);
00053
00058 DVPSSoftcopyVOI_PList *clone() { return new DVPSSoftcopyVOI_PList(*this); }
00059
00061 virtual ~DVPSSoftcopyVOI_PList();
00062
00071 OFCondition read(DcmItem &dset);
00072
00079 OFCondition write(DcmItem &dset);
00080
00085 void clear();
00086
00090 size_t size() const { return list_.size(); }
00091
00103 OFCondition createFromImage(
00104 DcmItem &dset,
00105 DVPSReferencedSeries_PList& allReferences,
00106 const char *sopclassUID,
00107 const char *instanceUID,
00108 DVPSVOIActivation voiActivation);
00109
00115 DVPSSoftcopyVOI *findSoftcopyVOI(const char *instanceUID, unsigned long frame);
00116
00132 DVPSSoftcopyVOI *createSoftcopyVOI(
00133 DVPSReferencedSeries_PList& allReferences,
00134 const char *sopclassUID,
00135 const char *instanceUID,
00136 unsigned long frame,
00137 unsigned long numberOfFrames,
00138 DVPSObjectApplicability applicability);
00139
00151 void removeSoftcopyVOI(
00152 DVPSReferencedSeries_PList& allReferences,
00153 const char *instanceUID,
00154 unsigned long frame,
00155 unsigned long numberOfFrames,
00156 DVPSObjectApplicability applicability);
00157
00158 private:
00159
00161 DVPSSoftcopyVOI_PList& operator=(const DVPSSoftcopyVOI_PList&);
00162
00165 OFList<DVPSSoftcopyVOI *> list_;
00166
00167 };
00168
00169
00170 #endif
00171
00172
00173
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
00207
00208
00209
00210
00211
00212