Interface ContourSequence.Holder

  • All Superinterfaces:
    org.dcm4che.typeddicom.AttributesWrapper
    All Known Implementing Classes:
    ROIContourSequence.Item
    Enclosing class:
    ContourSequence

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

      • newContourSequence

        default ContourSequence newContourSequence​(int initialCapacity)
        Adds a new Contour Sequence. (see ContourSequence)
        Parameters:
        initialCapacity - the initial capacity for the new Contour Sequence
        Returns:
        the newly created ContourSequence.
      • ensureContourSequence

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

        default boolean containsContourSequence()
        Returns:
        whether it contains the Contour Sequence (see ContourSequence)
      • removeContourSequence

        default void removeContourSequence()
        Removes the Contour Sequence (see ContourSequence