Class that holds a set of IODReference instances (or its sub classes) and offers helper functionality to read and write such references.
More...
Class that holds a set of IODReference instances (or its sub classes) and offers helper functionality to read and write such references.
Copy constructor, performs deep copy of provided references.
- Parameters
-
rhs | The references to assign |
Add reference to this set of references.
- Parameters
-
ref | The reference to add (ownership is taken if adding is successful |
- Returns
- OFTrue if adding is successful, OFFalse otherwise
Initialize references from set of DICOM files.
If a file could not be used, it is skipped. All references found by this method are added on top of existing ones, i.e. any existing data is not cleared by thi method.
- Parameters
-
dcmFiles | The DICOM file names to read |
maxLevel | The maximum level to extract |
- Returns
- Returns number of references (successful files) that could be added
Access references of this set (readonly)
- Returns
- Returns references managed by this class
virtual OFCondition IODReferences::readTractographyReferencedInstanceSequence |
( |
DcmItem & |
source | ) |
|
|
virtual |
Initialize references by reading the Referenced Instance Sequence as used in the Tractography Results Module.
- Parameters
-
source | The item to read from, must contain the Referenced Instance Sequence |
- Returns
- EC_Normal if all references could be read, IOD_EC_InvalidReference if no reference could be read, and IOD_EC_ReferencesOmitted if at least one reference could be read but at least one had also to be skipped.
virtual size_t IODReferences::size |
( |
| ) |
const |
|
virtual |
Returns number of references managed by this class.
- Returns
- Returns number of references
virtual OFCondition IODReferences::writeTractographyReferencedInstanceSequence |
( |
DcmItem & |
item | ) |
|
|
virtual |
Write references to Referenced Instance Sequence as used in the Tractography Results Module.
- Parameters
-
- Returns
- EC_Normal if all references could be written, error code otherwise
The documentation for this class was generated from the following file:
- dcmiod/include/dcmtk/dcmiod/iodreferences.h