Interface OpticalPathSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
OpticalPathModule
- All Known Implementing Classes:
VLMicroscopicImageIOD,VLSlideCoordinatesMicroscopicImageIOD,VLWholeSlideMicroscopyImageIOD
- Enclosing class:
- OpticalPathSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Optical Path Sequence" (see
OpticalPathSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault OpticalPathSequenceAdds a new Optical Path Sequence (seeOpticalPathSequence) with initial capacity 1 (seeensureOpticalPathSequence(int)) if it does not already exist.default OpticalPathSequenceensureOpticalPathSequence(int initialCapacity) Adds a new Optical Path Sequence (seeOpticalPathSequence) if it does not already exist.default OpticalPathSequencedefault OpticalPathSequencenewOpticalPathSequence(int initialCapacity) Adds a new Optical Path Sequence.default voidRemoves the Optical Path Sequence (seeOpticalPathSequencestatic OpticalPathSequence.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 Optical Path Sequence (seeOpticalPathSequence)- Returns:
- A wrapper object implementing the
OpticalPathSequence.Holderinterface.
-
getOpticalPathSequence
- Returns:
- the Optical Path Sequence (see
OpticalPathSequence)
-
newOpticalPathSequence
Adds a new Optical Path Sequence. (seeOpticalPathSequence)- Parameters:
initialCapacity- the initial capacity for the new Optical Path Sequence
-
ensureOpticalPathSequence
Adds a new Optical Path Sequence (seeOpticalPathSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Optical Path Sequence is created.- Returns:
- Either the already existing Optical Path Sequence (see
OpticalPathSequence) or a new one with capacityinitialCapacity.
-
ensureOpticalPathSequence
Adds a new Optical Path Sequence (seeOpticalPathSequence) with initial capacity 1 (seeensureOpticalPathSequence(int)) if it does not already exist.- Returns:
- Either the already existing Optical Path Sequence (see
OpticalPathSequence) or a new one with capacity 1.
-
containsOpticalPathSequence
default boolean containsOpticalPathSequence()- Returns:
- Whether it contains the Optical Path Sequence (see
OpticalPathSequence)
-
removeOpticalPathSequence
default void removeOpticalPathSequence()Removes the Optical Path Sequence (seeOpticalPathSequence
-