Interface PresentationLUTSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
PresentationLUTModule,SoftcopyPresentationLUTModule
- All Known Implementing Classes:
GrayscaleSoftcopyPresentationStateIOD,PresentationLUTIOD,PresentationLUTModule.SimpleWrapper,SoftcopyPresentationLUTModule.SimpleWrapper,XAXRFGrayscaleSoftcopyPresentationStateIOD
- Enclosing class:
- PresentationLUTSequence
public static interface PresentationLUTSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Presentation LUT Sequence" (seePresentationLUTSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPresentationLUTSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PresentationLUTSequence.Holder.Builderbuilder()static PresentationLUTSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsPresentationLUTSequence()default PresentationLUTSequenceensurePresentationLUTSequence()Adds 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 PresentationLUTSequencegetPresentationLUTSequence()default PresentationLUTSequencenewPresentationLUTSequence(int initialCapacity)Adds a new Presentation LUT Sequence.default voidremovePresentationLUTSequence()Removes the Presentation LUT Sequence (seePresentationLUTSequencestatic PresentationLUTSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static PresentationLUTSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Presentation LUT Sequence (seePresentationLUTSequence)- Returns:
- a wrapper object implementing the
PresentationLUTSequence.Holderinterface.
-
builder
static PresentationLUTSequence.Holder.Builder builder()
- Returns:
- a
PresentationLUTSequence.Holder.Builderto create Presentation LUT Sequence Items with a fluent API.
-
builder
static PresentationLUTSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePresentationLUTSequence.Holder.Builder.- Returns:
- a
PresentationLUTSequence.Holder.Builderto create Presentation LUT Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPresentationLUTSequence
default PresentationLUTSequence getPresentationLUTSequence()
- Returns:
- the Presentation LUT Sequence (see
PresentationLUTSequence)
-
newPresentationLUTSequence
default PresentationLUTSequence newPresentationLUTSequence(int initialCapacity)
Adds a new Presentation LUT Sequence. (seePresentationLUTSequence)- Parameters:
initialCapacity- the initial capacity for the new Presentation LUT Sequence- Returns:
- the newly created PresentationLUTSequence.
-
ensurePresentationLUTSequence
default PresentationLUTSequence ensurePresentationLUTSequence(int initialCapacity)
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
default PresentationLUTSequence 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
-
-