Interface SegmentSurfaceSourceInstanceSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ReferencedSurfaceSequence.Item
- Enclosing class:
- SegmentSurfaceSourceInstanceSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Segment Surface Source Instance Sequence" (see
SegmentSurfaceSourceInstanceSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAdds a new Segment Surface Source Instance Sequence (seeSegmentSurfaceSourceInstanceSequence) with initial capacity 1 (seeensureSegmentSurfaceSourceInstanceSequence(int)) if it does not already exist.ensureSegmentSurfaceSourceInstanceSequence(int initialCapacity) Adds a new Segment Surface Source Instance Sequence (seeSegmentSurfaceSourceInstanceSequence) if it does not already exist.newSegmentSurfaceSourceInstanceSequence(int initialCapacity) Adds a new Segment Surface Source Instance Sequence.default voidRemoves the Segment Surface Source Instance Sequence (seeSegmentSurfaceSourceInstanceSequencewrap(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 Segment Surface Source Instance Sequence (seeSegmentSurfaceSourceInstanceSequence)- Returns:
- A wrapper object implementing the
SegmentSurfaceSourceInstanceSequence.Holderinterface.
-
getSegmentSurfaceSourceInstanceSequence
- Returns:
- the Segment Surface Source Instance Sequence (see
SegmentSurfaceSourceInstanceSequence)
-
newSegmentSurfaceSourceInstanceSequence
default SegmentSurfaceSourceInstanceSequence newSegmentSurfaceSourceInstanceSequence(int initialCapacity) Adds a new Segment Surface Source Instance Sequence. (seeSegmentSurfaceSourceInstanceSequence)- Parameters:
initialCapacity- the initial capacity for the new Segment Surface Source Instance Sequence
-
ensureSegmentSurfaceSourceInstanceSequence
default SegmentSurfaceSourceInstanceSequence ensureSegmentSurfaceSourceInstanceSequence(int initialCapacity) Adds a new Segment Surface Source Instance Sequence (seeSegmentSurfaceSourceInstanceSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Segment Surface Source Instance Sequence is created.- Returns:
- Either the already existing Segment Surface Source Instance Sequence (see
SegmentSurfaceSourceInstanceSequence) or a new one with capacityinitialCapacity.
-
ensureSegmentSurfaceSourceInstanceSequence
Adds a new Segment Surface Source Instance Sequence (seeSegmentSurfaceSourceInstanceSequence) with initial capacity 1 (seeensureSegmentSurfaceSourceInstanceSequence(int)) if it does not already exist.- Returns:
- Either the already existing Segment Surface Source Instance Sequence (see
SegmentSurfaceSourceInstanceSequence) or a new one with capacity 1.
-
containsSegmentSurfaceSourceInstanceSequence
default boolean containsSegmentSurfaceSourceInstanceSequence()- Returns:
- Whether it contains the Segment Surface Source Instance Sequence (see
SegmentSurfaceSourceInstanceSequence)
-
removeSegmentSurfaceSourceInstanceSequence
default void removeSegmentSurfaceSourceInstanceSequence()Removes the Segment Surface Source Instance Sequence (seeSegmentSurfaceSourceInstanceSequence
-