33 #include "dcmtk/config/osconfig.h" 35 #include "dcmtk/dcmdata/dcvrcs.h" 36 #include "dcmtk/dcmpstat/dvpstxl.h" 37 #include "dcmtk/dcmpstat/dvpsgrl.h" 38 #include "dcmtk/dcmpstat/dvpsril.h" 39 #include "dcmtk/dcmpstat/dvpstyp.h" 104 const char *sopclassUID,
105 const char *instanceUID,
107 DVPSObjectApplicability applicability);
123 const char *instanceUID,
125 DVPSObjectApplicability applicability=DVPSB_currentFrame);
a class representing a list of DICOM elements in which each element has a different tag and elements ...
DVPSGraphicObject * getGraphicObject(size_t idx)
returns a pointer to the graphic object with the given index or NULL if it does not exist...
OFBool isEmpty()
checks if this annotation layer is empty.
DVPSTextObject * getTextObject(size_t idx)
returns a pointer to the text object with the given index or NULL if it does not exist.
the list of text objects contained in a presentation state (internal use only).
an item of the text object sequence in a presentation state (internal use only).
DVPSGraphicObject * removeGraphicObject(size_t idx)
returns a pointer to the graphic object with the given index (or NULL if it does not exist) and remov...
void setAnnotationLayer(const char *aLayer)
set annotation layer name of this annotation.
DVPSGraphicObject_PList graphicObjectList
GraphicObjectSequence, Type 1c.
DVPSGraphicAnnotation()
default constructor
OFCondition addImageReference(const char *sopclassUID, const char *instanceUID, unsigned long frame, DVPSObjectApplicability applicability)
add a new image reference.
DVPSReferencedImage_PList referencedImageList
ReferencedImageSequence, Type 1c.
an item of the graphic annotation sequence in a presentation state (internal use only).
a class representing the DICOM value representation 'Code String' (CS)
DVPSGraphicAnnotation & operator=(const DVPSGraphicAnnotation &)
private undefined assignment operator
OFBool isApplicable(const char *instanceUID, unsigned long frame, DVPSObjectApplicability applicability=DVPSB_currentFrame)
checks if this annotation layer is applicable to the given image and frame.
an item of the graphic object sequence in a presentation state (internal use only).
DVPSTextObject * removeTextObject(size_t idx)
returns a pointer to the text object with the given index (or NULL if it does not exist) and removes ...
size_t getNumberOfTextObjects()
returns the number of text objects in this annotation.
DVPSTextObject_PList textObjectList
TextObjectSequence, Type 1c.
void addGraphicObject(DVPSGraphicObject *graphic)
adds the given graphic object to the list of graphic objects managed by this object.
DcmCodeString graphicAnnotationLayer
VR=CS, VM=1, Type 1.
OFCondition read(DcmItem &dset)
reads a graphic annotation from a DICOM dataset.
const char * getAnnotationLayer()
get annotation layer name.
size_t getNumberOfGraphicObjects()
returns the number of graphic objects in this annotation.
DVPSGraphicAnnotation * clone()
clone method.
the list of graphic objects contained in a presentation state (internal use only).
OFCondition write(DcmItem &dset)
writes the graphic annotation managed by this object to a DICOM dataset.
virtual ~DVPSGraphicAnnotation()
destructor
the list of referenced images contained in a presentation state (internal use only).
General purpose class for condition codes.
void addTextObject(DVPSTextObject *text)
adds the given text object to the list of text objects managed by this object.