Interface ReferencedPresentationLUTSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
BasicFilmBoxRelationshipModule
- All Known Implementing Classes:
BasicFilmBoxIOD
- Enclosing class:
- ReferencedPresentationLUTSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Referenced Presentation LUT Sequence" (see
ReferencedPresentationLUTSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAdds a new Referenced Presentation LUT Sequence (seeReferencedPresentationLUTSequence) with initial capacity 1 (seeensureReferencedPresentationLUTSequence(int)) if it does not already exist.ensureReferencedPresentationLUTSequence(int initialCapacity) Adds a new Referenced Presentation LUT Sequence (seeReferencedPresentationLUTSequence) if it does not already exist.newReferencedPresentationLUTSequence(int initialCapacity) Adds a new Referenced Presentation LUT Sequence.default voidRemoves the Referenced Presentation LUT Sequence (seeReferencedPresentationLUTSequencewrap(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 Referenced Presentation LUT Sequence (seeReferencedPresentationLUTSequence)- Returns:
- A wrapper object implementing the
ReferencedPresentationLUTSequence.Holderinterface.
-
getReferencedPresentationLUTSequence
- Returns:
- the Referenced Presentation LUT Sequence (see
ReferencedPresentationLUTSequence)
-
newReferencedPresentationLUTSequence
Adds a new Referenced Presentation LUT Sequence. (seeReferencedPresentationLUTSequence)- Parameters:
initialCapacity- the initial capacity for the new Referenced Presentation LUT Sequence
-
ensureReferencedPresentationLUTSequence
default ReferencedPresentationLUTSequence ensureReferencedPresentationLUTSequence(int initialCapacity) Adds a new Referenced Presentation LUT Sequence (seeReferencedPresentationLUTSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Referenced Presentation LUT Sequence is created.- Returns:
- Either the already existing Referenced Presentation LUT Sequence (see
ReferencedPresentationLUTSequence) or a new one with capacityinitialCapacity.
-
ensureReferencedPresentationLUTSequence
Adds a new Referenced Presentation LUT Sequence (seeReferencedPresentationLUTSequence) with initial capacity 1 (seeensureReferencedPresentationLUTSequence(int)) if it does not already exist.- Returns:
- Either the already existing Referenced Presentation LUT Sequence (see
ReferencedPresentationLUTSequence) or a new one with capacity 1.
-
containsReferencedPresentationLUTSequence
default boolean containsReferencedPresentationLUTSequence()- Returns:
- Whether it contains the Referenced Presentation LUT Sequence (see
ReferencedPresentationLUTSequence)
-
removeReferencedPresentationLUTSequence
default void removeReferencedPresentationLUTSequence()Removes the Referenced Presentation LUT Sequence (seeReferencedPresentationLUTSequence
-