Inheritance diagram for DSRTemporalCoordinatesValue:
Public Member Functions | |
DSRTemporalCoordinatesValue () | |
default contructor | |
DSRTemporalCoordinatesValue (const DSRTypes::E_TemporalRangeType temporalRangeType) | |
constructor | |
DSRTemporalCoordinatesValue (const DSRTemporalCoordinatesValue &coordinatesValue) | |
copy constructor | |
virtual | ~DSRTemporalCoordinatesValue () |
destructor | |
DSRTemporalCoordinatesValue & | operator= (const DSRTemporalCoordinatesValue &coordinatesValue) |
assignment operator | |
virtual void | clear () |
clear all internal variables. | |
virtual OFBool | isValid () const |
check whether the current spatial coordinates value is valid. | |
virtual OFBool | isShort (const size_t flags) const |
check whether the content is short. | |
virtual OFCondition | print (ostream &stream, const size_t flags) const |
print temporal coordinates. | |
virtual OFCondition | readXML (const DSRXMLDocument &doc, DSRXMLCursor cursor) |
read temporal coordinates value from XML document | |
virtual OFCondition | writeXML (ostream &stream, const size_t flags, OFConsole *logStream) const |
write temporal coordinates value in XML format | |
virtual OFCondition | renderHTML (ostream &docStream, ostream &annexStream, size_t &annexNumber, const size_t flags, OFConsole *logStream) const |
render temporal coordinates value in HTML format | |
const DSRTemporalCoordinatesValue & | getValue () const |
get reference to temporal coordinates value | |
OFCondition | getValue (DSRTemporalCoordinatesValue &coordinatesValue) const |
get copy of temporal coordinates value | |
OFCondition | setValue (const DSRTemporalCoordinatesValue &coordinatesValue) |
set temporal coordinates value. | |
DSRTypes::E_TemporalRangeType | getTemporalRangeType () const |
get current temporal range type. | |
OFCondition | setTemporalRangeType (const DSRTypes::E_TemporalRangeType temporalRangeType) |
set current temporal range type. | |
DSRReferencedDatetimeList & | getDatetimeList () |
get reference to list of referenced datetime | |
DSRReferencedSamplePositionList & | getSamplePositionList () |
get reference to list of referenced sample positions | |
DSRReferencedTimeOffsetList & | getTimeOffsetList () |
get reference to list of referenced time offsets | |
Protected Member Functions | |
DSRTemporalCoordinatesValue * | getValuePtr () |
get pointer to temporal coordinates value | |
virtual OFCondition | read (DcmItem &dataset, OFConsole *logStream) |
read temporal coordinates value from dataset. | |
virtual OFCondition | write (DcmItem &dataset, OFConsole *logStream) const |
write temporal coordinates reference value to dataset. | |
OFBool | checkData (const DSRTypes::E_TemporalRangeType temporalRangeType, const DSRReferencedSamplePositionList &samplePositionList, const DSRReferencedTimeOffsetList &timeOffsetList, const DSRReferencedDatetimeList &datetimeList, OFConsole *logStream=NULL) const |
check the temporal range type and other data for validity. | |
Private Attributes | |
DSRTypes::E_TemporalRangeType | TemporalRangeType |
temporal range type (associated DICOM VR=CS, type 1) | |
DSRReferencedSamplePositionList | SamplePositionList |
list of referenced sample positions (associated DICOM VR=UL, VM=1-n, type 1C) | |
DSRReferencedTimeOffsetList | TimeOffsetList |
list of referenced time offsets (associated DICOM VR=DS, VM=1-n, type 1C) | |
DSRReferencedDatetimeList | DatetimeList |
list of referenced datetime (associated DICOM VR=DT, VM=1-n, type 1C) | |
Friends | |
class | DSRContentItem |
Definition at line 52 of file dsrtcovl.h.
|
constructor
|
|
copy constructor
|
|
check the temporal range type and other data for validity. The data is valid if the 'temporalRangeType' is valid and at least one of the three lists are non-empty. If more the one list is non-empty a warning is reported since they are mutually exclusive (type 1C).
|
|
clear all internal variables. Temporal range type is set to TRT_invalid. Since an empty list of graphic data is invalid the spatial coordinates value becomes invalid afterwards. Reimplemented in DSRTCoordTreeNode. |
|
get reference to list of referenced datetime
Definition at line 190 of file dsrtcovl.h. References DatetimeList. |
|
get reference to list of referenced sample positions
Definition at line 198 of file dsrtcovl.h. References SamplePositionList. |
|
get current temporal range type. This value represents the type of temporal extent of the region of interest.
Definition at line 175 of file dsrtcovl.h. References TemporalRangeType. |
|
get reference to list of referenced time offsets
Definition at line 206 of file dsrtcovl.h. References TimeOffsetList. |
|
get copy of temporal coordinates value
|
|
get reference to temporal coordinates value
Definition at line 151 of file dsrtcovl.h. |
|
get pointer to temporal coordinates value
Definition at line 217 of file dsrtcovl.h. |
|
check whether the content is short. This method is used to check whether the rendered output of this content item can be expanded inline or not (used for renderHTML()).
Reimplemented in DSRTCoordTreeNode. |
|
check whether the current spatial coordinates value is valid. The value is valid if the temporal range type is not TRT_invalid and the other data is valid (see checkData() for details).
Reimplemented in DSRTCoordTreeNode. |
|
assignment operator
|
|
print temporal coordinates. The output of a typical temporal coordinates value looks like this (depending on the referenced data list): (SEGMENT,1,2,3) or (SEGMENT,1,2.5,3.1) or (POINT,20001010120000)
Reimplemented in DSRTCoordTreeNode. |
|
read temporal coordinates value from dataset. Please note that all three lists are (tried to) read from the dataset. If more than one list is present a warning messsage is reported.
|
|
read temporal coordinates value from XML document
|
|
render temporal coordinates value in HTML format
|
|
set current temporal range type. This value represents the type of temporal extent of the region of interest.
|
|
set temporal coordinates value. Before setting the value the temporal range type and other data are checked (see checkData()). If the value is invalid the current value is not replaced and remains unchanged.
|
|
write temporal coordinates reference value to dataset. Please note that only one of the three lists is actually written to the dataset.
|
|
write temporal coordinates value in XML format
Reimplemented in DSRTCoordTreeNode. |