DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions | Private Attributes
DRTPatientSetupSequence::Item Class Reference

Item class. More...

+ Inheritance diagram for DRTPatientSetupSequence::Item:

List of all members.

Public Member Functions

 Item (const OFBool emptyDefaultItem=OFFalse)
 (default) constructor
 Item (const Item &copy)
 copy constructor
virtual ~Item ()
 destructor
Itemoperator= (const Item &copy)
 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 getPatientAdditionalPosition (OFString &value, const signed long pos=0) const
 get PatientAdditionalPosition (300a,0184)
OFCondition getPatientPosition (OFString &value, const signed long pos=0) const
 get PatientPosition (0018,5100)
OFCondition getPatientSetupLabel (OFString &value, const signed long pos=0) const
 get PatientSetupLabel (300a,0183)
OFCondition getPatientSetupNumber (OFString &value, const signed long pos=0) const
 get PatientSetupNumber (300a,0182)
OFCondition getPatientSetupNumber (Sint32 &value, const unsigned long pos=0) const
 get PatientSetupNumber (300a,0182)
OFCondition getSetupTechnique (OFString &value, const signed long pos=0) const
 get SetupTechnique (300a,01b0)
OFCondition getSetupTechniqueDescription (OFString &value, const signed long pos=0) const
 get SetupTechniqueDescription (300a,01b2)
OFCondition getTableTopLateralSetupDisplacement (OFString &value, const signed long pos=0) const
 get TableTopLateralSetupDisplacement (300a,01d6)
OFCondition getTableTopLateralSetupDisplacement (Float64 &value, const unsigned long pos=0) const
 get TableTopLateralSetupDisplacement (300a,01d6)
OFCondition getTableTopLongitudinalSetupDisplacement (OFString &value, const signed long pos=0) const
 get TableTopLongitudinalSetupDisplacement (300a,01d4)
OFCondition getTableTopLongitudinalSetupDisplacement (Float64 &value, const unsigned long pos=0) const
 get TableTopLongitudinalSetupDisplacement (300a,01d4)
OFCondition getTableTopVerticalSetupDisplacement (OFString &value, const signed long pos=0) const
 get TableTopVerticalSetupDisplacement (300a,01d2)
OFCondition getTableTopVerticalSetupDisplacement (Float64 &value, const unsigned long pos=0) const
 get TableTopVerticalSetupDisplacement (300a,01d2)
DRTFixationDeviceSequencegetFixationDeviceSequence ()
 get FixationDeviceSequence (300a,0190)
const DRTFixationDeviceSequencegetFixationDeviceSequence () const
 get FixationDeviceSequence (300a,0190)
DRTMotionSynchronizationSequencegetMotionSynchronizationSequence ()
 get MotionSynchronizationSequence (300a,0410)
const
DRTMotionSynchronizationSequence
getMotionSynchronizationSequence () const
 get MotionSynchronizationSequence (300a,0410)
DRTReferencedSetupImageSequencegetReferencedSetupImageSequence ()
 get ReferencedSetupImageSequence (300a,0401)
const
DRTReferencedSetupImageSequence
getReferencedSetupImageSequence () const
 get ReferencedSetupImageSequence (300a,0401)
DRTSetupDeviceSequencegetSetupDeviceSequence ()
 get SetupDeviceSequence (300a,01b4)
const DRTSetupDeviceSequencegetSetupDeviceSequence () const
 get SetupDeviceSequence (300a,01b4)
DRTShieldingDeviceSequencegetShieldingDeviceSequence ()
 get ShieldingDeviceSequence (300a,01a0)
const DRTShieldingDeviceSequencegetShieldingDeviceSequence () const
 get ShieldingDeviceSequence (300a,01a0)
OFCondition setPatientAdditionalPosition (const OFString &value, const OFBool check=OFTrue)
 set PatientAdditionalPosition (300a,0184)
OFCondition setPatientPosition (const OFString &value, const OFBool check=OFTrue)
 set PatientPosition (0018,5100)
OFCondition setPatientSetupLabel (const OFString &value, const OFBool check=OFTrue)
 set PatientSetupLabel (300a,0183)
OFCondition setPatientSetupNumber (const OFString &value, const OFBool check=OFTrue)
 set PatientSetupNumber (300a,0182)
OFCondition setSetupTechnique (const OFString &value, const OFBool check=OFTrue)
 set SetupTechnique (300a,01b0)
OFCondition setSetupTechniqueDescription (const OFString &value, const OFBool check=OFTrue)
 set SetupTechniqueDescription (300a,01b2)
OFCondition setTableTopLateralSetupDisplacement (const OFString &value, const OFBool check=OFTrue)
 set TableTopLateralSetupDisplacement (300a,01d6)
OFCondition setTableTopLongitudinalSetupDisplacement (const OFString &value, const OFBool check=OFTrue)
 set TableTopLongitudinalSetupDisplacement (300a,01d4)
OFCondition setTableTopVerticalSetupDisplacement (const OFString &value, const OFBool check=OFTrue)
 set TableTopVerticalSetupDisplacement (300a,01d2)

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.

Detailed Description

Item class.


Constructor & Destructor Documentation

DRTPatientSetupSequence::Item::Item ( const OFBool  emptyDefaultItem = OFFalse)

(default) constructor

Parameters:
emptyDefaultItemflag used to mark the empty default item

copy constructor

Parameters:
copyitem object to be copied

Member Function Documentation

get FixationDeviceSequence (300a,0190)

Returns:
reference to sequence element

get FixationDeviceSequence (300a,0190)

Returns:
const reference to sequence element

get MotionSynchronizationSequence (300a,0410)

