Interface LineSequence.Holder

  • All Superinterfaces:
    org.dcm4che.typeddicom.AttributesWrapper
    All Known Implementing Classes:
    SurfaceMeshPrimitivesSequence.Item
    Enclosing class:
    LineSequence

    public static interface LineSequence.Holder
    extends org.dcm4che.typeddicom.AttributesWrapper
    A class implementing this interface can hold attributes which contain the DICOM tag "Line Sequence" (see LineSequence)
    • Method Detail

      • wrap

        static LineSequence.Holder wrap​(org.dcm4che3.data.Attributes attributes)
        Parameters:
        attributes - an attributes object containing the Line Sequence (see LineSequence)
        Returns:
        a wrapper object implementing the LineSequence.Holder interface.
      • newLineSequence

        default LineSequence newLineSequence​(int initialCapacity)
        Adds a new Line Sequence. (see LineSequence)
        Parameters:
        initialCapacity - the initial capacity for the new Line Sequence
        Returns:
        the newly created LineSequence.
      • ensureLineSequence

        default LineSequence ensureLineSequence​(int initialCapacity)
        Adds a new Line Sequence (see LineSequence) if it does not already exist. (see Attributes.ensureSequence(int, int)
        Parameters:
        initialCapacity - the initial capacity (see ArrayList(int)) if a new Line Sequence is created.
        Returns:
        either the already existing Line Sequence (see LineSequence) or a new one with capacity initialCapacity.
      • containsLineSequence

        default boolean containsLineSequence()
        Returns:
        whether it contains the Line Sequence (see LineSequence)
      • removeLineSequence

        default void removeLineSequence()
        Removes the Line Sequence (see LineSequence