Interface WedgeSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
BeamSequence.Item
Enclosing class:
WedgeSequence

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

    • wrap

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

      default WedgeSequence getWedgeSequence()
      Returns:
      the Wedge Sequence (see WedgeSequence)
    • newWedgeSequence

      default WedgeSequence newWedgeSequence(int initialCapacity)
      Adds a new Wedge Sequence. (see WedgeSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Wedge Sequence
    • ensureWedgeSequence

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

      default WedgeSequence ensureWedgeSequence()
      Adds a new Wedge Sequence (see WedgeSequence) with initial capacity 1 (see ensureWedgeSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Wedge Sequence (see WedgeSequence) or a new one with capacity 1.
    • containsWedgeSequence

      default boolean containsWedgeSequence()
      Returns:
      Whether it contains the Wedge Sequence (see WedgeSequence)
    • removeWedgeSequence

      default void removeWedgeSequence()
      Removes the Wedge Sequence (see WedgeSequence