DCMTK
Version 3.6.1 20170228
OFFIS DICOM Toolkit
|
Public Member Functions | |
Item (const OFBool emptyDefaultItem=OFFalse) | |
(default) constructor More... | |
Item (const Item ©) | |
copy constructor More... | |
virtual | ~Item () |
destructor | |
Item & | operator= (const Item ©) |
assigment operator More... | |
void | clear () |
clear all internal member variables | |
OFBool | isEmpty () |
check if item is empty More... | |
OFBool | isValid () const |
check if item is valid, i.e. not the empty default item More... | |
OFCondition | read (DcmItem &item) |
read elements from sequence item More... | |
OFCondition | write (DcmItem &item) |
write elements to sequence item More... | |
OFCondition | getPatientAdditionalPosition (OFString &value, const signed long pos=0) const |
get PatientAdditionalPosition (300a,0184) More... | |
OFCondition | getPatientPosition (OFString &value, const signed long pos=0) const |
get PatientPosition (0018,5100) More... | |
OFCondition | getPatientSetupLabel (OFString &value, const signed long pos=0) const |
get PatientSetupLabel (300a,0183) More... | |
OFCondition | getPatientSetupNumber (OFString &value, const signed long pos=0) const |
get PatientSetupNumber (300a,0182) More... | |
OFCondition | getPatientSetupNumber (Sint32 &value, const unsigned long pos=0) const |
get PatientSetupNumber (300a,0182) More... | |
OFCondition | getSetupTechnique (OFString &value, const signed long pos=0) const |
get SetupTechnique (300a,01b0) More... | |
OFCondition | getSetupTechniqueDescription (OFString &value, const signed long pos=0) const |
get SetupTechniqueDescription (300a,01b2) More... | |
OFCondition | getTableTopLateralSetupDisplacement (OFString &value, const signed long pos=0) const |
get TableTopLateralSetupDisplacement (300a,01d6) More... | |
OFCondition | getTableTopLateralSetupDisplacement (Float64 &value, const unsigned long pos=0) const |
get TableTopLateralSetupDisplacement (300a,01d6) More... | |
OFCondition | getTableTopLongitudinalSetupDisplacement (OFString &value, const signed long pos=0) const |
get TableTopLongitudinalSetupDisplacement (300a,01d4) More... | |
OFCondition | getTableTopLongitudinalSetupDisplacement (Float64 &value, const unsigned long pos=0) const |
get TableTopLongitudinalSetupDisplacement (300a,01d4) More... | |
OFCondition | getTableTopVerticalSetupDisplacement (OFString &value, const signed long pos=0) const |
get TableTopVerticalSetupDisplacement (300a,01d2) More... | |
OFCondition | getTableTopVerticalSetupDisplacement (Float64 &value, const unsigned long pos=0) const |
get TableTopVerticalSetupDisplacement (300a,01d2) More... | |
DRTFixationDeviceSequence & | getFixationDeviceSequence () |
get FixationDeviceSequence (300a,0190) More... | |
const DRTFixationDeviceSequence & | getFixationDeviceSequence () const |
get FixationDeviceSequence (300a,0190) More... | |
DRTMotionSynchronizationSequence & | getMotionSynchronizationSequence () |
get MotionSynchronizationSequence (300a,0410) More... | |
const DRTMotionSynchronizationSequence & | getMotionSynchronizationSequence () const |
get MotionSynchronizationSequence (300a,0410) More... | |
DRTReferencedSetupImageSequence & | getReferencedSetupImageSequence () |
get ReferencedSetupImageSequence (300a,0401) More... | |
const DRTReferencedSetupImageSequence & | getReferencedSetupImageSequence () const |
get ReferencedSetupImageSequence (300a,0401) More... | |
DRTSetupDeviceSequence & | getSetupDeviceSequence () |
get SetupDeviceSequence (300a,01b4) More... | |
const DRTSetupDeviceSequence & | getSetupDeviceSequence () const |
get SetupDeviceSequence (300a,01b4) More... | |
DRTShieldingDeviceSequence & | getShieldingDeviceSequence () |
get ShieldingDeviceSequence (300a,01a0) More... | |
const DRTShieldingDeviceSequence & | getShieldingDeviceSequence () const |
get ShieldingDeviceSequence (300a,01a0) More... | |
OFCondition | setPatientAdditionalPosition (const OFString &value, const OFBool check=OFTrue) |
set PatientAdditionalPosition (300a,0184) More... | |
OFCondition | setPatientPosition (const OFString &value, const OFBool check=OFTrue) |
set PatientPosition (0018,5100) More... | |
OFCondition | setPatientSetupLabel (const OFString &value, const OFBool check=OFTrue) |
set PatientSetupLabel (300a,0183) More... | |
OFCondition | setPatientSetupNumber (const OFString &value, const OFBool check=OFTrue) |
set PatientSetupNumber (300a,0182) More... | |
OFCondition | setSetupTechnique (const OFString &value, const OFBool check=OFTrue) |
set SetupTechnique (300a,01b0) More... | |
OFCondition | setSetupTechniqueDescription (const OFString &value, const OFBool check=OFTrue) |
set SetupTechniqueDescription (300a,01b2) More... | |
OFCondition | setTableTopLateralSetupDisplacement (const OFString &value, const OFBool check=OFTrue) |
set TableTopLateralSetupDisplacement (300a,01d6) More... | |
OFCondition | setTableTopLongitudinalSetupDisplacement (const OFString &value, const OFBool check=OFTrue) |
set TableTopLongitudinalSetupDisplacement (300a,01d4) More... | |
OFCondition | setTableTopVerticalSetupDisplacement (const OFString &value, const OFBool check=OFTrue) |
set TableTopVerticalSetupDisplacement (300a,01d2) More... | |
Private Attributes | |
OFBool | EmptyDefaultItem |
internal flag used to mark the empty default item | |
DRTFixationDeviceSequence | FixationDeviceSequence |
FixationDeviceSequence (300a,0190) vr=SQ, vm=1, type=3. | |
DRTMotionSynchronizationSequence | MotionSynchronizationSequence |
MotionSynchronizationSequence (300a,0410) vr=SQ, vm=1, type=3. | |
DcmLongString | PatientAdditionalPosition |
PatientAdditionalPosition (300a,0184) vr=LO, vm=1, type=1C. | |
DcmCodeString | PatientPosition |
PatientPosition (0018,5100) vr=CS, vm=1, type=1C. | |
DcmLongString | PatientSetupLabel |
PatientSetupLabel (300a,0183) vr=LO, vm=1, type=3. | |
DcmIntegerString | PatientSetupNumber |
PatientSetupNumber (300a,0182) vr=IS, vm=1, type=1. | |
DRTReferencedSetupImageSequence | ReferencedSetupImageSequence |
ReferencedSetupImageSequence (300a,0401) vr=SQ, vm=1, type=3. | |
DRTSetupDeviceSequence | SetupDeviceSequence |
SetupDeviceSequence (300a,01b4) vr=SQ, vm=1, type=3. | |
DcmCodeString | SetupTechnique |
SetupTechnique (300a,01b0) vr=CS, vm=1, type=3. | |
DcmShortText | SetupTechniqueDescription |
SetupTechniqueDescription (300a,01b2) vr=ST, vm=1, type=3. | |
DRTShieldingDeviceSequence | ShieldingDeviceSequence |
ShieldingDeviceSequence (300a,01a0) vr=SQ, vm=1, type=3. | |
DcmDecimalString | TableTopLateralSetupDisplacement |
TableTopLateralSetupDisplacement (300a,01d6) vr=DS, vm=1, type=3. | |
DcmDecimalString | TableTopLongitudinalSetupDisplacement |
TableTopLongitudinalSetupDisplacement (300a,01d4) vr=DS, vm=1, type=3. | |
DcmDecimalString | TableTopVerticalSetupDisplacement |
TableTopVerticalSetupDisplacement (300a,01d2) vr=DS, vm=1, type=3. | |
Additional Inherited Members | |
![]() | |
virtual | ~DRTTypes () |
destructor. More... | |
![]() | |
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. More... | |
static OFCondition | getElementFromDataset (DcmItem &dataset, DcmElement &element) |
get element from dataset More... | |
static OFCondition | getStringValueFromElement (const DcmElement &element, OFString &stringValue, const signed long pos=0) |
get string value from element More... | |
static OFCondition | getStringValueFromDataset (DcmItem &dataset, const DcmTagKey &tagKey, OFString &stringValue) |
get string value from dataset More... | |
static OFCondition | putStringValueToDataset (DcmItem &dataset, const DcmTag &tag, const OFString &stringValue, const OFBool allowEmpty=OFTrue) |
put string value to dataset More... | |
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 More... | |
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. More... | |
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. More... | |
Item class.
DRTPatientSetupSequence::Item::Item | ( | const OFBool | emptyDefaultItem = OFFalse | ) |
(default) constructor
emptyDefaultItem | flag used to mark the empty default item |
DRTPatientSetupSequence::Item::Item | ( | const Item & | copy | ) |
copy constructor
copy | item object to be copied |
|
inline |
get FixationDeviceSequence (300a,0190)
|
inline |
get FixationDeviceSequence (300a,0190)
|
inline |
get MotionSynchronizationSequence (300a,0410)
|
inline |
get MotionSynchronizationSequence (300a,0410)
OFCondition DRTPatientSetupSequence::Item::getPatientAdditionalPosition | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get PatientAdditionalPosition (300a,0184)
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 DRTPatientSetupSequence::Item::getPatientPosition | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get PatientPosition (0018,5100)
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 DRTPatientSetupSequence::Item::getPatientSetupLabel | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get PatientSetupLabel (300a,0183)
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 DRTPatientSetupSequence::Item::getPatientSetupNumber | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get PatientSetupNumber (300a,0182)
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 DRTPatientSetupSequence::Item::getPatientSetupNumber | ( | Sint32 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get PatientSetupNumber (300a,0182)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
|
inline |
get ReferencedSetupImageSequence (300a,0401)
|
inline |
get ReferencedSetupImageSequence (300a,0401)
|
inline |
get SetupDeviceSequence (300a,01b4)
|
inline |
get SetupDeviceSequence (300a,01b4)
OFCondition DRTPatientSetupSequence::Item::getSetupTechnique | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get SetupTechnique (300a,01b0)
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 DRTPatientSetupSequence::Item::getSetupTechniqueDescription | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get SetupTechniqueDescription (300a,01b2)
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 ShieldingDeviceSequence (300a,01a0)
|
inline |
get ShieldingDeviceSequence (300a,01a0)
OFCondition DRTPatientSetupSequence::Item::getTableTopLateralSetupDisplacement | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get TableTopLateralSetupDisplacement (300a,01d6)
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 DRTPatientSetupSequence::Item::getTableTopLateralSetupDisplacement | ( | Float64 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get TableTopLateralSetupDisplacement (300a,01d6)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTPatientSetupSequence::Item::getTableTopLongitudinalSetupDisplacement | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get TableTopLongitudinalSetupDisplacement (300a,01d4)
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 DRTPatientSetupSequence::Item::getTableTopLongitudinalSetupDisplacement | ( | Float64 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get TableTopLongitudinalSetupDisplacement (300a,01d4)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTPatientSetupSequence::Item::getTableTopVerticalSetupDisplacement | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get TableTopVerticalSetupDisplacement (300a,01d2)
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 DRTPatientSetupSequence::Item::getTableTopVerticalSetupDisplacement | ( | Float64 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get TableTopVerticalSetupDisplacement (300a,01d2)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFBool DRTPatientSetupSequence::Item::isEmpty | ( | ) |
check if item is empty
OFBool DRTPatientSetupSequence::Item::isValid | ( | ) | const |
check if item is valid, i.e. not the empty default item
assigment operator
copy | item object to be copied |
OFCondition DRTPatientSetupSequence::Item::read | ( | DcmItem & | item | ) |
read elements from sequence item
item | reference to DICOM sequence item from which the elements should be read |
OFCondition DRTPatientSetupSequence::Item::setPatientAdditionalPosition | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set PatientAdditionalPosition (300a,0184)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (LO) and VM (1) if enabled |
OFCondition DRTPatientSetupSequence::Item::setPatientPosition | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set PatientPosition (0018,5100)
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 DRTPatientSetupSequence::Item::setPatientSetupLabel | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set PatientSetupLabel (300a,0183)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (LO) and VM (1) if enabled |
OFCondition DRTPatientSetupSequence::Item::setPatientSetupNumber | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set PatientSetupNumber (300a,0182)
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 DRTPatientSetupSequence::Item::setSetupTechnique | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set SetupTechnique (300a,01b0)
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 DRTPatientSetupSequence::Item::setSetupTechniqueDescription | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set SetupTechniqueDescription (300a,01b2)
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 DRTPatientSetupSequence::Item::setTableTopLateralSetupDisplacement | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set TableTopLateralSetupDisplacement (300a,01d6)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (DS) and VM (1) if enabled |
OFCondition DRTPatientSetupSequence::Item::setTableTopLongitudinalSetupDisplacement | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set TableTopLongitudinalSetupDisplacement (300a,01d4)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (DS) and VM (1) if enabled |
OFCondition DRTPatientSetupSequence::Item::setTableTopVerticalSetupDisplacement | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set TableTopVerticalSetupDisplacement (300a,01d2)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (DS) and VM (1) if enabled |
OFCondition DRTPatientSetupSequence::Item::write | ( | DcmItem & | item | ) |
write elements to sequence item
item | reference to DICOM sequence item to which the elements should be written |