Interface SegmentSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
SegmentationImageModule, SurfaceSegmentationModule
All Known Implementing Classes:
SegmentationIOD, SurfaceSegmentationIOD
Enclosing class:
SegmentSequence

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

    • wrap

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

      default SegmentSequence getSegmentSequence()
      Returns:
      the Segment Sequence (see SegmentSequence)
    • newSegmentSequence

      default SegmentSequence newSegmentSequence(int initialCapacity)
      Adds a new Segment Sequence. (see SegmentSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Segment Sequence
    • ensureSegmentSequence

      default SegmentSequence ensureSegmentSequence(int initialCapacity)
      Adds a new Segment Sequence if it does not already exist. (see SegmentSequence)
      Parameters:
      initialCapacity - the initial capacity if a new Segment Sequence is created
    • containsSegmentSequence

      default boolean containsSegmentSequence()
      Returns:
      Whether it contains the Segment Sequence (see SegmentSequence)
    • removeSegmentSequence

      default void removeSegmentSequence()
      Removes the Segment Sequence (see SegmentSequence