Interface CenterOfMass.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- Enclosing class:
- CenterOfMass
public static interface CenterOfMass.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Center of Mass" (seeCenterOfMass)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCenterOfMass.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static CenterOfMass.Holder.Builderbuilder()static CenterOfMass.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsCenterOfMass()default CenterOfMassgetCenterOfMass()default voidremoveCenterOfMass()Removes the Center of Mass (seeCenterOfMassstatic CenterOfMass.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static CenterOfMass.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Center of Mass (seeCenterOfMass)- Returns:
- a wrapper object implementing the
CenterOfMass.Holderinterface.
-
builder
static CenterOfMass.Holder.Builder builder()
- Returns:
- a
CenterOfMass.Holder.Builderto create Center of Mass Items with a fluent API.
-
builder
static CenterOfMass.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- 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
default CenterOfMass 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
-
-