Interface StereoPairsSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
StereometricRelationshipModule
All Known Implementing Classes:
StereometricRelationshipIOD
Enclosing class:
StereoPairsSequence

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

    • wrap

      static StereoPairsSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Stereo Pairs Sequence (see StereoPairsSequence)
      Returns:
      A wrapper object implementing the StereoPairsSequence.Holder interface.
    • getStereoPairsSequence

      default StereoPairsSequence getStereoPairsSequence()
      Returns:
      the Stereo Pairs Sequence (see StereoPairsSequence)
    • newStereoPairsSequence

      default StereoPairsSequence newStereoPairsSequence(int initialCapacity)
      Adds a new Stereo Pairs Sequence. (see StereoPairsSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Stereo Pairs Sequence
    • ensureStereoPairsSequence

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

      default StereoPairsSequence ensureStereoPairsSequence()
      Adds a new Stereo Pairs Sequence (see StereoPairsSequence) with initial capacity 1 (see ensureStereoPairsSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Stereo Pairs Sequence (see StereoPairsSequence) or a new one with capacity 1.
    • containsStereoPairsSequence

      default boolean containsStereoPairsSequence()
      Returns:
      Whether it contains the Stereo Pairs Sequence (see StereoPairsSequence)
    • removeStereoPairsSequence

      default void removeStereoPairsSequence()
      Removes the Stereo Pairs Sequence (see StereoPairsSequence