Interface PTORegionSequence.Holder

All Superinterfaces:
AttributesWrapper
Enclosing class:
PTORegionSequence

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

    • wrap

      static PTORegionSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the PTO Region Sequence (see PTORegionSequence)
      Returns:
      A wrapper object implementing the PTORegionSequence.Holder interface.
    • getPTORegionSequence

      default PTORegionSequence getPTORegionSequence()
      Returns:
      the PTO Region Sequence (see PTORegionSequence)
    • newPTORegionSequence

      default PTORegionSequence newPTORegionSequence(int initialCapacity)
      Adds a new PTO Region Sequence. (see PTORegionSequence)
      Parameters:
      initialCapacity - the initial capacity for the new PTO Region Sequence
    • ensurePTORegionSequence

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

      default PTORegionSequence ensurePTORegionSequence()
      Adds a new PTO Region Sequence (see PTORegionSequence) with initial capacity 1 (see ensurePTORegionSequence(int)) if it does not already exist.
      Returns:
      Either the already existing PTO Region Sequence (see PTORegionSequence) or a new one with capacity 1.
    • containsPTORegionSequence

      default boolean containsPTORegionSequence()
      Returns:
      Whether it contains the PTO Region Sequence (see PTORegionSequence)
    • removePTORegionSequence

      default void removePTORegionSequence()
      Removes the PTO Region Sequence (see PTORegionSequence