Interface Crop.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
Crop.SimpleHolder,VolumetricPresentationStateInputSequence.Item
- Enclosing class:
- Crop
A class implementing this interface can hold attributes which contain the DICOM tag "Crop" (see
Crop)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Crop.Holder.Builderbuilder()static Crop.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault CropgetCrop()default voidRemoves the Crop (seeCropstatic Crop.Holderwrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Crop (seeCrop)- Returns:
- A wrapper object implementing the
Crop.Holderinterface.
-
builder
- Returns:
- a
Crop.Holder.Builderto create Crop Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theCrop.Holder.Builder.- Returns:
- a
Crop.Holder.Builderto create Crop Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
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 (seeCrop
-