Interface SegmentSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
SegmentationImageModule,SurfaceSegmentationModule
- All Known Implementing Classes:
SegmentationIOD,SurfaceSegmentationIOD
- Enclosing class:
- SegmentSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Segment Sequence" (see
SegmentSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault SegmentSequenceensureSegmentSequence(int initialCapacity) Adds a new Segment Sequence if it does not already exist.default SegmentSequencedefault SegmentSequencenewSegmentSequence(int initialCapacity) Adds a new Segment Sequence.default voidRemoves the Segment Sequence (seeSegmentSequencestatic SegmentSequence.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 Segment Sequence (seeSegmentSequence)- Returns:
- A wrapper object implementing the
SegmentSequence.Holderinterface.
-
getSegmentSequence
- Returns:
- the Segment Sequence (see
SegmentSequence)
-
newSegmentSequence
Adds a new Segment Sequence. (seeSegmentSequence)- Parameters:
initialCapacity- the initial capacity for the new Segment Sequence
-
ensureSegmentSequence
Adds a new Segment Sequence if it does not already exist. (seeSegmentSequence)- Parameters:
initialCapacity- the initial capacity if a new Segment Sequence is created
-
containsSegmentSequence
default boolean containsSegmentSequence()- Returns:
- Whether it contains the Segment Sequence (see
SegmentSequence)
-
removeSegmentSequence
default void removeSegmentSequence()Removes the Segment Sequence (seeSegmentSequence
-