DCMTK Version 3.6.8
OFFIS DICOM Toolkit
|
Class representing a reference to an image. More...
Public Member Functions | |
IODImageReference () | |
Default constructor, uses level STUDY. | |
IODImageReference (const MAX_LEVEL level) | |
Constructor allowing to set reference level. More... | |
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. More... | |
IODImageReference (const OFString &patientID, const OFString &studyUID, const OFString &seriesUID, const OFString &sopInstanceUID, const OFString &sopClassUID) | |
Convenience constructor setting reference data without frame numbers. More... | |
virtual IODReference * | clone () const |
Get (deep) clone copy of this reference. More... | |
virtual TYPE | getType () const |
Get type (always returns IMAGE type) More... | |
virtual OFBool | readFromFile (const OFString &filename, const OFVector< Uint32 > frameNumbers) |
Initialize reference from given file. More... | |
virtual | ~IODImageReference () |
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 IODReference * | clone () const |
Create (deep) clone copy of this reference. More... | |
virtual TYPE | getType () const |
Get type of reference. More... | |
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... | |
virtual void | clear () |
Clear all reference data. | |
Public Attributes | |
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. 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 an image.
Compared to IODReference, this class also allows to provide references to specific frames
IODImageReference::IODImageReference | ( | const MAX_LEVEL | level | ) |
Constructor allowing to set reference level.
level | The maximum level this reference should deal with |
IODImageReference::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.
patientID | Patient ID |
studyUID | Study Instance UID |
seriesUID | Series Instance UID |
sopInstanceUID | SOP Instance UID |
sopClassUID | SOP Class UID |
refFrameNumbers | Referenced Frame Numbers |
IODImageReference::IODImageReference | ( | const OFString & | patientID, |
const OFString & | studyUID, | ||
const OFString & | seriesUID, | ||
const OFString & | sopInstanceUID, | ||
const OFString & | sopClassUID | ||
) |
Convenience constructor setting reference data without frame numbers.
patientID | Patient ID |
studyUID | Study Instance UID |
seriesUID | Series Instance UID |
sopInstanceUID | SOP Instance UID |
sopClassUID | SOP Class UID |
|
virtual |
Get (deep) clone copy of this reference.
Reimplemented from IODReference.
|
inlinevirtual |
|
virtual |
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 |
Reimplemented from IODReference.
|
virtual |
Initialize reference from given file.
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. |