Interface RTDoseROISequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
RTDoseROIModule
All Known Implementing Classes:
RTDoseIOD
Enclosing class:
RTDoseROISequence

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

    • wrap

      static RTDoseROISequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the RT Dose ROI Sequence (see RTDoseROISequence)
      Returns:
      A wrapper object implementing the RTDoseROISequence.Holder interface.
    • getRTDoseROISequence

      default RTDoseROISequence getRTDoseROISequence()
      Returns:
      the RT Dose ROI Sequence (see RTDoseROISequence)
    • newRTDoseROISequence

      default RTDoseROISequence newRTDoseROISequence(int initialCapacity)
      Adds a new RT Dose ROI Sequence. (see RTDoseROISequence)
      Parameters:
      initialCapacity - the initial capacity for the new RT Dose ROI Sequence
    • ensureRTDoseROISequence

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

      default RTDoseROISequence ensureRTDoseROISequence()
      Adds a new RT Dose ROI Sequence (see RTDoseROISequence) with initial capacity 1 (see ensureRTDoseROISequence(int)) if it does not already exist.
      Returns:
      Either the already existing RT Dose ROI Sequence (see RTDoseROISequence) or a new one with capacity 1.
    • containsRTDoseROISequence

      default boolean containsRTDoseROISequence()
      Returns:
      Whether it contains the RT Dose ROI Sequence (see RTDoseROISequence)
    • removeRTDoseROISequence

      default void removeRTDoseROISequence()
      Removes the RT Dose ROI Sequence (see RTDoseROISequence