Interface RightImageSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
StereoPairsSequence.Item
Enclosing class:
RightImageSequence

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

    • wrap

      static RightImageSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Right Image Sequence (see RightImageSequence)
      Returns:
      A wrapper object implementing the RightImageSequence.Holder interface.
    • getRightImageSequence

      default RightImageSequence getRightImageSequence()
      Returns:
      the Right Image Sequence (see RightImageSequence)
    • newRightImageSequence

      default RightImageSequence newRightImageSequence(int initialCapacity)
      Adds a new Right Image Sequence. (see RightImageSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Right Image Sequence
    • ensureRightImageSequence

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

      default RightImageSequence ensureRightImageSequence()
      Adds a new Right Image Sequence (see RightImageSequence) with initial capacity 1 (see ensureRightImageSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Right Image Sequence (see RightImageSequence) or a new one with capacity 1.
    • containsRightImageSequence

      default boolean containsRightImageSequence()
      Returns:
      Whether it contains the Right Image Sequence (see RightImageSequence)
    • removeRightImageSequence

      default void removeRightImageSequence()
      Removes the Right Image Sequence (see RightImageSequence