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 __DVPSSVL_H__
00035 #define __DVPSSVL_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 DVPSSoftcopyVOI;
00043 class DVPSReferencedSeries_PList;
00044
00050 class DVPSSoftcopyVOI_PList
00051 {
00052 public:
00054 DVPSSoftcopyVOI_PList();
00055
00057 DVPSSoftcopyVOI_PList(const DVPSSoftcopyVOI_PList& copy);
00058
00063 DVPSSoftcopyVOI_PList *clone() { return new DVPSSoftcopyVOI_PList(*this); }
00064
00066 virtual ~DVPSSoftcopyVOI_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
00108 OFCondition createFromImage(
00109 DcmItem &dset,
00110 DVPSReferencedSeries_PList& allReferences,
00111 const char *sopclassUID,
00112 const char *instanceUID,
00113 DVPSVOIActivation voiActivation);
00114
00120 DVPSSoftcopyVOI *findSoftcopyVOI(const char *instanceUID, unsigned long frame);
00121
00137 DVPSSoftcopyVOI *createSoftcopyVOI(
00138 DVPSReferencedSeries_PList& allReferences,
00139 const char *sopclassUID,
00140 const char *instanceUID,
00141 unsigned long frame,
00142 unsigned long numberOfFrames,
00143 DVPSObjectApplicability applicability);
00144
00156 void removeSoftcopyVOI(
00157 DVPSReferencedSeries_PList& allReferences,
00158 const char *instanceUID,
00159 unsigned long frame,
00160 unsigned long numberOfFrames,
00161 DVPSObjectApplicability applicability);
00162
00168 void setLog(OFConsole *stream, OFBool verbMode, OFBool dbgMode);
00169
00170 private:
00171
00173 DVPSSoftcopyVOI_PList& operator=(const DVPSSoftcopyVOI_PList&);
00174
00177 OFList<DVPSSoftcopyVOI *> list_;
00178
00181 OFConsole *logstream;
00182
00185 OFBool verboseMode;
00186
00189 OFBool debugMode;
00190
00191 };
00192
00193
00194 #endif
00195
00196
00197
00198
00199
00200
00201
00202
00203
00204
00205
00206
00207
00208
00209
00210
00211
00212
00213
00214
00215
00216
00217
00218
00219
00220
00221
00222
00223
00224