Package com.pixelmed.dicom
Class ContentItemFactory.SpatialCoordinates3DContentItem
- java.lang.Object
-
- com.pixelmed.dicom.ContentItem
-
- com.pixelmed.dicom.ContentItemWithValue
-
- com.pixelmed.dicom.ContentItemFactory.SpatialCoordinates3DContentItem
-
- All Implemented Interfaces:
javax.swing.tree.TreeNode
- Enclosing class:
- ContentItemFactory
public class ContentItemFactory.SpatialCoordinates3DContentItem extends ContentItemWithValue
-
-
Field Summary
Fields Modifier and Type Field Description protected float[]
graphicData
protected java.lang.String
graphicType
protected java.lang.String
referencedFrameOfReferenceUID
-
Fields inherited from class com.pixelmed.dicom.ContentItemWithValue
conceptName, referencedContentItemIdentifier, valueType
-
Fields inherited from class com.pixelmed.dicom.ContentItem
relationshipType
-
-
Constructor Summary
Constructors Constructor Description SpatialCoordinates3DContentItem(ContentItem parent, AttributeList list)
SpatialCoordinates3DContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName, java.lang.String graphicType, float[] graphicData, java.lang.String referencedFrameOfReferenceUID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConceptValue()
Get a string representation of the value of the concept.float[]
getGraphicData()
Get the Graphic Data of this content item, if present and applicable.java.lang.String
getGraphicType()
Get the Graphic Type of this content item, if present and applicable.java.lang.String
getReferencedFrameOfReferenceUID()
java.lang.String
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, getParent, getParentAsContentItem, getPositionInTreeToUseAsReferencedContentItemIdentifier, getReferencedContentItemIdentifier, getReferencedContentItemIdentifierArray, getReferencedSOPClassUID, getReferencedSOPInstanceUID, getRelationshipType, getSingleStringValueOrNull, getSingleStringValueOrNullOfNamedChild, getSingleStringValueOrNullOfNamedChild, isLeaf
-
-
-
-
Constructor Detail
-
SpatialCoordinates3DContentItem
public SpatialCoordinates3DContentItem(ContentItem parent, AttributeList list)
- Parameters:
parent
- parent content item to add tolist
- the list of attributes for this content item
-
SpatialCoordinates3DContentItem
public SpatialCoordinates3DContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName, java.lang.String graphicType, float[] graphicData, java.lang.String referencedFrameOfReferenceUID) throws DicomException
- Parameters:
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept namegraphicType
- graphic typegraphicData
- graphic datareferencedFrameOfReferenceUID
- frame of reference UID- Throws:
DicomException
- if error in DICOM encoding
-
-
Method Detail
-
getConceptValue
public java.lang.String 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
public java.lang.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
public java.lang.String 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
-
getReferencedFrameOfReferenceUID
public java.lang.String getReferencedFrameOfReferenceUID()
- Returns:
- the frame of reference UID
-
-