Interface TriangleFanSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
SurfaceMeshPrimitivesSequence.Item
Enclosing class:
TriangleFanSequence

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

    • wrap

      static TriangleFanSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Triangle Fan Sequence (see TriangleFanSequence)
      Returns:
      A wrapper object implementing the TriangleFanSequence.Holder interface.
    • getTriangleFanSequence

      default TriangleFanSequence getTriangleFanSequence()
      Returns:
      the Triangle Fan Sequence (see TriangleFanSequence)
    • newTriangleFanSequence

      default TriangleFanSequence newTriangleFanSequence(int initialCapacity)
      Adds a new Triangle Fan Sequence. (see TriangleFanSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Triangle Fan Sequence
    • ensureTriangleFanSequence

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

      default TriangleFanSequence ensureTriangleFanSequence()
      Adds a new Triangle Fan Sequence (see TriangleFanSequence) with initial capacity 1 (see ensureTriangleFanSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Triangle Fan Sequence (see TriangleFanSequence) or a new one with capacity 1.
    • containsTriangleFanSequence

      default boolean containsTriangleFanSequence()
      Returns:
      Whether it contains the Triangle Fan Sequence (see TriangleFanSequence)
    • removeTriangleFanSequence

      default void removeTriangleFanSequence()
      Removes the Triangle Fan Sequence (see TriangleFanSequence