Interface GraphicGroupSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
GraphicGroupModule
All Known Implementing Classes:
AdvancedBlendingPresentationStateIOD, BlendingSoftcopyPresentationStateIOD, ColorSoftcopyPresentationStateIOD, GrayscaleSoftcopyPresentationStateIOD, PlanarMPRVolumetricPresentationStateIOD, PseudoColorSoftcopyPresentationStateIOD, VolumeRenderingVolumetricPresentationStateIOD
Enclosing class:
GraphicGroupSequence

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

    • wrap

      static GraphicGroupSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Graphic Group Sequence (see GraphicGroupSequence)
      Returns:
      A wrapper object implementing the GraphicGroupSequence.Holder interface.
    • getGraphicGroupSequence

      default GraphicGroupSequence getGraphicGroupSequence()
      Returns:
      the Graphic Group Sequence (see GraphicGroupSequence)
    • newGraphicGroupSequence

      default GraphicGroupSequence newGraphicGroupSequence(int initialCapacity)
      Adds a new Graphic Group Sequence. (see GraphicGroupSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Graphic Group Sequence
    • ensureGraphicGroupSequence

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

      default GraphicGroupSequence ensureGraphicGroupSequence()
      Adds a new Graphic Group Sequence (see GraphicGroupSequence) with initial capacity 1 (see ensureGraphicGroupSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Graphic Group Sequence (see GraphicGroupSequence) or a new one with capacity 1.
    • containsGraphicGroupSequence

      default boolean containsGraphicGroupSequence()
      Returns:
      Whether it contains the Graphic Group Sequence (see GraphicGroupSequence)
    • removeGraphicGroupSequence

      default void removeGraphicGroupSequence()
      Removes the Graphic Group Sequence (see GraphicGroupSequence