Interface ContourImageSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
ContourSequence.Item, RTReferencedSeriesSequence.Item
Enclosing class:
ContourImageSequence

public static interface ContourImageSequence.Holder extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "Contour Image Sequence" (see ContourImageSequence)
  • Method Details

    • wrap

      static ContourImageSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Contour Image Sequence (see ContourImageSequence)
      Returns:
      A wrapper object implementing the ContourImageSequence.Holder interface.
    • getContourImageSequence

      default ContourImageSequence getContourImageSequence()
      Returns:
      the Contour Image Sequence (see ContourImageSequence)
    • newContourImageSequence

      default ContourImageSequence newContourImageSequence(int initialCapacity)
      Adds a new Contour Image Sequence. (see ContourImageSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Contour Image Sequence
    • ensureContourImageSequence

      default ContourImageSequence ensureContourImageSequence(int initialCapacity)
      Adds a new Contour Image Sequence (see ContourImageSequence) if it does not already exist. (see Attributes.ensureSequence(int, int)
      Parameters:
      initialCapacity - The initial capacity (see ArrayList(int)) if a new Contour Image Sequence is created.
      Returns:
      Either the already existing Contour Image Sequence (see ContourImageSequence) or a new one with capacity initialCapacity.
    • ensureContourImageSequence

      default ContourImageSequence ensureContourImageSequence()
      Adds a new Contour Image Sequence (see ContourImageSequence) with initial capacity 1 (see ensureContourImageSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Contour Image Sequence (see ContourImageSequence) or a new one with capacity 1.
    • containsContourImageSequence

      default boolean containsContourImageSequence()
      Returns:
      Whether it contains the Contour Image Sequence (see ContourImageSequence)
    • removeContourImageSequence

      default void removeContourImageSequence()
      Removes the Contour Image Sequence (see ContourImageSequence