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 DVPSALL_H
00031 #define DVPSALL_H
00032
00033 #include "dcmtk/config/osconfig.h"
00034 #include "dcmtk/dcmdata/dcitem.h"
00035 #include "dcmtk/dcmpstat/dvpstyp.h"
00036
00037 class DVPSGraphicLayer_PList;
00038 class DVPSOverlay_PList;
00039 class DVPSOverlayCurveActivationLayer;
00040
00049 class DVPSOverlayCurveActivationLayer_PList
00050 {
00051 public:
00053 DVPSOverlayCurveActivationLayer_PList();
00054
00056 DVPSOverlayCurveActivationLayer_PList(const DVPSOverlayCurveActivationLayer_PList& copy);
00057
00062 DVPSOverlayCurveActivationLayer_PList *clone() { return new DVPSOverlayCurveActivationLayer_PList(*this); }
00063
00065 virtual ~DVPSOverlayCurveActivationLayer_PList();
00066
00073 OFCondition read(DcmItem &dset);
00074
00081 OFCondition write(DcmItem &dset);
00082
00087 void clear();
00088
00103 OFCondition createFromImage(DcmItem &dset,
00104 DVPSGraphicLayer_PList &gLayerList,
00105 DVPSOverlay_PList &overlayList,
00106 DVPSoverlayActivation overlayActivation,
00107 OFBool curveActivation,
00108 DVPSGraphicLayering layering);
00109
00116 OFCondition setActivation(Uint16 group, const char *layer);
00117
00120 void removeActivation(Uint16 group);
00121
00125 const char *getActivationLayer(Uint16 group);
00126
00134 void renameLayer(const char *oldName, const char *newName);
00135
00140 void removeLayer(const char *name);
00141
00147 OFBool usesLayerName(const char *name);
00148
00158 size_t getNumberOfActivations(const char *layer, OFBool isCurve);
00159
00168 Uint16 getActivationGroup(const char *layer, size_t idx, OFBool isCurve);
00169
00170 private:
00171
00173 DVPSOverlayCurveActivationLayer_PList& operator=(const DVPSOverlayCurveActivationLayer_PList&);
00174
00177 OFList<DVPSOverlayCurveActivationLayer *> list_;
00178
00179 };
00180
00181 #endif
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
00213
00214
00215
00216
00217
00218
00219
00220
00221
00222
00223
00224
00225
00226
00227
00228
00229