DCMTK
Version 3.6.4
OFFIS DICOM Toolkit
|
Class representing a single item in Derivation Image Sequence. More...
Public Member Functions | |
DerivationImageItem () | |
Constructor, initializes empty derivation image item. | |
virtual | ~DerivationImageItem () |
Virtual destructor. | |
DerivationImageItem & | operator= (const DerivationImageItem &rhs) |
Assignment operator, deletes old data. More... | |
DerivationImageItem (const DerivationImageItem &rhs) | |
Copy constructor, deletes old data. More... | |
virtual int | compare (const DerivationImageItem &rhs) const |
Comparison operator that compares the normalized value of this object with a given object of the same type. More... | |
virtual void | clearData () |
Clears all data handled by this component. | |
virtual OFCondition | check () const |
Check whether item contains valid data. More... | |
virtual OFCondition | addSourceImageItem (const OFString &file, const CodeSequenceMacro &purposeOfReference, SourceImageItem *&resultSourceImageItem) |
Convenience function to add item representing reference to an object. More... | |
virtual OFCondition | addSourceImageItem (DcmDataset *dataset, const CodeSequenceMacro &purposeOfReference, SourceImageItem *&resultSourceImageItem) |
Convenience function to add item representing reference to an object. More... | |
virtual OFCondition | addSourceImageItems (const OFVector< OFString > &files, const CodeSequenceMacro &purposeOfReference, OFVector< SourceImageItem *> &resultSourceImageItems, const OFBool skipFileErrors=OFFalse) |
Convenience function to add items representing references to some objects which all have the same purpose of reference (code). More... | |
virtual OFCondition | addSourceImageItems (const OFVector< DcmDataset *> &datasets, const CodeSequenceMacro &purposeOfReference, OFVector< SourceImageItem *> &resultSourceImageItems, const OFBool skipErrors=OFFalse) |
Convenience function to add items representing references to some objects which all have the same purpose of reference (code). More... | |
virtual OFCondition | getDerivationDescription (OFString &value, const signed long pos=0) const |
Get Derivation Description. More... | |
virtual OFVector< CodeSequenceMacro * > & | getDerivationCodeItems () |
Get reference to derivation code items. More... | |
virtual OFVector< SourceImageItem * > & | getSourceImageItems () |
Get reference to source image items. More... | |
virtual OFCondition | setDerivationDescription (const OFString &value, const OFBool checkValue=OFTrue) |
Set Derivation Description. More... | |
virtual OFCondition | read (DcmItem &itemOfDerivationImageSequence, const OFBool clearOldData=OFTrue) |
Read Derivation Image Sequence Item describing derivation from a set of images. More... | |
virtual OFCondition | write (DcmItem &itemOfDerivationImageSequence) |
Write Derivation Image Sequence Item describing derivation from a set of images. More... | |
Private Attributes | |
DcmShortText | m_DerivationDescription |
Derivation Description: (ST, 1, 3) | |
OFVector< CodeSequenceMacro * > | m_DerivationCodeItems |
List of derivation codes for this set of images (1-n items permitted) | |
Class representing a single item in Derivation Image Sequence.
DerivationImageItem::DerivationImageItem | ( | const DerivationImageItem & | rhs | ) |
Copy constructor, deletes old data.
rhs | The item that should be used for initialization |
|
virtual |
Convenience function to add item representing reference to an object.
No restrictions are set which frames or segments from this image has been actually used. However, such information could be added to the source image item later by modifying the resulting item being handed back to the caller.
file | Files that should be referenced by their UID, must be readable. |
purposeOfReference | Code representing the purpose of reference (Defined CID 7202) |
resultSourceImageItem | The created derivation image item if successful, NULL otherwise |
|
virtual |
Convenience function to add item representing reference to an object.
No restrictions are set which frames or segments from this image has been actually used. However, such information could be added to the source image item later by modifying the resulting item being handed back to the caller.
dataset | DICOM dataset that should be referenced by their UID |
purposeOfReference | Code representing the purpose of reference (Defined CID 7202) |
resultSourceImageItem | The created derivation image item if successful, NULL otherwise |
|
virtual |
Convenience function to add items representing references to some objects which all have the same purpose of reference (code).
No restrictions are set which frames or segments from those images have been actually used. However, such information could be added to the source image item later by modifying the resulting item handed back to the caller.
files | List of files that should be referenced by their UIDs. |
purposeOfReference | Code representing the purpose of reference (Defined CID 7202) |
resultSourceImageItems | The created derivation image items (one per file) if successful, NULL otherwise |
skipFileErrors | If OFTrue, then files that could not be added will not lead to error. |
|
virtual |
Convenience function to add items representing references to some objects which all have the same purpose of reference (code).
No restrictions are set which frames or segments from those images have been actually used. However, such information could be added to the source image item later by modifying the resulting item handed back to the caller.
datasets | List of datasets that should be referenced by their UIDs. |
purposeOfReference | Code representing the purpose of reference (Defined CID 7202) |
resultSourceImageItems | The created derivation image items (one per file) if successful, NULL otherwise |
skipErrors | If OFTrue, then files that could not be added will not lead to error. |
|
virtual |
Check whether item contains valid data.
|
virtual |
Comparison operator that compares the normalized value of this object with a given object of the same type.
rhs | The right hand side of the comparison |
|
virtual |
Get reference to derivation code items.
|
virtual |
Get Derivation Description.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Get reference to source image items.
DerivationImageItem& DerivationImageItem::operator= | ( | const DerivationImageItem & | rhs | ) |
Assignment operator, deletes old data.
rhs | The item that should be assigned to "this" class |
|
virtual |
Read Derivation Image Sequence Item describing derivation from a set of images.
itemOfDerivationImageSequence | The item to read from |
clearOldData | If OFTrue, old data is deleted first |
|
virtual |
Set Derivation Description.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value'. Not evaluated (here for consistency with other setter functions). |
|
virtual |
Write Derivation Image Sequence Item describing derivation from a set of images.
itemOfDerivationImageSequence | The item to write to |