Interface Crop.Holder

  • All Superinterfaces:
    org.dcm4che.typeddicom.AttributesWrapper
    All Known Implementing Classes:
    VolumetricPresentationStateInputSequence.Item
    Enclosing class:
    Crop

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

      • 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​(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