Interface RightImageSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
StereoPairsSequence.Item
- Enclosing class:
- RightImageSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Right Image Sequence" (see
RightImageSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault RightImageSequenceAdds a new Right Image Sequence (seeRightImageSequence) with initial capacity 1 (seeensureRightImageSequence(int)) if it does not already exist.default RightImageSequenceensureRightImageSequence(int initialCapacity) Adds a new Right Image Sequence (seeRightImageSequence) if it does not already exist.default RightImageSequencedefault RightImageSequencenewRightImageSequence(int initialCapacity) Adds a new Right Image Sequence.default voidRemoves the Right Image Sequence (seeRightImageSequencestatic RightImageSequence.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 Right Image Sequence (seeRightImageSequence)- Returns:
- A wrapper object implementing the
RightImageSequence.Holderinterface.
-
getRightImageSequence
- Returns:
- the Right Image Sequence (see
RightImageSequence)
-
newRightImageSequence
Adds a new Right Image Sequence. (seeRightImageSequence)- Parameters:
initialCapacity- the initial capacity for the new Right Image Sequence
-
ensureRightImageSequence
Adds a new Right Image Sequence (seeRightImageSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Right Image Sequence is created.- Returns:
- Either the already existing Right Image Sequence (see
RightImageSequence) or a new one with capacityinitialCapacity.
-
ensureRightImageSequence
Adds a new Right Image Sequence (seeRightImageSequence) with initial capacity 1 (seeensureRightImageSequence(int)) if it does not already exist.- Returns:
- Either the already existing Right Image Sequence (see
RightImageSequence) or a new one with capacity 1.
-
containsRightImageSequence
default boolean containsRightImageSequence()- Returns:
- Whether it contains the Right Image Sequence (see
RightImageSequence)
-
removeRightImageSequence
default void removeRightImageSequence()Removes the Right Image Sequence (seeRightImageSequence
-