Interface BoundingBoxCrop.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
BoundingBoxCrop.SimpleHolder,VolumeCroppingSequence.Item
- Enclosing class:
- BoundingBoxCrop
A class implementing this interface can hold attributes which contain the DICOM tag "Bounding Box Crop" (see
BoundingBoxCrop)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault BoundingBoxCropdefault voidRemoves the Bounding Box Crop (seeBoundingBoxCropstatic BoundingBoxCrop.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 Bounding Box Crop (seeBoundingBoxCrop)- Returns:
- A wrapper object implementing the
BoundingBoxCrop.Holderinterface.
-
builder
- Returns:
- a
BoundingBoxCrop.Holder.Builderto create Bounding Box Crop Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theBoundingBoxCrop.Holder.Builder.- Returns:
- a
BoundingBoxCrop.Holder.Builderto create Bounding Box Crop Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getBoundingBoxCrop
- Returns:
- the Bounding Box Crop (see
BoundingBoxCrop)
-
containsBoundingBoxCrop
default boolean containsBoundingBoxCrop()- Returns:
- Whether it contains the Bounding Box Crop (see
BoundingBoxCrop)
-
removeBoundingBoxCrop
default void removeBoundingBoxCrop()Removes the Bounding Box Crop (seeBoundingBoxCrop
-