Interface PixelShiftSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
MaskSubtractionSequence.Item
- Enclosing class:
- PixelShiftSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Pixel Shift Sequence" (see
PixelShiftSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault PixelShiftSequenceensurePixelShiftSequence(int initialCapacity) Adds a new Pixel Shift Sequence if it does not already exist.default PixelShiftSequencedefault PixelShiftSequencenewPixelShiftSequence(int initialCapacity) Adds a new Pixel Shift Sequence.default voidRemoves the Pixel Shift Sequence (seePixelShiftSequencestatic PixelShiftSequence.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 Pixel Shift Sequence (seePixelShiftSequence)- Returns:
- A wrapper object implementing the
PixelShiftSequence.Holderinterface.
-
getPixelShiftSequence
- Returns:
- the Pixel Shift Sequence (see
PixelShiftSequence)
-
newPixelShiftSequence
Adds a new Pixel Shift Sequence. (seePixelShiftSequence)- Parameters:
initialCapacity- the initial capacity for the new Pixel Shift Sequence
-
ensurePixelShiftSequence
Adds a new Pixel Shift Sequence if it does not already exist. (seePixelShiftSequence)- Parameters:
initialCapacity- the initial capacity if a new Pixel Shift Sequence is created
-
containsPixelShiftSequence
default boolean containsPixelShiftSequence()- Returns:
- Whether it contains the Pixel Shift Sequence (see
PixelShiftSequence)
-
removePixelShiftSequence
default void removePixelShiftSequence()Removes the Pixel Shift Sequence (seePixelShiftSequence
-