33 #include "dcmtk/config/osconfig.h"
34 #include "dcmtk/dcmdata/dcitem.h"
35 #include "dcmtk/dcmpstat/dvpstyp.h"
106 DVPSoverlayActivation overlayActivation,
107 OFBool curveActivation,
108 DVPSGraphicLayering layering);
134 void renameLayer(
const char *oldName,
const char *newName);
void removeLayer(const char *name)
deletes all activation belonging to the given activation layer name.
a class representing a list of DICOM elements in which each element has a different tag and elements ...
the list of graphic layers contained in a presentation state (internal use only). ...
a curve or overlay activation layer in a presentation state (internal use only).
const char * getActivationLayer(Uint16 group)
get activation layer name of the given repeating group.
OFList< DVPSOverlayCurveActivationLayer * > list_
the list maintained by this object
virtual ~DVPSOverlayCurveActivationLayer_PList()
destructor
the list of curve and overlay activation layers contained in a presentation state (internal use only)...
void renameLayer(const char *oldName, const char *newName)
renames the activation layer name in all activations with a matching old activation layer name...
OFCondition write(DcmItem &dset)
writes the curve and overlay activations managed by this object to a DICOM dataset.
OFCondition setActivation(Uint16 group, const char *layer)
set activation layer for given repeating group.
void clear()
reset the object to initial state.
DVPSOverlayCurveActivationLayer_PList()
default constructor
OFCondition createFromImage(DcmItem &dset, DVPSGraphicLayer_PList &gLayerList, DVPSOverlay_PList &overlayList, DVPSoverlayActivation overlayActivation, OFBool curveActivation, DVPSGraphicLayering layering)
create graphic layers and activations for DICOM image.
Uint16 getActivationGroup(const char *layer, size_t idx, OFBool isCurve)
gets the repeating group of the overlay/curve activation with the given index on the given layer...
the list of overlays contained in a presentation state (internal use only).
OFBool usesLayerName(const char *name)
checks if the given layer name is used for any of the activation layers managed by this object...
DVPSOverlayCurveActivationLayer_PList * clone()
clone method.
size_t getNumberOfActivations(const char *layer, OFBool isCurve)
returns the number of activations for the given graphic layer and object type (curve or overlay)...
void removeActivation(Uint16 group)
remove activation for given repeating group.
DVPSOverlayCurveActivationLayer_PList & operator=(const DVPSOverlayCurveActivationLayer_PList &)
private undefined assignment operator
OFCondition read(DcmItem &dset)
reads the curve and overlay activations from a DICOM dataset.
General purpose class for condition codes.