DCMTK
Version 3.6.4
OFFIS DICOM Toolkit
|
the list of curves contained in image which is attached to a presentation state. More...
Public Member Functions | |
DVPSCurve_PList () | |
default constructor | |
DVPSCurve_PList (const DVPSCurve_PList ©) | |
copy constructor | |
DVPSCurve_PList * | clone () |
clone method. More... | |
virtual | ~DVPSCurve_PList () |
destructor | |
OFCondition | read (DcmItem &dset) |
reads all curve groups which can be displayed in a presentation state from a DICOM dataset. More... | |
void | clear () |
reset the object to initial state. More... | |
OFBool | haveCurveGroup (Uint16 group) |
check presence of curve group More... | |
DVPSCurve * | getCurveGroup (Uint16 group) |
get curve by group More... | |
DVPSCurve * | getCurve (size_t idx) |
get curve by index More... | |
size_t | size () const |
get number of curves in this list. More... | |
Private Member Functions | |
DVPSCurve_PList & | operator= (const DVPSCurve_PList &) |
private undefined assignment operator | |
Private Attributes | |
OFList< DVPSCurve * > | list_ |
the list maintained by this object | |
the list of curves contained in image which is attached to a presentation state.
This class manages the data structures comprising the list of curves (all instances of the Curve Module repeating elements) contained in an image object.
void DVPSCurve_PList::clear | ( | ) |
reset the object to initial state.
After this call, the object is in the same state as after creation with the default constructor.
|
inline |
clone method.
DVPSCurve* DVPSCurve_PList::getCurve | ( | size_t | idx | ) |
DVPSCurve* DVPSCurve_PList::getCurveGroup | ( | Uint16 | group | ) |
get curve by group
group | curve repeating group to be checked |
OFBool DVPSCurve_PList::haveCurveGroup | ( | Uint16 | group | ) |
check presence of curve group
group | curve repeating group to be checked |
OFCondition DVPSCurve_PList::read | ( | DcmItem & | dset | ) |
reads all curve groups which can be displayed in a presentation state from a DICOM dataset.
This method checks which curves are contained in the DICOM dataset. All curves complying with the presentation state requirements (i.e. 2-dimensional POLY or ROI curves without curve descriptor) are copied into the "list of curves" structure managed by this object. The completeness of the curves (presence of all required elements, value multiplicity) is checked. If this method returns an error code, the object is in undefined state afterwards.
dset | the DICOM dataset from which the curves are read |
|
inline |
get number of curves in this list.