Interface CollimatorShapeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- CollimatorShapeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Collimator Shape Sequence" (see
CollimatorShapeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault CollimatorShapeSequenceensureCollimatorShapeSequence(int initialCapacity) Adds a new Collimator Shape Sequence if it does not already exist.default CollimatorShapeSequencedefault CollimatorShapeSequencenewCollimatorShapeSequence(int initialCapacity) Adds a new Collimator Shape Sequence.default voidRemoves the Collimator Shape Sequence (seeCollimatorShapeSequencewrap(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 Collimator Shape Sequence (seeCollimatorShapeSequence)- Returns:
- A wrapper object implementing the
CollimatorShapeSequence.Holderinterface.
-
getCollimatorShapeSequence
- Returns:
- the Collimator Shape Sequence (see
CollimatorShapeSequence)
-
newCollimatorShapeSequence
Adds a new Collimator Shape Sequence. (seeCollimatorShapeSequence)- Parameters:
initialCapacity- the initial capacity for the new Collimator Shape Sequence
-
ensureCollimatorShapeSequence
Adds a new Collimator Shape Sequence if it does not already exist. (seeCollimatorShapeSequence)- Parameters:
initialCapacity- the initial capacity if a new Collimator Shape Sequence is created
-
containsCollimatorShapeSequence
default boolean containsCollimatorShapeSequence()- Returns:
- Whether it contains the Collimator Shape Sequence (see
CollimatorShapeSequence)
-
removeCollimatorShapeSequence
default void removeCollimatorShapeSequence()Removes the Collimator Shape Sequence (seeCollimatorShapeSequence
-