Interface USImageDescriptionSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- USImageDescriptionSequence
A class implementing this interface can hold attributes which contain the DICOM tag "US Image Description Sequence" (see
USImageDescriptionSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault USImageDescriptionSequenceAdds a new US Image Description Sequence (seeUSImageDescriptionSequence) with initial capacity 1 (seeensureUSImageDescriptionSequence(int)) if it does not already exist.default USImageDescriptionSequenceensureUSImageDescriptionSequence(int initialCapacity) Adds a new US Image Description Sequence (seeUSImageDescriptionSequence) if it does not already exist.default USImageDescriptionSequencedefault USImageDescriptionSequencenewUSImageDescriptionSequence(int initialCapacity) Adds a new US Image Description Sequence.default voidRemoves the US Image Description Sequence (seeUSImageDescriptionSequencewrap(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 US Image Description Sequence (seeUSImageDescriptionSequence)- Returns:
- A wrapper object implementing the
USImageDescriptionSequence.Holderinterface.
-
getUSImageDescriptionSequence
- Returns:
- the US Image Description Sequence (see
USImageDescriptionSequence)
-
newUSImageDescriptionSequence
Adds a new US Image Description Sequence. (seeUSImageDescriptionSequence)- Parameters:
initialCapacity- the initial capacity for the new US Image Description Sequence
-
ensureUSImageDescriptionSequence
Adds a new US Image Description Sequence (seeUSImageDescriptionSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new US Image Description Sequence is created.- Returns:
- Either the already existing US Image Description Sequence (see
USImageDescriptionSequence) or a new one with capacityinitialCapacity.
-
ensureUSImageDescriptionSequence
Adds a new US Image Description Sequence (seeUSImageDescriptionSequence) with initial capacity 1 (seeensureUSImageDescriptionSequence(int)) if it does not already exist.- Returns:
- Either the already existing US Image Description Sequence (see
USImageDescriptionSequence) or a new one with capacity 1.
-
containsUSImageDescriptionSequence
default boolean containsUSImageDescriptionSequence()- Returns:
- Whether it contains the US Image Description Sequence (see
USImageDescriptionSequence)
-
removeUSImageDescriptionSequence
default void removeUSImageDescriptionSequence()Removes the US Image Description Sequence (seeUSImageDescriptionSequence
-