Interface PostDeformationMatrixRegistrationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
DeformableRegistrationSequence.Item
- Enclosing class:
- PostDeformationMatrixRegistrationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Post Deformation Matrix Registration Sequence" (see
PostDeformationMatrixRegistrationSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Post Deformation Matrix Registration Sequence (seePostDeformationMatrixRegistrationSequence) with initial capacity 1 (seeensurePostDeformationMatrixRegistrationSequence(int)) if it does not already exist.ensurePostDeformationMatrixRegistrationSequence(int initialCapacity) Adds a new Post Deformation Matrix Registration Sequence (seePostDeformationMatrixRegistrationSequence) if it does not already exist.newPostDeformationMatrixRegistrationSequence(int initialCapacity) Adds a new Post Deformation Matrix Registration Sequence.default voidRemoves the Post Deformation Matrix Registration Sequence (seePostDeformationMatrixRegistrationSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
static PostDeformationMatrixRegistrationSequence.Holder wrap(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- An attributes object containing the Post Deformation Matrix Registration Sequence (seePostDeformationMatrixRegistrationSequence)- Returns:
- A wrapper object implementing the
PostDeformationMatrixRegistrationSequence.Holderinterface.
-
builder
- Returns:
- a
PostDeformationMatrixRegistrationSequence.Holder.Builderto create Post Deformation Matrix Registration Sequence Items with a fluent API.
-
builder
static PostDeformationMatrixRegistrationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by thePostDeformationMatrixRegistrationSequence.Holder.Builder.- Returns:
- a
PostDeformationMatrixRegistrationSequence.Holder.Builderto create Post Deformation Matrix Registration Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPostDeformationMatrixRegistrationSequence
- Returns:
- the Post Deformation Matrix Registration Sequence (see
PostDeformationMatrixRegistrationSequence)
-
newPostDeformationMatrixRegistrationSequence
default PostDeformationMatrixRegistrationSequence newPostDeformationMatrixRegistrationSequence(int initialCapacity) Adds a new Post Deformation Matrix Registration Sequence. (seePostDeformationMatrixRegistrationSequence)- Parameters:
initialCapacity- the initial capacity for the new Post Deformation Matrix Registration Sequence
-
ensurePostDeformationMatrixRegistrationSequence
default PostDeformationMatrixRegistrationSequence ensurePostDeformationMatrixRegistrationSequence(int initialCapacity) Adds a new Post Deformation Matrix Registration Sequence (seePostDeformationMatrixRegistrationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Post Deformation Matrix Registration Sequence is created.- Returns:
- Either the already existing Post Deformation Matrix Registration Sequence (see
PostDeformationMatrixRegistrationSequence) or a new one with capacityinitialCapacity.
-
ensurePostDeformationMatrixRegistrationSequence
Adds a new Post Deformation Matrix Registration Sequence (seePostDeformationMatrixRegistrationSequence) with initial capacity 1 (seeensurePostDeformationMatrixRegistrationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Post Deformation Matrix Registration Sequence (see
PostDeformationMatrixRegistrationSequence) or a new one with capacity 1.
-
containsPostDeformationMatrixRegistrationSequence
default boolean containsPostDeformationMatrixRegistrationSequence()- Returns:
- Whether it contains the Post Deformation Matrix Registration Sequence (see
PostDeformationMatrixRegistrationSequence)
-
removePostDeformationMatrixRegistrationSequence
default void removePostDeformationMatrixRegistrationSequence()Removes the Post Deformation Matrix Registration Sequence (seePostDeformationMatrixRegistrationSequence
-