Package com.pixelmed.dicom
Class ContentItemFactory.SpatialCoordinatesContentItem
java.lang.Object
com.pixelmed.dicom.ContentItem
com.pixelmed.dicom.ContentItemWithValue
com.pixelmed.dicom.ContentItemFactory.SpatialCoordinatesContentItem
- All Implemented Interfaces:
TreeNode
- Enclosing class:
ContentItemFactory
-
Field Summary
FieldsFields inherited from class com.pixelmed.dicom.ContentItemWithValue
conceptName, referencedContentItemIdentifier, valueType
Fields inherited from class com.pixelmed.dicom.ContentItem
observationDateTime, observationUID, relationshipType
-
Constructor Summary
ConstructorsConstructorDescriptionSpatialCoordinatesContentItem
(ContentItem parent, AttributeList list) SpatialCoordinatesContentItem
(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String graphicType, float[] graphicData) SpatialCoordinatesContentItem
(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String graphicType, float[] graphicData, String observationDateTime, String observationUID) -
Method Summary
Modifier and TypeMethodDescriptionGet a string representation of the value of the concept.float[]
Get the Graphic Data of this content item, if present and applicable.Get the Graphic Type of this content item, if present and applicable.toString()
Get a human-readable string representation of the content item.Methods inherited from class com.pixelmed.dicom.ContentItemWithValue
contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getConceptName, getConceptNameAndValue, getConceptNameCodeMeaning, getConceptNameCodeValue, getConceptNameCodingSchemeDesignator, getValueType
Methods inherited from class com.pixelmed.dicom.ContentItem
addChild, addSibling, children, contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getAllowsChildren, getAttributeList, getChildAt, getChildCount, getIndex, getNamedChild, getNamedChild, getObservationDateTime, getObservationUID, getParent, getParentAsContentItem, getPositionInTreeToUseAsReferencedContentItemIdentifier, getReferencedContentItemIdentifier, getReferencedContentItemIdentifierArray, getReferencedSOPClassUID, getReferencedSOPInstanceUID, getRelationshipType, getSingleStringValueOrNull, getSingleStringValueOrNullOfNamedChild, getSingleStringValueOrNullOfNamedChild, isLeaf
-
Field Details
-
graphicType
-
graphicData
protected float[] graphicData
-
-
Constructor Details
-
SpatialCoordinatesContentItem
- Parameters:
parent
- parent content item to add tolist
- the list of attributes for this content item
-
SpatialCoordinatesContentItem
public SpatialCoordinatesContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String graphicType, float[] graphicData, String observationDateTime, String observationUID) throws DicomException - Parameters:
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept namegraphicType
- graphic typegraphicData
- graphic dataobservationDateTime
- Observation DateTime (or null or empty if none)observationUID
- Observation UID (or null or empty if none)- Throws:
DicomException
- if error in DICOM encoding
-
SpatialCoordinatesContentItem
public SpatialCoordinatesContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String graphicType, float[] graphicData) throws DicomException - Parameters:
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept namegraphicType
- graphic typegraphicData
- graphic data- Throws:
DicomException
- if error in DICOM encoding
-
-
Method Details
-
getConceptValue
Description copied from class:ContentItemWithValue
Get a string representation of the value of the concept.
The exact form of the returned string is specific to the type of ContentItem.
- Specified by:
getConceptValue
in classContentItemWithValue
- Returns:
- a String representation of the name and value, or an empty string
-
toString
Description copied from class:ContentItemWithValue
Get a human-readable string representation of the content item.
- Overrides:
toString
in classContentItemWithValue
- Returns:
- the string representation of the content item
-
getGraphicType
Description copied from class:ContentItem
Get the Graphic Type of this content item, if present and applicable.
- Overrides:
getGraphicType
in classContentItem
- Returns:
- the graphic type
-
getGraphicData
public float[] getGraphicData()Description copied from class:ContentItem
Get the Graphic Data of this content item, if present and applicable.
- Overrides:
getGraphicData
in classContentItem
- Returns:
- the graphic type
-