the representation of a Annotation Content SQ item for Stored Print
More...
the representation of a Annotation Content SQ item for Stored Print
◆ clear()
void DVPSAnnotationContent::clear |
( |
| ) |
|
resets the object to initial state.
After this call, the object is in the same state as after creation with the default constructor.
◆ clone()
◆ getSOPInstanceUID()
const char * DVPSAnnotationContent::getSOPInstanceUID |
( |
| ) |
|
gets the current SOP Instance UID.
- Returns
- SOP Instance UID, may be NULL.
◆ prepareBasicAnnotationBox()
writes the attributes managed by this objects that are part of a basic annotation box N-SET request into the DICOM dataset.
Copies of the DICOM element managed by this object are inserted into the DICOM dataset.
- Parameters
-
dset | the dataset to which the data is written |
- Returns
- EC_Normal if successful, an error code otherwise.
◆ read()
reads an annotation content item from a DICOM dataset.
The DICOM elements of the referenced item are copied from the dataset to this object. The completeness of the item (presence of all required elements, value multiplicity) is checked. If this method returns an error code, the object is in undefined state afterwards.
- Parameters
-
dset | the item of the AnnotationContentSequence from which the data is to be read |
- Returns
- EC_Normal if successful, an error code otherwise.
◆ setContent()
OFCondition DVPSAnnotationContent::setContent |
( |
const char * |
instanceuid, |
|
|
const char * |
text, |
|
|
Uint16 |
position |
|
) |
| |
sets the content of this annotation box object.
- Parameters
-
instanceuid | SOP instance UID of this annotation |
text | annotation text string |
position | annotation box position |
- Returns
- EC_Normal if successful, an error code otherwise.
◆ setSOPInstanceUID()
OFCondition DVPSAnnotationContent::setSOPInstanceUID |
( |
const char * |
value | ) |
|
sets the SOP instance UID (which is returned by the Print SCP).
- Parameters
-
value | new attribute value, must not be NULL. |
- Returns
- EC_Normal if successful, an error code otherwise.
◆ write()
writes the annotation box managed by this object to a DICOM dataset.
Copies of the DICOM element managed by this object are inserted into the DICOM dataset.
- Parameters
-
dset | the the item of the AnnotationContentSequence to which the data is written |
- Returns
- EC_Normal if successful, an error code otherwise.
The documentation for this class was generated from the following file:
- dcmpstat/include/dcmtk/dcmpstat/dvpsab.h