Interface PresentationLUTContentSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- PresentationLUTContentSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Presentation LUT Content Sequence" (see
PresentationLUTContentSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault PresentationLUTContentSequenceAdds a new Presentation LUT Content Sequence (seePresentationLUTContentSequence) with initial capacity 1 (seeensurePresentationLUTContentSequence(int)) if it does not already exist.default PresentationLUTContentSequenceensurePresentationLUTContentSequence(int initialCapacity) Adds a new Presentation LUT Content Sequence (seePresentationLUTContentSequence) if it does not already exist.default PresentationLUTContentSequencedefault PresentationLUTContentSequencenewPresentationLUTContentSequence(int initialCapacity) Adds a new Presentation LUT Content Sequence.default voidRemoves the Presentation LUT Content Sequence (seePresentationLUTContentSequencewrap(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 Presentation LUT Content Sequence (seePresentationLUTContentSequence)- Returns:
- A wrapper object implementing the
PresentationLUTContentSequence.Holderinterface.
-
getPresentationLUTContentSequence
- Returns:
- the Presentation LUT Content Sequence (see
PresentationLUTContentSequence)
-
newPresentationLUTContentSequence
Adds a new Presentation LUT Content Sequence. (seePresentationLUTContentSequence)- Parameters:
initialCapacity- the initial capacity for the new Presentation LUT Content Sequence
-
ensurePresentationLUTContentSequence
Adds a new Presentation LUT Content Sequence (seePresentationLUTContentSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Presentation LUT Content Sequence is created.- Returns:
- Either the already existing Presentation LUT Content Sequence (see
PresentationLUTContentSequence) or a new one with capacityinitialCapacity.
-
ensurePresentationLUTContentSequence
Adds a new Presentation LUT Content Sequence (seePresentationLUTContentSequence) with initial capacity 1 (seeensurePresentationLUTContentSequence(int)) if it does not already exist.- Returns:
- Either the already existing Presentation LUT Content Sequence (see
PresentationLUTContentSequence) or a new one with capacity 1.
-
containsPresentationLUTContentSequence
default boolean containsPresentationLUTContentSequence()- Returns:
- Whether it contains the Presentation LUT Content Sequence (see
PresentationLUTContentSequence)
-
removePresentationLUTContentSequence
default void removePresentationLUTContentSequence()Removes the Presentation LUT Content Sequence (seePresentationLUTContentSequence
-