Interface ContourSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
ROIContourSequence.Item
Enclosing class:
ContourSequence

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

    • wrap

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

      default ContourSequence getContourSequence()
      Returns:
      the Contour Sequence (see ContourSequence)
    • newContourSequence

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

      default ContourSequence ensureContourSequence(int initialCapacity)
      Adds a new Contour Sequence if it does not already exist. (see ContourSequence)
      Parameters:
      initialCapacity - the initial capacity if a new Contour Sequence is created
    • containsContourSequence

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

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