Class ContentItemFactory.SpatialCoordinates3DContentItem

    • Field Detail

      • graphicType

        protected java.lang.String graphicType
      • graphicData

        protected float[] graphicData
      • referencedFrameOfReferenceUID

        protected java.lang.String referencedFrameOfReferenceUID
    • Constructor Detail

      • SpatialCoordinates3DContentItem

        public SpatialCoordinates3DContentItem​(ContentItem parent,
                                               AttributeList list)
        Parameters:
        parent - parent content item to add to
        list - 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,
                                               java.lang.String observationDateTime,
                                               java.lang.String observationUID)
                                        throws DicomException
        Parameters:
        parent - parent content item to add to
        relationshipType - relationship type
        conceptName - coded concept name
        graphicType - graphic type
        graphicData - graphic data
        referencedFrameOfReferenceUID - frame of reference UID
        observationDateTime - Observation DateTime (or null or empty if none)
        observationUID - Observation UID (or null or empty if none)
        Throws:
        DicomException - if error in DICOM encoding
      • 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 to
        relationshipType - relationship type
        conceptName - coded concept name
        graphicType - graphic type
        graphicData - graphic data
        referencedFrameOfReferenceUID - 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 class ContentItemWithValue
        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 class ContentItemWithValue
        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 class ContentItem
        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 class ContentItem
        Returns:
        the graphic type
      • getReferencedFrameOfReferenceUID

        public java.lang.String getReferencedFrameOfReferenceUID()
        Returns:
        the frame of reference UID