Public Member Functions | |
DVPSOverlay_PList () | |
default constructor | |
DVPSOverlay_PList (const DVPSOverlay_PList ©) | |
copy constructor | |
DVPSOverlay_PList * | clone () |
clone method. | |
virtual | ~DVPSOverlay_PList () |
destructor | |
OFCondition | read (DcmItem &dset) |
reads all overlay groups from a DICOM dataset. | |
OFCondition | write (DcmItem &dset) |
writes the overlays managed by this object to a DICOM dataset. | |
void | clear () |
reset the object to initial state. | |
OFBool | haveOverlayGroup (Uint16 group) |
check presence of overlay group | |
size_t | size () const |
gets the number of overlays in managed by this object. | |
DVPSOverlay * | getOverlay (size_t idx) |
gets the overlay object with the given index. | |
OFCondition | removeOverlay (size_t idx) |
removes the overlay object with the given index. | |
OFCondition | changeOverlayGroup (size_t idx, Uint16 newGroup) |
changes the repeating group used for an overlay. | |
OFCondition | addOverlay (DcmItem &overlayIOD, Uint16 groupInItem, Uint16 newGroup) |
adds a new overlay bitmap. | |
DVPSOverlay * | getOverlayGroup (Uint16 group) |
get overlay by group | |
void | setLog (OFConsole *stream, OFBool verbMode, OFBool dbgMode) |
sets a new log stream | |
Private Member Functions | |
DVPSOverlay_PList & | operator= (const DVPSOverlay_PList &) |
private undefined assignment operator | |
Private Attributes | |
OFList< DVPSOverlay * > | list_ |
the list maintained by this object | |
OFConsole * | logstream |
output stream for error messages, never NULL | |
OFBool | verboseMode |
flag indicating whether we're operating in verbose mode | |
OFBool | debugMode |
flag indicating whether we're operating in debug mode |
This class manages the data structures comprising the list of overlays (all instances of the Overlay Plane Module repeating elements) contained in a Presentation State object.
Definition at line 49 of file dvpsovl.h.
|
adds a new overlay bitmap. The overlay is read from a DICOM dataset which must contain the attributes required for a graphic or ROI overlay, see class DVPSOverlay. The dataset can be an image or standalone overlay IOD. The overlay data is copied into the presentation state, i.e. the DICOM dataset can be deleted after execution of this method.
|
|
changes the repeating group used for an overlay.
|
|
reset the object to initial state. After this call, the object is in the same state as after creation with the default constructor. |
|
clone method.
Definition at line 62 of file dvpsovl.h. References DVPSOverlay_PList(). |
|
gets the overlay object with the given index.
|
|
get overlay by group
|
|
check presence of overlay group
|
|
reads all overlay groups from a DICOM dataset. This method checks which overlays are contained in the DICOM dataset. All overlays that contain the OverlayData element are copied into the "list of overlays" structure managed by this object. The completeness of the overlays (presence of all required elements, value multiplicity) is checked. If this method returns an error code, the object is in undefined state afterwards.
|
|
removes the overlay object with the given index.
|
|
sets a new log stream
|
|
gets the number of overlays in managed by this object.
Definition at line 103 of file dvpsovl.h. References list_, and OFList< T >::size(). |
|
writes the overlays managed by this object to a DICOM dataset. Copies of the DICOM elements managed by this object are inserted into the DICOM dataset.
|