Interface ContourImageSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ContourSequence.Item,RTReferencedSeriesSequence.Item
- Enclosing class:
- ContourImageSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Contour Image Sequence" (see
ContourImageSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault ContourImageSequenceensureContourImageSequence(int initialCapacity) Adds a new Contour Image Sequence if it does not already exist.default ContourImageSequencedefault ContourImageSequencenewContourImageSequence(int initialCapacity) Adds a new Contour Image Sequence.default voidRemoves the Contour Image Sequence (seeContourImageSequencestatic ContourImageSequence.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 Contour Image Sequence (seeContourImageSequence)- Returns:
- A wrapper object implementing the
ContourImageSequence.Holderinterface.
-
getContourImageSequence
- Returns:
- the Contour Image Sequence (see
ContourImageSequence)
-
newContourImageSequence
Adds a new Contour Image Sequence. (seeContourImageSequence)- Parameters:
initialCapacity- the initial capacity for the new Contour Image Sequence
-
ensureContourImageSequence
Adds a new Contour Image Sequence if it does not already exist. (seeContourImageSequence)- Parameters:
initialCapacity- the initial capacity if a new Contour Image Sequence is created
-
containsContourImageSequence
default boolean containsContourImageSequence()- Returns:
- Whether it contains the Contour Image Sequence (see
ContourImageSequence)
-
removeContourImageSequence
default void removeContourImageSequence()Removes the Contour Image Sequence (seeContourImageSequence
-