DCMTK
Version 3.6.2
OFFIS DICOM Toolkit
|
the list of VOI LUTs contained in an image attached to a presentation state. More...
Public Member Functions | |
DVPSVOILUT_PList () | |
default constructor | |
DVPSVOILUT_PList (const DVPSVOILUT_PList ©) | |
copy constructor | |
DVPSVOILUT_PList * | clone () |
clone method. More... | |
virtual | ~DVPSVOILUT_PList () |
destructor | |
OFCondition | read (DcmItem &dset) |
reads a list of VOI LUTs from a DICOM dataset. More... | |
void | clear () |
reset the object to initial state. More... | |
size_t | size () const |
get number of VOI LUTs in this list. More... | |
DVPSVOILUT * | getVOILUT (size_t idx) |
returns a pointer to the VOI LUT with the given index or NULL if it does not exist. More... | |
Private Member Functions | |
DVPSVOILUT_PList & | operator= (const DVPSVOILUT_PList &) |
private undefined assignment operator | |
Private Attributes | |
OFList< DVPSVOILUT * > | list_ |
the list maintained by this object | |
the list of VOI LUTs contained in an image attached to a presentation state.
This class manages the data structures comprising the VOI LUT Sequence of one image attached to a presentation state.
void DVPSVOILUT_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.
DVPSVOILUT* DVPSVOILUT_PList::getVOILUT | ( | size_t | idx | ) |
returns a pointer to the VOI LUT with the given index or NULL if it does not exist.
idx | index, must be < size() |
OFCondition DVPSVOILUT_PList::read | ( | DcmItem & | dset | ) |
reads a list of VOI LUTs from a DICOM dataset.
The DICOM elements of the VOI LUT Sequence 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.
dset | the dataset from which the VOI LUT Sequence is to be read |
|
inline |
get number of VOI LUTs in this list.