Interface BlendingSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
PresentationStateBlendingModule
All Known Implementing Classes:
BlendingSoftcopyPresentationStateIOD
Enclosing class:
BlendingSequence

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

    • wrap

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

      default BlendingSequence getBlendingSequence()
      Returns:
      the Blending Sequence (see BlendingSequence)
    • newBlendingSequence

      default BlendingSequence newBlendingSequence(int initialCapacity)
      Adds a new Blending Sequence. (see BlendingSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Blending Sequence
    • ensureBlendingSequence

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

      default BlendingSequence ensureBlendingSequence()
      Adds a new Blending Sequence (see BlendingSequence) with initial capacity 1 (see ensureBlendingSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Blending Sequence (see BlendingSequence) or a new one with capacity 1.
    • containsBlendingSequence

      default boolean containsBlendingSequence()
      Returns:
      Whether it contains the Blending Sequence (see BlendingSequence)
    • removeBlendingSequence

      default void removeBlendingSequence()
      Removes the Blending Sequence (see BlendingSequence