Public Member Functions | |
DVPSGraphicObject () | |
default constructor | |
DVPSGraphicObject (const DVPSGraphicObject ©) | |
copy constructor | |
DVPSGraphicObject * | clone () |
clone method. | |
virtual | ~DVPSGraphicObject () |
destructor | |
OFCondition | read (DcmItem &dset) |
reads a graphic object from a DICOM dataset. | |
OFCondition | write (DcmItem &dset) |
writes the graphic object managed by this object to a DICOM dataset. | |
DVPSannotationUnit | getAnnotationUnits () |
gets the graphic annotation units. | |
size_t | getNumberOfPoints () |
gets the number of graphic points. | |
OFCondition | getPoint (size_t idx, Float32 &x, Float32 &y) |
gets one point from the graphic data. | |
DVPSGraphicType | getGraphicType () |
gets the graphic type of this graphic object. | |
OFBool | isFilled () |
checks if the graphic is filled | |
OFCondition | setData (size_t number, const Float32 *data, DVPSannotationUnit unit) |
sets the graphic data for this graphic object. | |
OFCondition | setGraphicType (DVPSGraphicType gtype) |
sets the graphic type for the graphic object | |
OFCondition | setFilled (OFBool filled) |
sets the graphic filled status for the graphic object | |
void | setLog (OFConsole *stream, OFBool verbMode, OFBool dbgMode) |
sets a new log stream | |
Private Member Functions | |
DVPSGraphicObject & | operator= (const DVPSGraphicObject &) |
private undefined assignment operator | |
Private Attributes | |
DcmCodeString | graphicAnnotationUnits |
VR=CS, VM=1, Type 1. | |
DcmUnsignedShort | numberOfGraphicPoints |
VR=US, VM=1, Type 1. | |
DcmFloatingPointSingle | graphicData |
VR=FL, VM=2-n, Type 1. | |
DcmCodeString | graphicType |
VR=CS, VM=1, Type 1. | |
DcmCodeString | graphicFilled |
VR=CS, VM=1, Type 1c. | |
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 item of the Graphic Object Sequence which is contained in the Graphic Annotation Sequence in a Presentation State object.
Definition at line 47 of file dvpsgr.h.
|
clone method.
Definition at line 60 of file dvpsgr.h. References DVPSGraphicObject(). |
|
gets the graphic annotation units.
|
|
gets the graphic type of this graphic object.
|
|
gets the number of graphic points.
|
|
gets one point from the graphic data.
|
|
checks if the graphic is filled
|
|
reads a graphic object from a DICOM dataset. The DICOM elements of the Graphic Object 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.
|
|
sets the graphic data for this graphic object.
|
|
sets the graphic filled status for the graphic object
|
|
sets the graphic type for the graphic object
|
|
sets a new log stream
|
|
writes the graphic object managed by this object to a DICOM dataset. Copies of the DICOM element managed by this object are inserted into the DICOM dataset.
|