Interface FieldOfViewSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- FieldOfViewSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Field of View Sequence" (see
FieldOfViewSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault FieldOfViewSequenceAdds a new Field of View Sequence (seeFieldOfViewSequence) with initial capacity 1 (seeensureFieldOfViewSequence(int)) if it does not already exist.default FieldOfViewSequenceensureFieldOfViewSequence(int initialCapacity) Adds a new Field of View Sequence (seeFieldOfViewSequence) if it does not already exist.default FieldOfViewSequencedefault FieldOfViewSequencenewFieldOfViewSequence(int initialCapacity) Adds a new Field of View Sequence.default voidRemoves the Field of View Sequence (seeFieldOfViewSequencestatic FieldOfViewSequence.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 Field of View Sequence (seeFieldOfViewSequence)- Returns:
- A wrapper object implementing the
FieldOfViewSequence.Holderinterface.
-
getFieldOfViewSequence
- Returns:
- the Field of View Sequence (see
FieldOfViewSequence)
-
newFieldOfViewSequence
Adds a new Field of View Sequence. (seeFieldOfViewSequence)- Parameters:
initialCapacity- the initial capacity for the new Field of View Sequence
-
ensureFieldOfViewSequence
Adds a new Field of View Sequence (seeFieldOfViewSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Field of View Sequence is created.- Returns:
- Either the already existing Field of View Sequence (see
FieldOfViewSequence) or a new one with capacityinitialCapacity.
-
ensureFieldOfViewSequence
Adds a new Field of View Sequence (seeFieldOfViewSequence) with initial capacity 1 (seeensureFieldOfViewSequence(int)) if it does not already exist.- Returns:
- Either the already existing Field of View Sequence (see
FieldOfViewSequence) or a new one with capacity 1.
-
containsFieldOfViewSequence
default boolean containsFieldOfViewSequence()- Returns:
- Whether it contains the Field of View Sequence (see
FieldOfViewSequence)
-
removeFieldOfViewSequence
default void removeFieldOfViewSequence()Removes the Field of View Sequence (seeFieldOfViewSequence
-