Interface RTSegmentAnnotationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTSegmentAnnotationModule
- All Known Implementing Classes:
RTSegmentAnnotationIOD
- Enclosing class:
- RTSegmentAnnotationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "RT Segment Annotation Sequence" (see
RTSegmentAnnotationSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault RTSegmentAnnotationSequenceAdds a new RT Segment Annotation Sequence (seeRTSegmentAnnotationSequence) with initial capacity 1 (seeensureRTSegmentAnnotationSequence(int)) if it does not already exist.default RTSegmentAnnotationSequenceensureRTSegmentAnnotationSequence(int initialCapacity) Adds a new RT Segment Annotation Sequence (seeRTSegmentAnnotationSequence) if it does not already exist.default RTSegmentAnnotationSequencedefault RTSegmentAnnotationSequencenewRTSegmentAnnotationSequence(int initialCapacity) Adds a new RT Segment Annotation Sequence.default voidRemoves the RT Segment Annotation Sequence (seeRTSegmentAnnotationSequencewrap(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 RT Segment Annotation Sequence (seeRTSegmentAnnotationSequence)- Returns:
- A wrapper object implementing the
RTSegmentAnnotationSequence.Holderinterface.
-
getRTSegmentAnnotationSequence
- Returns:
- the RT Segment Annotation Sequence (see
RTSegmentAnnotationSequence)
-
newRTSegmentAnnotationSequence
Adds a new RT Segment Annotation Sequence. (seeRTSegmentAnnotationSequence)- Parameters:
initialCapacity- the initial capacity for the new RT Segment Annotation Sequence
-
ensureRTSegmentAnnotationSequence
Adds a new RT Segment Annotation Sequence (seeRTSegmentAnnotationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new RT Segment Annotation Sequence is created.- Returns:
- Either the already existing RT Segment Annotation Sequence (see
RTSegmentAnnotationSequence) or a new one with capacityinitialCapacity.
-
ensureRTSegmentAnnotationSequence
Adds a new RT Segment Annotation Sequence (seeRTSegmentAnnotationSequence) with initial capacity 1 (seeensureRTSegmentAnnotationSequence(int)) if it does not already exist.- Returns:
- Either the already existing RT Segment Annotation Sequence (see
RTSegmentAnnotationSequence) or a new one with capacity 1.
-
containsRTSegmentAnnotationSequence
default boolean containsRTSegmentAnnotationSequence()- Returns:
- Whether it contains the RT Segment Annotation Sequence (see
RTSegmentAnnotationSequence)
-
removeRTSegmentAnnotationSequence
default void removeRTSegmentAnnotationSequence()Removes the RT Segment Annotation Sequence (seeRTSegmentAnnotationSequence
-