DCMTK
Version 3.6.1 20120515
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 | getBlockData (OFString &value, const signed long pos=0) const |
get BlockData (300a,0106) | |
OFCondition | getBlockData (Float64 &value, const unsigned long pos=0) const |
get BlockData (300a,0106) | |
OFCondition | getBlockData (OFVector< Float64 > &value) const |
get BlockData (300a,0106) | |
OFCondition | getBlockDivergence (OFString &value, const signed long pos=0) const |
get BlockDivergence (300a,00fa) | |
OFCondition | getBlockMountingPosition (OFString &value, const signed long pos=0) const |
get BlockMountingPosition (300a,00fb) | |
OFCondition | getBlockName (OFString &value, const signed long pos=0) const |
get BlockName (300a,00fe) | |
OFCondition | getBlockNumber (OFString &value, const signed long pos=0) const |
get BlockNumber (300a,00fc) | |
OFCondition | getBlockNumber (Sint32 &value, const unsigned long pos=0) const |
get BlockNumber (300a,00fc) | |
OFCondition | getBlockNumberOfPoints (OFString &value, const signed long pos=0) const |
get BlockNumberOfPoints (300a,0104) | |
OFCondition | getBlockNumberOfPoints (Sint32 &value, const unsigned long pos=0) const |
get BlockNumberOfPoints (300a,0104) | |
OFCondition | getBlockThickness (OFString &value, const signed long pos=0) const |
get BlockThickness (300a,0100) | |
OFCondition | getBlockThickness (Float64 &value, const unsigned long pos=0) const |
get BlockThickness (300a,0100) | |
OFCondition | getBlockTrayID (OFString &value, const signed long pos=0) const |
get BlockTrayID (300a,00f5) | |
OFCondition | getBlockType (OFString &value, const signed long pos=0) const |
get BlockType (300a,00f8) | |
OFCondition | getMaterialID (OFString &value, const signed long pos=0) const |
get MaterialID (300a,00e1) | |
OFCondition | getSourceToBlockTrayDistance (OFString &value, const signed long pos=0) const |
get SourceToBlockTrayDistance (300a,00f6) | |
OFCondition | getSourceToBlockTrayDistance (Float64 &value, const unsigned long pos=0) const |
get SourceToBlockTrayDistance (300a,00f6) | |
OFCondition | setBlockData (const OFString &value, const OFBool check=OFTrue) |
set BlockData (300a,0106) | |
OFCondition | setBlockDivergence (const OFString &value, const OFBool check=OFTrue) |
set BlockDivergence (300a,00fa) | |
OFCondition | setBlockMountingPosition (const OFString &value, const OFBool check=OFTrue) |
set BlockMountingPosition (300a,00fb) | |
OFCondition | setBlockName (const OFString &value, const OFBool check=OFTrue) |
set BlockName (300a,00fe) | |
OFCondition | setBlockNumber (const OFString &value, const OFBool check=OFTrue) |
set BlockNumber (300a,00fc) | |
OFCondition | setBlockNumberOfPoints (const OFString &value, const OFBool check=OFTrue) |
set BlockNumberOfPoints (300a,0104) | |
OFCondition | setBlockThickness (const OFString &value, const OFBool check=OFTrue) |
set BlockThickness (300a,0100) | |
OFCondition | setBlockTrayID (const OFString &value, const OFBool check=OFTrue) |
set BlockTrayID (300a,00f5) | |
OFCondition | setBlockType (const OFString &value, const OFBool check=OFTrue) |
set BlockType (300a,00f8) | |
OFCondition | setMaterialID (const OFString &value, const OFBool check=OFTrue) |
set MaterialID (300a,00e1) | |
OFCondition | setSourceToBlockTrayDistance (const OFString &value, const OFBool check=OFTrue) |
set SourceToBlockTrayDistance (300a,00f6) | |
Private Attributes | |
OFBool | EmptyDefaultItem |
internal flag used to mark the empty default item | |
DcmDecimalString | BlockData |
BlockData (300a,0106) vr=DS, vm=2-2n, type=2C. | |
DcmCodeString | BlockDivergence |
BlockDivergence (300a,00fa) vr=CS, vm=1, type=2C. | |
DcmCodeString | BlockMountingPosition |
BlockMountingPosition (300a,00fb) vr=CS, vm=1, type=3. | |
DcmLongString | BlockName |
BlockName (300a,00fe) vr=LO, vm=1, type=3. | |
DcmIntegerString | BlockNumber |
BlockNumber (300a,00fc) vr=IS, vm=1, type=1C. | |
DcmIntegerString | BlockNumberOfPoints |
BlockNumberOfPoints (300a,0104) vr=IS, vm=1, type=2C. | |
DcmDecimalString | BlockThickness |
BlockThickness (300a,0100) vr=DS, vm=1, type=3. | |
DcmShortString | BlockTrayID |
BlockTrayID (300a,00f5) vr=SH, vm=1, type=3. | |
DcmCodeString | BlockType |
BlockType (300a,00f8) vr=CS, vm=1, type=1C. | |
DcmShortString | MaterialID |
MaterialID (300a,00e1) vr=SH, vm=1, type=2C. | |
DcmDecimalString | SourceToBlockTrayDistance |
SourceToBlockTrayDistance (300a,00f6) vr=DS, vm=1, type=2C. |
Item class.
DRTBlockSequenceInRTImageModule::Item::Item | ( | const OFBool | emptyDefaultItem = OFFalse | ) |
(default) constructor
emptyDefaultItem | flag used to mark the empty default item |
DRTBlockSequenceInRTImageModule::Item::Item | ( | const Item & | copy | ) |
copy constructor
copy | item object to be copied |
OFCondition DRTBlockSequenceInRTImageModule::Item::getBlockData | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get BlockData (300a,0106)
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 DRTBlockSequenceInRTImageModule::Item::getBlockData | ( | Float64 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get BlockData (300a,0106)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTBlockSequenceInRTImageModule::Item::getBlockData | ( | OFVector< Float64 > & | value | ) | const |
get BlockData (300a,0106)
value | reference to variable in which the value(s) should be stored |
OFCondition DRTBlockSequenceInRTImageModule::Item::getBlockDivergence | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get BlockDivergence (300a,00fa)
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 DRTBlockSequenceInRTImageModule::Item::getBlockMountingPosition | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get BlockMountingPosition (300a,00fb)
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 DRTBlockSequenceInRTImageModule::Item::getBlockName | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get BlockName (300a,00fe)
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 DRTBlockSequenceInRTImageModule::Item::getBlockNumber | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get BlockNumber (300a,00fc)
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 DRTBlockSequenceInRTImageModule::Item::getBlockNumber | ( | Sint32 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get BlockNumber (300a,00fc)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTBlockSequenceInRTImageModule::Item::getBlockNumberOfPoints | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get BlockNumberOfPoints (300a,0104)
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 DRTBlockSequenceInRTImageModule::Item::getBlockNumberOfPoints | ( | Sint32 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get BlockNumberOfPoints (300a,0104)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTBlockSequenceInRTImageModule::Item::getBlockThickness | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get BlockThickness (300a,0100)
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 DRTBlockSequenceInRTImageModule::Item::getBlockThickness | ( | Float64 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get BlockThickness (300a,0100)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTBlockSequenceInRTImageModule::Item::getBlockTrayID | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get BlockTrayID (300a,00f5)
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 DRTBlockSequenceInRTImageModule::Item::getBlockType | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get BlockType (300a,00f8)
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 DRTBlockSequenceInRTImageModule::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 DRTBlockSequenceInRTImageModule::Item::getSourceToBlockTrayDistance | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get SourceToBlockTrayDistance (300a,00f6)
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 DRTBlockSequenceInRTImageModule::Item::getSourceToBlockTrayDistance | ( | Float64 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get SourceToBlockTrayDistance (300a,00f6)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
check if item is empty
OFBool DRTBlockSequenceInRTImageModule::Item::isValid | ( | ) | const |
check if item is valid, i.e. not the empty default item
assigment operator
copy | item object to be copied |
read elements from sequence item
item | reference to DICOM sequence item from which the elements should be read |
OFCondition DRTBlockSequenceInRTImageModule::Item::setBlockData | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set BlockData (300a,0106)
value | value to be set (possibly multi-valued) or "" for no value |
check | check 'value' for conformance with VR (DS) and VM (2-2n) if enabled |
OFCondition DRTBlockSequenceInRTImageModule::Item::setBlockDivergence | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set BlockDivergence (300a,00fa)
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 DRTBlockSequenceInRTImageModule::Item::setBlockMountingPosition | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set BlockMountingPosition (300a,00fb)
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 DRTBlockSequenceInRTImageModule::Item::setBlockName | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set BlockName (300a,00fe)
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 DRTBlockSequenceInRTImageModule::Item::setBlockNumber | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set BlockNumber (300a,00fc)
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 DRTBlockSequenceInRTImageModule::Item::setBlockNumberOfPoints | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set BlockNumberOfPoints (300a,0104)
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 DRTBlockSequenceInRTImageModule::Item::setBlockThickness | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set BlockThickness (300a,0100)
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 DRTBlockSequenceInRTImageModule::Item::setBlockTrayID | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set BlockTrayID (300a,00f5)
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 DRTBlockSequenceInRTImageModule::Item::setBlockType | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set BlockType (300a,00f8)
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 DRTBlockSequenceInRTImageModule::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 DRTBlockSequenceInRTImageModule::Item::setSourceToBlockTrayDistance | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set SourceToBlockTrayDistance (300a,00f6)
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 |
write elements to sequence item
item | reference to DICOM sequence item to which the elements should be written |