Class representing a reference to an image.
More...
|
| IODImageReference () |
| Default constructor, uses level STUDY.
|
|
| IODImageReference (const MAX_LEVEL level) |
| Constructor allowing to set reference level.
|
|
| IODImageReference (const OFString &patientID, const OFString &studyUID, const OFString &seriesUID, const OFString &sopInstanceUID, const OFString &sopClassUID, const OFVector< Uint32 > &refFrameNumbers) |
| Convenience constructor setting reference data including frame numbers.
|
|
| IODImageReference (const OFString &patientID, const OFString &studyUID, const OFString &seriesUID, const OFString &sopInstanceUID, const OFString &sopClassUID) |
| Convenience constructor setting reference data without frame numbers.
|
|
virtual IODReference * | clone () const |
| Get (deep) clone copy of this reference.
|
|
virtual TYPE | getType () const |
| Get type (always returns IMAGE type)
|
|
virtual OFBool | readFromFile (const OFString &filename, const OFVector< Uint32 > frameNumbers) |
| Initialize reference from given file.
|
|
virtual | ~IODImageReference () |
| Destructor.
|
|
virtual void | clear () |
| Clear reference data.
|
|
virtual OFBool | readFromFile (const OFString &filename) |
| Initializes this reference from given file, i.e.
|
|
| IODReference () |
| Constructor, creates empty reference, default level is "STUDY".
|
|
| IODReference (const MAX_LEVEL level) |
| Constructor, creates empty reference with specified level.
|
|
virtual | ~IODReference () |
| Destructor.
|
|
virtual OFCondition | check () const |
| Check whether this reference is valid, i.e.
|
|
virtual OFString | toString () const |
| Returns reference as a one line string.
|
|
virtual OFBool | readFromItem (DcmItem &item) |
| Initializes this reference from given item, i.e.
|
|
|
OFVector< Uint32 > | m_ReferencedFrameNumber |
| Referenced frame 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.
|
|
Class representing a reference to an image.
Compared to IODReference, this class also allows to provide references to specific frames
◆ IODImageReference() [1/3]
IODImageReference::IODImageReference |
( |
const MAX_LEVEL |
level | ) |
|
Constructor allowing to set reference level.
- Parameters
-
level | The maximum level this reference should deal with |
◆ IODImageReference() [2/3]
Convenience constructor setting reference data including frame numbers.
- Parameters
-
patientID | Patient ID |
studyUID | Study Instance UID |
seriesUID | Series Instance UID |
sopInstanceUID | SOP Instance UID |
sopClassUID | SOP Class UID |
refFrameNumbers | Referenced Frame Numbers |
◆ IODImageReference() [3/3]
Convenience constructor setting reference data without frame numbers.
- Parameters
-
patientID | Patient ID |
studyUID | Study Instance UID |
seriesUID | Series Instance UID |
sopInstanceUID | SOP Instance UID |
sopClassUID | SOP Class UID |
◆ clone()
Get (deep) clone copy of this reference.
- Returns
- Returns deep copy of this reference, or NULL in case of error
Reimplemented from IODReference.
◆ getType()
virtual TYPE IODImageReference::getType |
( |
| ) |
const |
|
inlinevirtual |
Get type (always returns IMAGE type)
- Returns
- Returns IMAGE type
Reimplemented from IODReference.
◆ readFromFile() [1/2]
virtual OFBool IODReference::readFromFile |
( |
const OFString & |
filename | ) |
|
|
virtual |
Initializes this reference from given file, i.e.
extracts all identifiers up to the level defined for this reference.
- Parameters
-
filename | The file to read from |
- Returns
- Returns OFTrue if reference could be read, otherwise OFFalse
Reimplemented from IODReference.
◆ readFromFile() [2/2]
virtual OFBool IODImageReference::readFromFile |
( |
const OFString & |
filename, |
|
|
const OFVector< Uint32 > |
frameNumbers |
|
) |
| |
|
virtual |
Initialize reference from given file.
- Parameters
-
filename | The file to read from |
frameNumbers | The frame numbers to reference. It is not checked (so far) whether the referenced image file actually contains such frames. First frame is denoted by 1. |
- Returns
- OFTrue if initialization was successful, OFFalse otherwise
The documentation for this class was generated from the following file:
- dcmiod/include/dcmtk/dcmiod/iodreferences.h