33 #include "dcmtk/config/osconfig.h"
34 #include "dcmtk/dcmdata/dctk.h"
35 #include "dcmtk/dcmpstat/dvpstyp.h"
OFCondition read(DcmItem &dset)
reads a graphic object from a DICOM dataset.
a class representing a list of DICOM elements in which each element has a different tag and elements ...
DVPSannotationUnit getAnnotationUnits()
gets the graphic annotation units.
virtual ~DVPSGraphicObject()
destructor
OFCondition setFilled(OFBool filled)
sets the graphic filled status for the graphic object
DVPSGraphicObject()
default constructor
OFCondition setData(size_t number, const Float32 *data, DVPSannotationUnit unit)
sets the graphic data for this graphic object.
OFBool isFilled()
checks if the graphic is filled
DVPSGraphicObject & operator=(const DVPSGraphicObject &)
private undefined assignment operator
OFCondition write(DcmItem &dset)
writes the graphic object managed by this object to a DICOM dataset.
a class representing the DICOM value representation 'Code String' (CS)
DcmCodeString graphicAnnotationUnits
VR=CS, VM=1, Type 1.
size_t getNumberOfPoints()
gets the number of graphic points.
DcmUnsignedShort numberOfGraphicPoints
VR=US, VM=1, Type 1.
DVPSGraphicObject * clone()
clone method.
an item of the graphic object sequence in a presentation state (internal use only).
a class representing the DICOM value representation 'Unsigned Short' (US)
DVPSGraphicType getGraphicType()
gets the graphic type of this graphic object.
OFCondition getPoint(size_t idx, Float32 &x, Float32 &y)
gets one point from the graphic data.
a class representing the DICOM value representation 'Floating Point Single' (FL)
DcmCodeString graphicFilled
VR=CS, VM=1, Type 1c.
DcmCodeString graphicType
VR=CS, VM=1, Type 1.
DcmFloatingPointSingle graphicData
VR=FL, VM=2-n, Type 1.
OFCondition setGraphicType(DVPSGraphicType gtype)
sets the graphic type for the graphic object
General purpose class for condition codes.