Interface CenterOfRotation.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CenterOfRotation.SimpleHolder,SurfacePointsSequence.Item
- Enclosing class:
- CenterOfRotation
A class implementing this interface can hold attributes which contain the DICOM tag "Center of Rotation" (see
CenterOfRotation)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault CenterOfRotationdefault voidRemoves the Center of Rotation (seeCenterOfRotationstatic CenterOfRotation.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 Center of Rotation (seeCenterOfRotation)- Returns:
- A wrapper object implementing the
CenterOfRotation.Holderinterface.
-
builder
- Returns:
- a
CenterOfRotation.Holder.Builderto create Center of Rotation Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theCenterOfRotation.Holder.Builder.- Returns:
- a
CenterOfRotation.Holder.Builderto create Center of Rotation Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getCenterOfRotation
- Returns:
- the Center of Rotation (see
CenterOfRotation)
-
containsCenterOfRotation
default boolean containsCenterOfRotation()- Returns:
- Whether it contains the Center of Rotation (see
CenterOfRotation)
-
removeCenterOfRotation
default void removeCenterOfRotation()Removes the Center of Rotation (seeCenterOfRotation
-