Returns:
reference to sequence element

get MotionSynchronizationSequence (300a,0410)

Returns:
const reference to sequence element
OFCondition DRTPatientSetupSequence::Item::getPatientAdditionalPosition ( OFString value,
const signed long  pos = 0 
) const

get PatientAdditionalPosition (300a,0184)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTPatientSetupSequence::Item::getPatientPosition ( OFString value,
const signed long  pos = 0 
) const

get PatientPosition (0018,5100)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTPatientSetupSequence::Item::getPatientSetupLabel ( OFString value,
const signed long  pos = 0 
) const

get PatientSetupLabel (300a,0183)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTPatientSetupSequence::Item::getPatientSetupNumber ( OFString value,
const signed long  pos = 0 
) const

get PatientSetupNumber (300a,0182)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTPatientSetupSequence::Item::getPatientSetupNumber ( Sint32 &  value,
const unsigned long  pos = 0 
) const

get PatientSetupNumber (300a,0182)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise

get ReferencedSetupImageSequence (300a,0401)

Returns:
reference to sequence element

get ReferencedSetupImageSequence (300a,0401)

Returns:
const reference to sequence element

get SetupDeviceSequence (300a,01b4)

Returns:
reference to sequence element

get SetupDeviceSequence (300a,01b4)

Returns:
const reference to sequence element
OFCondition DRTPatientSetupSequence::Item::getSetupTechnique ( OFString value,
const signed long  pos = 0 
) const

get SetupTechnique (300a,01b0)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTPatientSetupSequence::Item::getSetupTechniqueDescription ( OFString value,
const signed long  pos = 0 
) const

get SetupTechniqueDescription (300a,01b2)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns:
status, EC_Normal if successful, an error code otherwise

get ShieldingDeviceSequence (300a,01a0)

Returns:
reference to sequence element

get ShieldingDeviceSequence (300a,01a0)

Returns:
const reference to sequence element

get TableTopLateralSetupDisplacement (300a,01d6)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTPatientSetupSequence::Item::getTableTopLateralSetupDisplacement ( Float64 &  value,
const unsigned long  pos = 0 
) const

get TableTopLateralSetupDisplacement (300a,01d6)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise

get TableTopLongitudinalSetupDisplacement (300a,01d4)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTPatientSetupSequence::Item::getTableTopLongitudinalSetupDisplacement ( Float64 &  value,
const unsigned long  pos = 0 
) const

get TableTopLongitudinalSetupDisplacement (300a,01d4)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise

get TableTopVerticalSetupDisplacement (300a,01d2)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTPatientSetupSequence::Item::getTableTopVerticalSetupDisplacement ( Float64 &  value,
const unsigned long  pos = 0 
) const

get TableTopVerticalSetupDisplacement (300a,01d2)

Parameters:
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns:
status, EC_Normal if successful, an error code otherwise

check if item is empty

Returns:
OFTrue if item is empty, OFFalse otherwise

check if item is valid, i.e. not the empty default item

Returns:
OFTrue if item is valid, OFFalse otherwise
Item& DRTPatientSetupSequence::Item::operator= ( const Item copy)

assigment operator

Parameters:
copyitem object to be copied

read elements from sequence item

Parameters:
itemreference to DICOM sequence item from which the elements should be read
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTPatientSetupSequence::Item::setPatientAdditionalPosition ( const OFString value,
const OFBool  check = OFTrue 
)

set PatientAdditionalPosition (300a,0184)

Parameters:
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (LO) and VM (1) if enabled
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTPatientSetupSequence::Item::setPatientPosition ( const OFString value,
const OFBool  check = OFTrue 
)

set PatientPosition (0018,5100)

Parameters:
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (CS) and VM (1) if enabled
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTPatientSetupSequence::Item::setPatientSetupLabel ( const OFString value,
const OFBool  check = OFTrue 
)

set PatientSetupLabel (300a,0183)

Parameters:
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (LO) and VM (1) if enabled
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTPatientSetupSequence::Item::setPatientSetupNumber ( const OFString value,
const OFBool  check = OFTrue 
)

set PatientSetupNumber (300a,0182)

Parameters:
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (IS) and VM (1) if enabled
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTPatientSetupSequence::Item::setSetupTechnique ( const OFString value,
const OFBool  check = OFTrue 
)

set SetupTechnique (300a,01b0)

Parameters:
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (CS) and VM (1) if enabled
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTPatientSetupSequence::Item::setSetupTechniqueDescription ( const OFString value,
const OFBool  check = OFTrue 
)

set SetupTechniqueDescription (300a,01b2)

Parameters:
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (ST) and VM (1) if enabled
Returns:
status, EC_Normal if successful, an error code otherwise
OFCondition DRTPatientSetupSequence::Item::setTableTopLateralSetupDisplacement ( const OFString value,
const OFBool  check = OFTrue 
)

set TableTopLateralSetupDisplacement (300a,01d6)

Parameters:
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (DS) and VM (1) if enabled
Returns:
status, EC_Normal if successful, an error code otherwise

set TableTopLongitudinalSetupDisplacement (300a,01d4)

Parameters:
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (DS) and VM (1) if enabled
Returns:
status, EC_Normal if successful, an error code otherwise

set TableTopVerticalSetupDisplacement (300a,01d2)

Parameters:
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (DS) and VM (1) if enabled
Returns:
status, EC_Normal if successful, an error code otherwise

write elements to sequence item

Parameters:
itemreference to DICOM sequence item to which the elements should be written
Returns:
status, EC_Normal if successful, an error code otherwise

The documentation for this class was generated from the following file:


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027