public abstract class MCtemporalCoordinatesItem extends MCcontentItem
This is a base class for the Temporal Coordinates (i.e. time or eventbased coordinates) of a region of interest in the DICOM waveform coordinate system. The WAVEFORM or IMAGE or SCOORD Content Item from which Temporal Coordinates are selected is denoted by a SELECTED FROM relationship.
A temporal point (or instant of time) may be defined by a waveform sample offset (for a single waveform multiplex group only), time offset, or absolute time. Here is a correspondence between the style of the temporal point and the classes.
MCtemporalCoordDateTimeItem
for temporal point by absolute time
MCtemporalCoordTimeOffsetsItem
for temporal point by time offset
MCtemporalCoordPositionsItem
for temporal point by a waveform sample offset
Modifier and Type | Class and Description |
---|---|
static class |
MCtemporalCoordinatesItem.RangeTypes
Defines the type of temporal extent of the region of interest.
|
Constructor and Description |
---|
MCtemporalCoordinatesItem()
Default constructor
|
MCtemporalCoordinatesItem(MCtemporalCoordinatesItem.RangeTypes rangeType)
Creates a new instance of the TCOORD Content Item
|
Modifier and Type | Method and Description |
---|---|
MCtemporalCoordinatesItem.RangeTypes |
getRangeType()
Gets the type of temporal extent of the region of interest
|
void |
read(MCattributeSet source)
Reads the TCOORD content item from the source attribute set.
|
void |
setRangeType(MCtemporalCoordinatesItem.RangeTypes rangeType)
Sets the type of temporal extent of the region of interest
|
void |
write(MCattributeSet destination)
Writes the TCOORD content item to the destination attribute set.
|
addChild, addChildAt, addReference, contentItemType, getChildAt, getChildren, getConceptName, getDataContext, getItemId, getObservationDateTime, getObservationUID, getParent, getPosition, getReferences, getRelationshipType, getRootItem, removeChild, removeChildAt, removeReference, removeReference, setConceptName, setDataContext, setObservationDataTime, setObservationUID, setRelationshipType
public MCtemporalCoordinatesItem()
public MCtemporalCoordinatesItem(MCtemporalCoordinatesItem.RangeTypes rangeType)
rangeType
- Type of temporal extent of the region of interestpublic MCtemporalCoordinatesItem.RangeTypes getRangeType()
public void setRangeType(MCtemporalCoordinatesItem.RangeTypes rangeType)
rangeType
- Type of temporal extent of the region of interestpublic void read(MCattributeSet source)
read
in interface MCdataSetSerializable
read
in class MCcontentItem
source
- Source attribute set.MCexception
- If the source parameter is null.public void write(MCattributeSet destination)
write
in interface MCdataSetSerializable
write
in class MCcontentItem
destination
- Destination attribute set.MCexception
- If the destination parameter is null or
is NOT an MCitem
object.