33 #include "dcmtk/config/osconfig.h"
34 #include "dcmtk/dcmdata/dctk.h"
35 #include "dcmtk/dcmpstat/dvpstyp.h"
109 double BRHC_y, DVPSannotationUnit unit, DVPSTextJustification justification);
DcmCodeString anchorPointAnnotationUnits
VR=CS, VM=1, Type 1c.
a class representing a list of DICOM elements in which each element has a different tag and elements ...
DVPSTextObject & operator=(const DVPSTextObject &)
private undefined assignment operator
DVPSTextObject()
default constructor
OFCondition setText(const char *text)
assigns a new "unformatted text value" for this text object.
OFBool haveAnchorPoint()
checks if this text object contains an anchor point.
DcmFloatingPointSingle boundingBoxBRHC
VR=FL, VM=2, Type 1c.
double getBoundingBoxBRHC_y()
gets the bounding box BRHC y value.
double getAnchorPoint_y()
gets the anchor point y value.
an item of the text object sequence in a presentation state (internal use only).
DVPSannotationUnit getBoundingBoxAnnotationUnits()
gets the bounding box annotation units.
DcmCodeString boundingBoxAnnotationUnits
VR=CS, VM=1, Type 1c.
OFBool anchorPointIsVisible()
gets the anchor point visibility May only be called when an anchor point is present (haveAnchorPoint(...
virtual ~DVPSTextObject()
destructor
OFBool haveBoundingBox()
checks if this text object contains bounding box.
const char * getText()
gets the unformatted text value for this text object.
DVPSannotationUnit getAnchorPointAnnotationUnits()
gets the anchor point annotation units.
DcmFloatingPointSingle boundingBoxTLHC
VR=FL, VM=2, Type 1c.
DVPSTextJustification getBoundingBoxHorizontalJustification()
gets the bounding box horizontal justification.
OFCondition write(DcmItem &dset)
writes the text object managed by this object to a DICOM dataset.
a class representing the DICOM value representation 'Short Text' (ST)
double getBoundingBoxBRHC_x()
gets the bounding box BRHC x value.
double getBoundingBoxTLHC_y()
gets the bounding box TLHC y value.
a class representing the DICOM value representation 'Code String' (CS)
DcmCodeString anchorPointVisibility
VR=CS, VM=1, Type 1c.
double getBoundingBoxTLHC_x()
gets the bounding box TLHC x value.
DcmShortText unformattedTextValue
VR=ST, VM=1, Type 1.
OFCondition setBoundingBox(double TLHC_x, double TLHC_y, double BRHC_x, double BRHC_y, DVPSannotationUnit unit, DVPSTextJustification justification)
sets bounding box for this text object.
double getAnchorPoint_x()
gets the anchor point x value.
void removeBoundingBox()
removes any bounding box from the text object.
a class representing the DICOM value representation 'Floating Point Single' (FL)
OFCondition read(DcmItem &dset)
reads a text object from a DICOM dataset.
DVPSTextObject * clone()
clone method.
OFCondition setAnchorPoint(double x, double y, DVPSannotationUnit unit, OFBool isVisible)
sets an anchor point for this text object.
DcmFloatingPointSingle anchorPoint
VR=FL, VM=2, Type 1c.
DcmCodeString boundingBoxTextHorizontalJustification
VR=CS, VM=1, Type 1c.
General purpose class for condition codes.
void removeAnchorPoint()
removes any anchor point from the text object.