Interface PresentationLUTSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
PresentationLUTModule,SoftcopyPresentationLUTModule
- All Known Implementing Classes:
GrayscaleSoftcopyPresentationStateIOD,PresentationLUTIOD,XAXRFGrayscaleSoftcopyPresentationStateIOD
- Enclosing class:
- PresentationLUTSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Presentation LUT Sequence" (see
PresentationLUTSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault PresentationLUTSequenceAdds a new Presentation LUT Sequence (seePresentationLUTSequence) with initial capacity 1 (seeensurePresentationLUTSequence(int)) if it does not already exist.default PresentationLUTSequenceensurePresentationLUTSequence(int initialCapacity) Adds a new Presentation LUT Sequence (seePresentationLUTSequence) if it does not already exist.default PresentationLUTSequencedefault PresentationLUTSequencenewPresentationLUTSequence(int initialCapacity) Adds a new Presentation LUT Sequence.default voidRemoves the Presentation LUT Sequence (seePresentationLUTSequencewrap(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 Sequence (seePresentationLUTSequence)- Returns:
- A wrapper object implementing the
PresentationLUTSequence.Holderinterface.
-
getPresentationLUTSequence
- Returns:
- the Presentation LUT Sequence (see
PresentationLUTSequence)
-
newPresentationLUTSequence
Adds a new Presentation LUT Sequence. (seePresentationLUTSequence)- Parameters:
initialCapacity- the initial capacity for the new Presentation LUT Sequence
-
ensurePresentationLUTSequence
Adds a new Presentation LUT Sequence (seePresentationLUTSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Presentation LUT Sequence is created.- Returns:
- Either the already existing Presentation LUT Sequence (see
PresentationLUTSequence) or a new one with capacityinitialCapacity.
-
ensurePresentationLUTSequence
Adds a new Presentation LUT Sequence (seePresentationLUTSequence) with initial capacity 1 (seeensurePresentationLUTSequence(int)) if it does not already exist.- Returns:
- Either the already existing Presentation LUT Sequence (see
PresentationLUTSequence) or a new one with capacity 1.
-
containsPresentationLUTSequence
default boolean containsPresentationLUTSequence()- Returns:
- Whether it contains the Presentation LUT Sequence (see
PresentationLUTSequence)
-
removePresentationLUTSequence
default void removePresentationLUTSequence()Removes the Presentation LUT Sequence (seePresentationLUTSequence
-