Interface BoundingPolygon.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- BoundingPolygon
A class implementing this interface can hold attributes which contain the DICOM tag "Bounding Polygon" (see
BoundingPolygon)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault BoundingPolygondefault voidRemoves the Bounding Polygon (seeBoundingPolygonstatic BoundingPolygon.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 Polygon (seeBoundingPolygon)- Returns:
- A wrapper object implementing the
BoundingPolygon.Holderinterface.
-
builder
- Returns:
- a
BoundingPolygon.Holder.Builderto create Bounding Polygon Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theBoundingPolygon.Holder.Builder.- Returns:
- a
BoundingPolygon.Holder.Builderto create Bounding Polygon Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getBoundingPolygon
- Returns:
- the Bounding Polygon (see
BoundingPolygon)
-
containsBoundingPolygon
default boolean containsBoundingPolygon()- Returns:
- Whether it contains the Bounding Polygon (see
BoundingPolygon)
-
removeBoundingPolygon
default void removeBoundingPolygon()Removes the Bounding Polygon (seeBoundingPolygon
-