DCMTK
Version 3.6.6
OFFIS DICOM Toolkit
|
Class representing a single item of the Source Image Sequence. More...
Public Member Functions | |
SourceImageItem () | |
Constructor, constructs empty Source Image Sequence item. | |
virtual | ~SourceImageItem () |
Virtual destructor, cleans up memory. | |
virtual void | clearData () |
Clears all data handled by this component. | |
virtual OFCondition | check () const |
Check whether this item contains valid data. More... | |
virtual CodeSequenceMacro & | getPurposeOfReferenceCode () |
Return handle to to purpose of reference code. More... | |
virtual ImageSOPInstanceReferenceMacro & | getImageSOPInstanceReference () |
Returns handle to to image sop instance reference. More... | |
virtual OFCondition | read (DcmItem &itemOfSourceImageSequence, const OFBool clearOldData=OFTrue) |
Reads source image item from given item. More... | |
virtual OFCondition | write (DcmItem &itemOfSourceImageSequence) |
Writes source image item to given item. More... | |
virtual int | compare (const SourceImageItem &rhs) const |
Comparison operator that compares the normalized value of this object with a given object of the same type, i.e. the elements within both functional groups (this and rhs parameter) are compared by value! Both objects (this and rhs) need to have the same type (i.e. both FGUnknown) to be comparable. More... | |
SourceImageItem & | operator= (const SourceImageItem &rhs) |
Assignment operator, deletes old data. More... | |
Private Attributes | |
CodeSequenceMacro | m_PurposeOfReferenceCode |
Describes purpose of reference (single item of Purpose of Reference Code Sequence) | |
ImageSOPInstanceReferenceMacro | m_ImageSOPInstanceReference |
Contains the referenced images (as represented by one of the items of "this" Source Image Sequence) | |
Class representing a single item of the Source Image Sequence.
|
virtual |
Check whether this item contains valid data.
|
virtual |
Comparison operator that compares the normalized value of this object with a given object of the same type, i.e. the elements within both functional groups (this and rhs parameter) are compared by value! Both objects (this and rhs) need to have the same type (i.e. both FGUnknown) to be comparable.
This function is used in order to decide whether a functional group already exists, or is new. This is used in particular to find out whether a given functional group can be shared (i.e. the same information already exists as shared functional group) or is different from the same shared group. In that case the shared functional group must be distributed into per-frame functional groups, instead. The exact implementation for implementing the comparison is not relevant. However, it must be a comparison by value.
rhs | the right hand side of the comparison |
|
virtual |
Returns handle to to image sop instance reference.
|
virtual |
Return handle to to purpose of reference code.
SourceImageItem& SourceImageItem::operator= | ( | const SourceImageItem & | rhs | ) |
Assignment operator, deletes old data.
rhs | The item that should be assigned to "this" class |
|
virtual |
Reads source image item from given item.
itemOfSourceImageSequence | Reference to item of Source Image Sequence |
clearOldData | If OFTue, old data in this class is cleared before reading |
|
virtual |
Writes source image item to given item.
itemOfSourceImageSequence | The item to write to |