Public Member Functions | |
DVPSDisplayedArea_PList () | |
default constructor | |
DVPSDisplayedArea_PList (const DVPSDisplayedArea_PList ©) | |
copy constructor | |
DVPSDisplayedArea_PList * | clone () |
clone method. | |
virtual | ~DVPSDisplayedArea_PList () |
destructor | |
OFCondition | read (DcmItem &dset) |
reads a list of displayed area selections (DisplayedAreaSelectionSequence) from a DICOM dataset. | |
OFCondition | write (DcmItem &dset) |
writes the list of displayed area selections managed by this object to a DICOM dataset. | |
void | clear () |
reset the object to initial state. | |
size_t | size () const |
gets the number of displayed area selections in this list. | |
DVPSDisplayedArea * | findDisplayedArea (const char *instanceUID, unsigned long frame) |
checks if an displayed area selection exists for the given image and frame. | |
DVPSDisplayedArea * | createDisplayedArea (DVPSReferencedSeries_PList &allReferences, const char *sopclassUID, const char *instanceUID, unsigned long frame, unsigned long numberOfFrames, DVPSObjectApplicability applicability) |
finds or creates a displayed area selection SQ item with an applicability controlled by the applicability, instanceUID and frame parameters. | |
void | setLog (OFConsole *stream, OFBool verbMode, OFBool dbgMode) |
sets a new log stream | |
void | rotateAndFlip (DVPSRotationType rotationFrom, OFBool isFlippedFrom, DVPSRotationType rotationTo, OFBool isFlippedTo) |
adjusts all displayed area coordinates for the rotation and flipping status of the image. | |
Private Member Functions | |
DVPSDisplayedArea_PList & | operator= (const DVPSDisplayedArea_PList &) |
private undefined assignment operator | |
Private Attributes | |
OFList< DVPSDisplayedArea * > | 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 one complete displayed area selection sequence contained in a presentation state object.
Definition at line 50 of file dvpsdal.h.
|
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 63 of file dvpsdal.h. References DVPSDisplayedArea_PList(). |
|
finds or creates a displayed area selection SQ item with an applicability controlled by the applicability, instanceUID and frame parameters. The displayed area selection sequence is rearranged such that all other referenced images/frames keep their old displayed area settings.
|
|
checks if an displayed area selection exists for the given image and frame.
|
|
reads a list of displayed area selections (DisplayedAreaSelectionSequence) from a DICOM dataset. The DICOM elements of the displayed area selection item are copied from the dataset to this object. The completeness of all items (presence of all required elements, value multiplicity) is checked. If this method returns an error code, the object is in undefined state afterwards.
|
|
adjusts all displayed area coordinates for the rotation and flipping status of the image.
|
|
sets a new log stream
|
|
gets the number of displayed area selections in this list.
Definition at line 95 of file dvpsdal.h. References list_, and OFList< T >::size(). |
|
writes the list of displayed area selections managed by this object to a DICOM dataset. Copies of the DICOM elements managed by this object are inserted into the DICOM dataset.
|