Interface CenterOfMass.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CenterOfMass.SimpleHolder
- Enclosing class:
- CenterOfMass
A class implementing this interface can hold attributes which contain the DICOM tag "Center of Mass" (see
CenterOfMass)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CenterOfMass.Holder.Builderbuilder()static CenterOfMass.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault CenterOfMassdefault voidRemoves the Center of Mass (seeCenterOfMassstatic CenterOfMass.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 Mass (seeCenterOfMass)- Returns:
- A wrapper object implementing the
CenterOfMass.Holderinterface.
-
builder
- Returns:
- a
CenterOfMass.Holder.Builderto create Center of Mass Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theCenterOfMass.Holder.Builder.- Returns:
- a
CenterOfMass.Holder.Builderto create Center of Mass Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getCenterOfMass
- Returns:
- the Center of Mass (see
CenterOfMass)
-
containsCenterOfMass
default boolean containsCenterOfMass()- Returns:
- Whether it contains the Center of Mass (see
CenterOfMass)
-
removeCenterOfMass
default void removeCenterOfMass()Removes the Center of Mass (seeCenterOfMass
-