Public Member Functions | |
DVPSOverlay () | |
default constructor | |
DVPSOverlay (const DVPSOverlay ©) | |
copy constructor | |
DVPSOverlay * | clone () const |
clone method. | |
virtual | ~DVPSOverlay () |
destructor | |
OFCondition | read (DcmItem &dset, Uint8 ovGroup, Uint8 asGroup=0xFF) |
reads the specified overlay group from a DICOM dataset. | |
OFCondition | write (DcmItem &dset) |
writes the overlay plane managed by this object to a DICOM dataset. | |
Uint8 | getOverlayGroup () const |
get group number of overlay repeating group managed by this object. | |
void | setOverlayGroup (Uint8 newGroup) |
sets the group number for the overlay repeating group managed by this object. | |
OFBool | isSuitableAsShutter (unsigned long x, unsigned long y) |
checks if the overlay is suitable as a bitmap shutter for an image with the given image size. | |
const char * | getOverlayLabel () |
gets the overlay label if present. | |
const char * | getOverlayDescription () |
gets the overlay description if present. | |
OFBool | isROI () |
checks whether this overlay is ROI type. | |
OFCondition | getValues (Sint16 &originX, Sint16 &originY, Uint16 &sizeX, Uint16 &sizeY) |
retrieve origin and size values for this overlay | |
DcmOverlayData & | getData () |
return reference to overlay data | |
DcmLongString & | getLabel () |
return reference to overlay label | |
DcmLongString & | getDescription () |
return reference to overlay description | |
void | setLog (OFConsole *stream, OFBool verbMode, OFBool dbgMode) |
sets a new log stream | |
Private Member Functions | |
DVPSOverlay & | operator= (const DVPSOverlay &) |
private undefined assignment operator | |
Private Attributes | |
Uint8 | overlayGroup |
lower byte of the overlay repeating group managed by this object | |
DcmUnsignedShort | overlayRows |
VR=US, VM=1, Type=1. | |
DcmUnsignedShort | overlayColumns |
VR=US, VM=1, Type=1. | |
DcmCodeString | overlayType |
VR=CS, VM=1, Type=1. | |
DcmSignedShort | overlayOrigin |
VR=SS, VM=2, Type=1. | |
DcmUnsignedShort | overlayBitsAllocated |
VR=US, VM=1, Type=1. | |
DcmUnsignedShort | overlayBitPosition |
VR=US, VM=1, Type=1. | |
DcmOverlayData | overlayData |
VR=OW, VM=1, Type=1C. | |
DcmLongString | overlayDescription |
VR=LO, VM=1, Type=3. | |
DcmLongString | overlayLabel |
VR=LO, VM=1, Type=3. | |
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 a single overlay (one instance of the Overlay Plane Module repeating elements) that is contained in a Presentation State object.
Definition at line 48 of file dvpsov.h.
|
clone method.
Definition at line 61 of file dvpsov.h. References DVPSOverlay(). |
|
gets the overlay description if present. If the label string is absent, this method returns NULL.
|
|
get group number of overlay repeating group managed by this object.
Definition at line 93 of file dvpsov.h. References overlayGroup. |
|
gets the overlay label if present. If the label string is absent, this method returns NULL.
|
|
retrieve origin and size values for this overlay
|
|
checks whether this overlay is ROI type.
|
|
checks if the overlay is suitable as a bitmap shutter for an image with the given image size. Checks overlay type, origin and size.
|
|
reads the specified overlay group from a DICOM dataset. The DICOM elements of the Overlay Plane module are copied from the dataset to this object. The OverlayData element, which is optional in the Overlay Plane Module but required for presentation states, must be present. The completeness of the overlay plane (presence of all required elements, value multiplicity) is checked. If this method returns an error code, the object is in undefined state afterwards.
|
|
sets a new log stream
|
|
sets the group number for the overlay repeating group managed by this object.
Definition at line 99 of file dvpsov.h. References overlayGroup. |
|
writes the overlay plane managed by this object to a DICOM dataset. Copies of the DICOM element managed by this object are inserted into the DICOM dataset.
|