DCMTK
Version 3.6.4
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 | getDoubleFloatRealWorldValueFirstValueMapped (Float64 &value, const unsigned long pos=0) const |
get DoubleFloatRealWorldValueFirstValueMapped (0040,9214) More... | |
OFCondition | getDoubleFloatRealWorldValueLastValueMapped (Float64 &value, const unsigned long pos=0) const |
get DoubleFloatRealWorldValueLastValueMapped (0040,9213) More... | |
OFCondition | getLUTExplanation (OFString &value, const signed long pos=0) const |
get LUTExplanation (0028,3003) More... | |
OFCondition | getLUTLabel (OFString &value, const signed long pos=0) const |
get LUTLabel (0040,9210) More... | |
OFCondition | getRealWorldValueFirstValueMapped (Uint16 &value, const unsigned long pos=0) const |
get RealWorldValueFirstValueMapped (0040,9216) More... | |
OFCondition | getRealWorldValueIntercept (Float64 &value, const unsigned long pos=0) const |
get RealWorldValueIntercept (0040,9224) More... | |
OFCondition | getRealWorldValueLUTData (Float64 &value, const unsigned long pos=0) const |
get RealWorldValueLUTData (0040,9212) More... | |
OFCondition | getRealWorldValueLastValueMapped (Uint16 &value, const unsigned long pos=0) const |
get RealWorldValueLastValueMapped (0040,9211) More... | |
OFCondition | getRealWorldValueSlope (Float64 &value, const unsigned long pos=0) const |
get RealWorldValueSlope (0040,9225) More... | |
DRTMeasurementUnitsCodeSequence & | getMeasurementUnitsCodeSequence () |
get MeasurementUnitsCodeSequence (0040,08ea) More... | |
const DRTMeasurementUnitsCodeSequence & | getMeasurementUnitsCodeSequence () const |
get MeasurementUnitsCodeSequence (0040,08ea) More... | |
DRTQuantityDefinitionSequence & | getQuantityDefinitionSequence () |
get QuantityDefinitionSequence (0040,9220) More... | |
const DRTQuantityDefinitionSequence & | getQuantityDefinitionSequence () const |
get QuantityDefinitionSequence (0040,9220) More... | |
OFCondition | setDoubleFloatRealWorldValueFirstValueMapped (const Float64 value, const unsigned long pos=0) |
set DoubleFloatRealWorldValueFirstValueMapped (0040,9214) More... | |
OFCondition | setDoubleFloatRealWorldValueLastValueMapped (const Float64 value, const unsigned long pos=0) |
set DoubleFloatRealWorldValueLastValueMapped (0040,9213) More... | |
OFCondition | setLUTExplanation (const OFString &value, const OFBool check=OFTrue) |
set LUTExplanation (0028,3003) More... | |
OFCondition | setLUTLabel (const OFString &value, const OFBool check=OFTrue) |
set LUTLabel (0040,9210) More... | |
OFCondition | setRealWorldValueFirstValueMapped (const Uint16 value, const unsigned long pos=0) |
set RealWorldValueFirstValueMapped (0040,9216) More... | |
OFCondition | setRealWorldValueIntercept (const Float64 value, const unsigned long pos=0) |
set RealWorldValueIntercept (0040,9224) More... | |
OFCondition | setRealWorldValueLUTData (const Float64 value, const unsigned long pos=0) |
set RealWorldValueLUTData (0040,9212) More... | |
OFCondition | setRealWorldValueLastValueMapped (const Uint16 value, const unsigned long pos=0) |
set RealWorldValueLastValueMapped (0040,9211) More... | |
OFCondition | setRealWorldValueSlope (const Float64 value, const unsigned long pos=0) |
set RealWorldValueSlope (0040,9225) More... | |
Private Attributes | |
OFBool | EmptyDefaultItem |
internal flag used to mark the empty default item | |
DcmFloatingPointDouble | DoubleFloatRealWorldValueFirstValueMapped |
DoubleFloatRealWorldValueFirstValueMapped (0040,9214) vr=FD, vm=1, type=1C. | |
DcmFloatingPointDouble | DoubleFloatRealWorldValueLastValueMapped |
DoubleFloatRealWorldValueLastValueMapped (0040,9213) vr=FD, vm=1, type=1C. | |
DcmLongString | LUTExplanation |
LUTExplanation (0028,3003) vr=LO, vm=1, type=1. | |
DcmShortString | LUTLabel |
LUTLabel (0040,9210) vr=SH, vm=1, type=1. | |
DRTMeasurementUnitsCodeSequence | MeasurementUnitsCodeSequence |
MeasurementUnitsCodeSequence (0040,08ea) vr=SQ, vm=1, type=1. | |
DRTQuantityDefinitionSequence | QuantityDefinitionSequence |
QuantityDefinitionSequence (0040,9220) vr=SQ, vm=1, type=3. | |
DcmUnsignedShort | RealWorldValueFirstValueMapped |
RealWorldValueFirstValueMapped (0040,9216) vr=US/SS, vm=1, type=1C. | |
DcmFloatingPointDouble | RealWorldValueIntercept |
RealWorldValueIntercept (0040,9224) vr=FD, vm=1, type=1C. | |
DcmFloatingPointDouble | RealWorldValueLUTData |
RealWorldValueLUTData (0040,9212) vr=FD, vm=1-n, type=1C. | |
DcmUnsignedShort | RealWorldValueLastValueMapped |
RealWorldValueLastValueMapped (0040,9211) vr=US/SS, vm=1, type=1C. | |
DcmFloatingPointDouble | RealWorldValueSlope |
RealWorldValueSlope (0040,9225) vr=FD, vm=1, type=1C. | |
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.
DRTRealWorldValueMappingSequence::Item::Item | ( | const OFBool | emptyDefaultItem = OFFalse | ) |
(default) constructor
emptyDefaultItem | flag used to mark the empty default item |
DRTRealWorldValueMappingSequence::Item::Item | ( | const Item & | copy | ) |
copy constructor
copy | item object to be copied |
OFCondition DRTRealWorldValueMappingSequence::Item::getDoubleFloatRealWorldValueFirstValueMapped | ( | Float64 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get DoubleFloatRealWorldValueFirstValueMapped (0040,9214)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTRealWorldValueMappingSequence::Item::getDoubleFloatRealWorldValueLastValueMapped | ( | Float64 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get DoubleFloatRealWorldValueLastValueMapped (0040,9213)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTRealWorldValueMappingSequence::Item::getLUTExplanation | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get LUTExplanation (0028,3003)
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 DRTRealWorldValueMappingSequence::Item::getLUTLabel | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get LUTLabel (0040,9210)
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 MeasurementUnitsCodeSequence (0040,08ea)
|
inline |
get MeasurementUnitsCodeSequence (0040,08ea)
|
inline |
get QuantityDefinitionSequence (0040,9220)
|
inline |
get QuantityDefinitionSequence (0040,9220)
OFCondition DRTRealWorldValueMappingSequence::Item::getRealWorldValueFirstValueMapped | ( | Uint16 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get RealWorldValueFirstValueMapped (0040,9216)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTRealWorldValueMappingSequence::Item::getRealWorldValueIntercept | ( | Float64 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get RealWorldValueIntercept (0040,9224)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTRealWorldValueMappingSequence::Item::getRealWorldValueLastValueMapped | ( | Uint16 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get RealWorldValueLastValueMapped (0040,9211)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTRealWorldValueMappingSequence::Item::getRealWorldValueLUTData | ( | Float64 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get RealWorldValueLUTData (0040,9212)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTRealWorldValueMappingSequence::Item::getRealWorldValueSlope | ( | Float64 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get RealWorldValueSlope (0040,9225)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFBool DRTRealWorldValueMappingSequence::Item::isEmpty | ( | ) |
check if item is empty
OFBool DRTRealWorldValueMappingSequence::Item::isValid | ( | ) | const |
check if item is valid, i.e. not the empty default item
assigment operator
copy | item object to be copied |
OFCondition DRTRealWorldValueMappingSequence::Item::read | ( | DcmItem & | item | ) |
read elements from sequence item
item | reference to DICOM sequence item from which the elements should be read |
OFCondition DRTRealWorldValueMappingSequence::Item::setDoubleFloatRealWorldValueFirstValueMapped | ( | const Float64 | value, |
const unsigned long | pos = 0 |
||
) |
set DoubleFloatRealWorldValueFirstValueMapped (0040,9214)
value | value to be set (should be valid for this VR) |
pos | index of the value to be set (0..vm-1), vm=1 |
OFCondition DRTRealWorldValueMappingSequence::Item::setDoubleFloatRealWorldValueLastValueMapped | ( | const Float64 | value, |
const unsigned long | pos = 0 |
||
) |
set DoubleFloatRealWorldValueLastValueMapped (0040,9213)
value | value to be set (should be valid for this VR) |
pos | index of the value to be set (0..vm-1), vm=1 |
OFCondition DRTRealWorldValueMappingSequence::Item::setLUTExplanation | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set LUTExplanation (0028,3003)
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 DRTRealWorldValueMappingSequence::Item::setLUTLabel | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set LUTLabel (0040,9210)
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 DRTRealWorldValueMappingSequence::Item::setRealWorldValueFirstValueMapped | ( | const Uint16 | value, |
const unsigned long | pos = 0 |
||
) |
set RealWorldValueFirstValueMapped (0040,9216)
value | value to be set (should be valid for this VR) |
pos | index of the value to be set (0..vm-1), vm=1 |
OFCondition DRTRealWorldValueMappingSequence::Item::setRealWorldValueIntercept | ( | const Float64 | value, |
const unsigned long | pos = 0 |
||
) |
set RealWorldValueIntercept (0040,9224)
value | value to be set (should be valid for this VR) |
pos | index of the value to be set (0..vm-1), vm=1 |
OFCondition DRTRealWorldValueMappingSequence::Item::setRealWorldValueLastValueMapped | ( | const Uint16 | value, |
const unsigned long | pos = 0 |
||
) |
set RealWorldValueLastValueMapped (0040,9211)
value | value to be set (should be valid for this VR) |
pos | index of the value to be set (0..vm-1), vm=1 |
OFCondition DRTRealWorldValueMappingSequence::Item::setRealWorldValueLUTData | ( | const Float64 | value, |
const unsigned long | pos = 0 |
||
) |
set RealWorldValueLUTData (0040,9212)
value | value to be set (should be valid for this VR) |
pos | index of the value to be set (0..vm-1), vm=1-n |
OFCondition DRTRealWorldValueMappingSequence::Item::setRealWorldValueSlope | ( | const Float64 | value, |
const unsigned long | pos = 0 |
||
) |
set RealWorldValueSlope (0040,9225)
value | value to be set (should be valid for this VR) |
pos | index of the value to be set (0..vm-1), vm=1 |
OFCondition DRTRealWorldValueMappingSequence::Item::write | ( | DcmItem & | item | ) |
write elements to sequence item
item | reference to DICOM sequence item to which the elements should be written |