DCMTK Version 3.6.7
OFFIS DICOM Toolkit
|
Public Member Functions | |
Item (const OFBool emptyDefaultItem=OFFalse) | |
(default) constructor | |
Item (const Item ©) | |
copy constructor | |
virtual | ~Item () |
destructor | |
Item & | operator= (const Item ©) |
assigment operator | |
void | clear () |
clear all internal member variables | |
OFBool | isEmpty () |
check if item is empty | |
OFBool | isValid () const |
check if item is valid, i.e. not the empty default item | |
OFCondition | read (DcmItem &item) |
read elements from sequence item | |
OFCondition | write (DcmItem &item) |
write elements to sequence item | |
OFCondition | getMaterialID (OFString &value, const signed long pos=0) const |
get MaterialID (300a,00e1) | |
OFCondition | getObservationNumber (OFString &value, const signed long pos=0) const |
get ObservationNumber (3006,0082) | |
OFCondition | getObservationNumber (Sint32 &value, const unsigned long pos=0) const |
get ObservationNumber (3006,0082) | |
OFCondition | getROIInterpreter (OFString &value, const signed long pos=0) const |
get ROIInterpreter (3006,00a6) | |
OFCondition | getROIObservationDescription (OFString &value, const signed long pos=0) const |
get ROIObservationDescription (3006,0088) | |
OFCondition | getROIObservationLabel (OFString &value, const signed long pos=0) const |
get ROIObservationLabel (3006,0085) | |
OFCondition | getRTROIInterpretedType (OFString &value, const signed long pos=0) const |
get RTROIInterpretedType (3006,00a4) | |
OFCondition | getReferencedROINumber (OFString &value, const signed long pos=0) const |
get ReferencedROINumber (3006,0084) | |
OFCondition | getReferencedROINumber (Sint32 &value, const unsigned long pos=0) const |
get ReferencedROINumber (3006,0084) | |
DRTROIPhysicalPropertiesSequence & | getROIPhysicalPropertiesSequence () |
get ROIPhysicalPropertiesSequence (3006,00b0) | |
const DRTROIPhysicalPropertiesSequence & | getROIPhysicalPropertiesSequence () const |
get ROIPhysicalPropertiesSequence (3006,00b0) | |
DRTRTROIIdentificationCodeSequence & | getRTROIIdentificationCodeSequence () |
get RTROIIdentificationCodeSequence (3006,0086) | |
const DRTRTROIIdentificationCodeSequence & | getRTROIIdentificationCodeSequence () const |
get RTROIIdentificationCodeSequence (3006,0086) | |
DRTRTRelatedROISequence & | getRTRelatedROISequence () |
get RTRelatedROISequence (3006,0030) | |
const DRTRTRelatedROISequence & | getRTRelatedROISequence () const |
get RTRelatedROISequence (3006,0030) | |
DRTRelatedRTROIObservationsSequence & | getRelatedRTROIObservationsSequence () |
get RelatedRTROIObservationsSequence (3006,00a0) | |
const DRTRelatedRTROIObservationsSequence & | getRelatedRTROIObservationsSequence () const |
get RelatedRTROIObservationsSequence (3006,00a0) | |
DRTSegmentedPropertyCategoryCodeSequence & | getSegmentedPropertyCategoryCodeSequence () |
get SegmentedPropertyCategoryCodeSequence (0062,0003) | |
const DRTSegmentedPropertyCategoryCodeSequence & | getSegmentedPropertyCategoryCodeSequence () const |
get SegmentedPropertyCategoryCodeSequence (0062,0003) | |
OFCondition | setMaterialID (const OFString &value, const OFBool check=OFTrue) |
set MaterialID (300a,00e1) | |
OFCondition | setObservationNumber (const OFString &value, const OFBool check=OFTrue) |
set ObservationNumber (3006,0082) | |
OFCondition | setROIInterpreter (const OFString &value, const OFBool check=OFTrue) |
set ROIInterpreter (3006,00a6) | |
OFCondition | setROIObservationDescription (const OFString &value, const OFBool check=OFTrue) |
set ROIObservationDescription (3006,0088) | |
OFCondition | setROIObservationLabel (const OFString &value, const OFBool check=OFTrue) |
set ROIObservationLabel (3006,0085) | |
OFCondition | setRTROIInterpretedType (const OFString &value, const OFBool check=OFTrue) |
set RTROIInterpretedType (3006,00a4) | |
OFCondition | setReferencedROINumber (const OFString &value, const OFBool check=OFTrue) |
set ReferencedROINumber (3006,0084) | |
Private Attributes | |
OFBool | EmptyDefaultItem |
internal flag used to mark the empty default item | |
DcmShortString | MaterialID |
MaterialID (300a,00e1) vr=SH, vm=1, type=3. | |
DcmIntegerString | ObservationNumber |
ObservationNumber (3006,0082) vr=IS, vm=1, type=1. | |
DcmPersonName | ROIInterpreter |
ROIInterpreter (3006,00a6) vr=PN, vm=1, type=2. | |
DcmShortText | ROIObservationDescription |
ROIObservationDescription (3006,0088) vr=ST, vm=1, type=3. | |
DcmShortString | ROIObservationLabel |
ROIObservationLabel (3006,0085) vr=SH, vm=1, type=3. | |
DRTROIPhysicalPropertiesSequence | ROIPhysicalPropertiesSequence |
ROIPhysicalPropertiesSequence (3006,00b0) vr=SQ, vm=1, type=3. | |
DRTRTROIIdentificationCodeSequence | RTROIIdentificationCodeSequence |
RTROIIdentificationCodeSequence (3006,0086) vr=SQ, vm=1, type=3. | |
DcmCodeString | RTROIInterpretedType |
RTROIInterpretedType (3006,00a4) vr=CS, vm=1, type=2. | |
DRTRTRelatedROISequence | RTRelatedROISequence |
RTRelatedROISequence (3006,0030) vr=SQ, vm=1, type=3. | |
DcmIntegerString | ReferencedROINumber |
ReferencedROINumber (3006,0084) vr=IS, vm=1, type=1. | |
DRTRelatedRTROIObservationsSequence | RelatedRTROIObservationsSequence |
RelatedRTROIObservationsSequence (3006,00a0) vr=SQ, vm=1, type=3. | |
DRTSegmentedPropertyCategoryCodeSequence | SegmentedPropertyCategoryCodeSequence |
SegmentedPropertyCategoryCodeSequence (0062,0003) vr=SQ, vm=1, type=3. | |
Additional Inherited Members | |
![]() | |
virtual | ~DRTTypes () |
destructor. | |
![]() | |
static OFCondition | addElementToDataset (OFCondition &result, DcmItem &dataset, DcmElement *element, const OFString &vm, const OFString &type, const char *moduleName=NULL) |
add given element to the dataset. | |
static OFCondition | getElementFromDataset (DcmItem &dataset, DcmElement &element) |
get element from dataset | |
static OFCondition | getStringValueFromElement (const DcmElement &element, OFString &stringValue, const signed long pos=0) |
get string value from element | |
static OFCondition | getStringValueFromDataset (DcmItem &dataset, const DcmTagKey &tagKey, OFString &stringValue) |
get string value from dataset | |
static OFCondition | putStringValueToDataset (DcmItem &dataset, const DcmTag &tag, const OFString &stringValue, const OFBool allowEmpty=OFTrue) |
put string value to dataset | |
static OFBool | checkElementValue (DcmElement &element, const OFString &vm, const OFString &type, const OFCondition &searchCond=EC_Normal, const char *moduleName=NULL) |
check element value for correct value multiplicity and type | |
static OFCondition | getAndCheckElementFromDataset (DcmItem &dataset, DcmElement &element, const OFString &vm, const OFString &type, const char *moduleName=NULL) |
get element from dataset and check it for correct value multiplicity and type. | |
static OFCondition | getAndCheckStringValueFromDataset (DcmItem &dataset, const DcmTagKey &tagKey, OFString &stringValue, const OFString &vm, const OFString &type, const char *moduleName=NULL) |
get string value from dataset and check it for correct value multiplicity and type. | |
Item class.
DRTRTROIObservationsSequence::Item::Item | ( | const OFBool | emptyDefaultItem = OFFalse | ) |
(default) constructor
emptyDefaultItem | flag used to mark the empty default item |
DRTRTROIObservationsSequence::Item::Item | ( | const Item & | copy | ) |
copy constructor
copy | item object to be copied |
OFCondition DRTRTROIObservationsSequence::Item::getMaterialID | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get MaterialID (300a,00e1)
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 |
OFCondition DRTRTROIObservationsSequence::Item::getObservationNumber | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get ObservationNumber (3006,0082)
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 |
OFCondition DRTRTROIObservationsSequence::Item::getObservationNumber | ( | Sint32 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get ObservationNumber (3006,0082)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTRTROIObservationsSequence::Item::getReferencedROINumber | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get ReferencedROINumber (3006,0084)
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 |
OFCondition DRTRTROIObservationsSequence::Item::getReferencedROINumber | ( | Sint32 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get ReferencedROINumber (3006,0084)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
|
inline |
get RelatedRTROIObservationsSequence (3006,00a0)
|
inline |
get RelatedRTROIObservationsSequence (3006,00a0)
OFCondition DRTRTROIObservationsSequence::Item::getROIInterpreter | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get ROIInterpreter (3006,00a6)
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 |
OFCondition DRTRTROIObservationsSequence::Item::getROIObservationDescription | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get ROIObservationDescription (3006,0088)
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 |
OFCondition DRTRTROIObservationsSequence::Item::getROIObservationLabel | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get ROIObservationLabel (3006,0085)
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 |
|
inline |
get ROIPhysicalPropertiesSequence (3006,00b0)
|
inline |
get ROIPhysicalPropertiesSequence (3006,00b0)
|
inline |
get RTRelatedROISequence (3006,0030)
|
inline |
get RTRelatedROISequence (3006,0030)
|
inline |
get RTROIIdentificationCodeSequence (3006,0086)
|
inline |
get RTROIIdentificationCodeSequence (3006,0086)
OFCondition DRTRTROIObservationsSequence::Item::getRTROIInterpretedType | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get RTROIInterpretedType (3006,00a4)
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 |
|
inline |
get SegmentedPropertyCategoryCodeSequence (0062,0003)
|
inline |
get SegmentedPropertyCategoryCodeSequence (0062,0003)
OFBool DRTRTROIObservationsSequence::Item::isEmpty | ( | ) |
check if item is empty
OFBool DRTRTROIObservationsSequence::Item::isValid | ( | ) | const |
check if item is valid, i.e. not the empty default item
assigment operator
copy | item object to be copied |
OFCondition DRTRTROIObservationsSequence::Item::read | ( | DcmItem & | item | ) |
read elements from sequence item
item | reference to DICOM sequence item from which the elements should be read |
OFCondition DRTRTROIObservationsSequence::Item::setMaterialID | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set MaterialID (300a,00e1)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (SH) and VM (1) if enabled |
OFCondition DRTRTROIObservationsSequence::Item::setObservationNumber | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set ObservationNumber (3006,0082)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (IS) and VM (1) if enabled |
OFCondition DRTRTROIObservationsSequence::Item::setReferencedROINumber | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set ReferencedROINumber (3006,0084)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (IS) and VM (1) if enabled |
OFCondition DRTRTROIObservationsSequence::Item::setROIInterpreter | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set ROIInterpreter (3006,00a6)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (PN) and VM (1) if enabled |
OFCondition DRTRTROIObservationsSequence::Item::setROIObservationDescription | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set ROIObservationDescription (3006,0088)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (ST) and VM (1) if enabled |
OFCondition DRTRTROIObservationsSequence::Item::setROIObservationLabel | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set ROIObservationLabel (3006,0085)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (SH) and VM (1) if enabled |
OFCondition DRTRTROIObservationsSequence::Item::setRTROIInterpretedType | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set RTROIInterpretedType (3006,00a4)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (CS) and VM (1) if enabled |
OFCondition DRTRTROIObservationsSequence::Item::write | ( | DcmItem & | item | ) |
write elements to sequence item
item | reference to DICOM sequence item to which the elements should be written |