Interface Crop.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
Crop.SimpleHolder, VolumetricPresentationStateInputSequence.Item
Enclosing class:
Crop

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

    • wrap

      static Crop.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Crop (see Crop)
      Returns:
      A wrapper object implementing the Crop.Holder interface.
    • builder

      static Crop.Holder.Builder builder()
      Returns:
      a Crop.Holder.Builder to create Crop Items with a fluent API.
    • builder

      static Crop.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - The Attributes to be wrapped by the Crop.Holder.Builder.
      Returns:
      a Crop.Holder.Builder to create Crop Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
    • getCrop

      default Crop getCrop()
      Returns:
      the Crop (see Crop)
    • containsCrop

      default boolean containsCrop()
      Returns:
      Whether it contains the Crop (see Crop)
    • removeCrop

      default void removeCrop()
      Removes the Crop (see Crop