Class representing a single item of the Source Image Sequence.
More...
|
| 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.
|
|
virtual CodeSequenceMacro & | getPurposeOfReferenceCode () |
| Return handle to to purpose of reference code.
|
|
virtual ImageSOPInstanceReferenceMacro & | getImageSOPInstanceReference () |
| Returns handle to to image sop instance reference.
|
|
virtual OFCondition | read (DcmItem &itemOfSourceImageSequence, const OFBool clearOldData=OFTrue) |
| Reads source image item from given item.
|
|
virtual OFCondition | write (DcmItem &itemOfSourceImageSequence) |
| Writes source image item to given item.
|
|
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.
|
|
SourceImageItem & | operator= (const SourceImageItem &rhs) |
| Assignment operator, deletes old data.
|
|
|
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.
◆ check()
Check whether this item contains valid data.
- Returns
- EC_Normal if data is valid, error otherwise
◆ compare()
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.
- Parameters
-
rhs | the right hand side of the comparison |
- Returns
- 0 if the object values are equal. -1 if either the value of the first component that does not match is lower in the this object, or all compared components match but this component is shorter. Also returned if this type and rhs type (DcmFGTypes::E_FGType) do not match. 1 if either the value of the first component that does not match is greater in this object, or all compared components match but this component is longer.
◆ getImageSOPInstanceReference()
Returns handle to to image sop instance reference.
- Returns
- EC_Normal if data is valid, error otherwise
◆ getPurposeOfReferenceCode()
Return handle to to purpose of reference code.
- Returns
- EC_Normal if data is valid, error otherwise
◆ operator=()
Assignment operator, deletes old data.
- Parameters
-
rhs | The item that should be assigned to "this" class |
- Returns
- Reference to "this" class
◆ read()
virtual OFCondition SourceImageItem::read |
( |
DcmItem & |
itemOfSourceImageSequence, |
|
|
const OFBool |
clearOldData = OFTrue |
|
) |
| |
|
virtual |
Reads source image item from given item.
- Parameters
-
itemOfSourceImageSequence | Reference to item of Source Image Sequence |
clearOldData | If OFTue, old data in this class is cleared before reading |
- Returns
- EC_Normal if reading was successful, error otherwise
◆ write()
Writes source image item to given item.
- Parameters
-
itemOfSourceImageSequence | The item to write to |
- Returns
- EC_Normal if writing was successful, error otherwise
The documentation for this class was generated from the following file:
- dcmfg/include/dcmtk/dcmfg/fgderimg.h