Interface FieldOfViewSequence.Holder

All Superinterfaces:
AttributesWrapper
Enclosing class:
FieldOfViewSequence

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

    • wrap

      static FieldOfViewSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Field of View Sequence (see FieldOfViewSequence)
      Returns:
      A wrapper object implementing the FieldOfViewSequence.Holder interface.
    • getFieldOfViewSequence

      default FieldOfViewSequence getFieldOfViewSequence()
      Returns:
      the Field of View Sequence (see FieldOfViewSequence)
    • newFieldOfViewSequence

      default FieldOfViewSequence newFieldOfViewSequence(int initialCapacity)
      Adds a new Field of View Sequence. (see FieldOfViewSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Field of View Sequence
    • ensureFieldOfViewSequence

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

      default FieldOfViewSequence ensureFieldOfViewSequence()
      Adds a new Field of View Sequence (see FieldOfViewSequence) with initial capacity 1 (see ensureFieldOfViewSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Field of View Sequence (see FieldOfViewSequence) or a new one with capacity 1.
    • containsFieldOfViewSequence

      default boolean containsFieldOfViewSequence()
      Returns:
      Whether it contains the Field of View Sequence (see FieldOfViewSequence)
    • removeFieldOfViewSequence

      default void removeFieldOfViewSequence()
      Removes the Field of View Sequence (see FieldOfViewSequence