DCMTK
Version 3.6.4
OFFIS DICOM Toolkit
|
Class representing a reference to a Segmentation. More...
Public Member Functions | |
IODSegmentationReference (const MAX_LEVEL level) | |
Constructor allowing to set reference level. More... | |
IODSegmentationReference () | |
Default constructor, uses level STUDY. | |
virtual IODReference * | clone () const |
Get (deep) clone copy of this reference. More... | |
virtual TYPE | getType () const |
Get type (always returns SEGMENT type) More... | |
virtual OFBool | readFromFile (const OFString &filename, const OFVector< Uint16 > segmentNumbers) |
Initialize reference from given file. More... | |
virtual | ~IODSegmentationReference () |
Destructor. | |
virtual void | clear () |
Clear reference data. | |
virtual OFBool | readFromFile (const OFString &filename) |
Initializes this reference from given file, i.e. More... | |
![]() | |
IODReference () | |
Constructor, creates empty reference, default level is "STUDY". | |
IODReference (const MAX_LEVEL level) | |
Constructor, creates empty reference with specified level. More... | |
virtual | ~IODReference () |
Destructor. | |
virtual OFCondition | check () const |
Check whether this reference is valid, i.e. More... | |
virtual OFString | toString () const |
Returns reference as a one line string. More... | |
virtual OFBool | readFromFile (const OFString &filename) |
Initializes this reference from given file, i.e. More... | |
virtual OFBool | readFromItem (DcmItem &item) |
Initializes this reference from given item, i.e. More... | |
Public Attributes | |
OFVector< Uint16 > | m_ReferencedSegmentNumber |
Referenced Segment Numbers. | |
![]() | |
OFString | m_PatientID |
Patient ID. | |
OFString | m_StudyInstanceUID |
Study Instance UID. | |
OFString | m_SeriesInstanceUID |
Series Instance UID. | |
OFString | m_SOPClassUID |
SOP Class UID. | |
OFString | m_SOPInstanceUID |
SOP Instance UID. | |
MAX_LEVEL | m_Level |
Maximum level this reference refers to. More... | |
Additional Inherited Members | |
![]() | |
enum | MAX_LEVEL { LEVEL_INSTANCE, LEVEL_SERIES, LEVEL_STUDY, LEVEL_PATIENT } |
The maximum DICOM entity level that this reference refers to. More... | |
enum | TYPE { GENERIC, IMAGE, SEGMENT } |
Type of reference. More... | |
Class representing a reference to a Segmentation.
Compared to IODReference, this class also allows to provide references to specific segments by referencing the value of their Segment Number attribute.
IODSegmentationReference::IODSegmentationReference | ( | const MAX_LEVEL | level | ) |
Constructor allowing to set reference level.
level | The maximum level this reference should deal with |
|
virtual |
Get (deep) clone copy of this reference.
Reimplemented from IODReference.
|
inlinevirtual |
Get type (always returns SEGMENT type)
Reimplemented from IODReference.
References IODReference::SEGMENT.
virtual OFBool IODReference::readFromFile |
Initializes this reference from given file, i.e.
extracts all identifiers up to the level defined for this reference.
filename | The file to read from |
|
virtual |
Initialize reference from given file.
filename | The file to read from |
segmentNumbers | The segment numbers to reference. It is not checked (so far) whether the referenced image file actually contains such Segment Numbers. First segment is 1. |