Interface DisplacementMatrix.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
DisplacementMatrix.SimpleHolder,RTPatientPositionDisplacementSequence.Item
- Enclosing class:
- DisplacementMatrix
A class implementing this interface can hold attributes which contain the DICOM tag "Displacement Matrix" (see
DisplacementMatrix)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault DisplacementMatrixdefault voidRemoves the Displacement Matrix (seeDisplacementMatrixstatic DisplacementMatrix.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 Displacement Matrix (seeDisplacementMatrix)- Returns:
- A wrapper object implementing the
DisplacementMatrix.Holderinterface.
-
builder
- Returns:
- a
DisplacementMatrix.Holder.Builderto create Displacement Matrix Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theDisplacementMatrix.Holder.Builder.- Returns:
- a
DisplacementMatrix.Holder.Builderto create Displacement Matrix Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDisplacementMatrix
- Returns:
- the Displacement Matrix (see
DisplacementMatrix)
-
containsDisplacementMatrix
default boolean containsDisplacementMatrix()- Returns:
- Whether it contains the Displacement Matrix (see
DisplacementMatrix)
-
removeDisplacementMatrix
default void removeDisplacementMatrix()Removes the Displacement Matrix (seeDisplacementMatrix
-