Interface BeamSequence.Holder

  • All Superinterfaces:
    org.dcm4che.typeddicom.AttributesWrapper
    All Known Subinterfaces:
    RTBeamsModule
    All Known Implementing Classes:
    BeamSequence.SimpleHolder, RTPlanIOD
    Enclosing class:
    BeamSequence

    public static interface BeamSequence.Holder
    extends org.dcm4che.typeddicom.AttributesWrapper
    A class implementing this interface can hold attributes which contain the DICOM tag "Beam Sequence" (see BeamSequence)
    • Method Detail

      • wrap

        static BeamSequence.Holder wrap​(org.dcm4che3.data.Attributes attributes)
        Parameters:
        attributes - an attributes object containing the Beam Sequence (see BeamSequence)
        Returns:
        a wrapper object implementing the BeamSequence.Holder interface.
      • newBeamSequence

        default BeamSequence newBeamSequence​(int initialCapacity)
        Adds a new Beam Sequence. (see BeamSequence)
        Parameters:
        initialCapacity - the initial capacity for the new Beam Sequence
        Returns:
        the newly created BeamSequence.
      • ensureBeamSequence

        default BeamSequence ensureBeamSequence​(int initialCapacity)
        Adds a new Beam Sequence (see BeamSequence) if it does not already exist. (see Attributes.ensureSequence(int, int)
        Parameters:
        initialCapacity - the initial capacity (see ArrayList(int)) if a new Beam Sequence is created.
        Returns:
        either the already existing Beam Sequence (see BeamSequence) or a new one with capacity initialCapacity.
      • containsBeamSequence

        default boolean containsBeamSequence()
        Returns:
        whether it contains the Beam Sequence (see BeamSequence)
      • removeBeamSequence

        default void removeBeamSequence()
        Removes the Beam Sequence (see BeamSequence