Interface SoftcopyVOILUTSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
SoftcopyVOILUTModule
- All Known Implementing Classes:
BlendingSequence.Item,GrayscaleSoftcopyPresentationStateIOD,PseudoColorSoftcopyPresentationStateIOD,SoftcopyVOILUTSequence.SimpleHolder,XAXRFGrayscaleSoftcopyPresentationStateIOD
- Enclosing class:
- SoftcopyVOILUTSequence
public static interface SoftcopyVOILUTSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Softcopy VOI LUT Sequence" (seeSoftcopyVOILUTSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSoftcopyVOILUTSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static SoftcopyVOILUTSequence.Holder.Builderbuilder()static SoftcopyVOILUTSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsSoftcopyVOILUTSequence()default SoftcopyVOILUTSequenceensureSoftcopyVOILUTSequence()Adds a new Softcopy VOI LUT Sequence (seeSoftcopyVOILUTSequence) with initial capacity 1 (seeensureSoftcopyVOILUTSequence(int)) if it does not already exist.default SoftcopyVOILUTSequenceensureSoftcopyVOILUTSequence(int initialCapacity)Adds a new Softcopy VOI LUT Sequence (seeSoftcopyVOILUTSequence) if it does not already exist.default SoftcopyVOILUTSequencegetSoftcopyVOILUTSequence()default SoftcopyVOILUTSequencenewSoftcopyVOILUTSequence(int initialCapacity)Adds a new Softcopy VOI LUT Sequence.default voidremoveSoftcopyVOILUTSequence()Removes the Softcopy VOI LUT Sequence (seeSoftcopyVOILUTSequencestatic SoftcopyVOILUTSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static SoftcopyVOILUTSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Softcopy VOI LUT Sequence (seeSoftcopyVOILUTSequence)- Returns:
- a wrapper object implementing the
SoftcopyVOILUTSequence.Holderinterface.
-
builder
static SoftcopyVOILUTSequence.Holder.Builder builder()
- Returns:
- a
SoftcopyVOILUTSequence.Holder.Builderto create Softcopy VOI LUT Sequence Items with a fluent API.
-
builder
static SoftcopyVOILUTSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theSoftcopyVOILUTSequence.Holder.Builder.- Returns:
- a
SoftcopyVOILUTSequence.Holder.Builderto create Softcopy VOI LUT Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSoftcopyVOILUTSequence
default SoftcopyVOILUTSequence getSoftcopyVOILUTSequence()
- Returns:
- the Softcopy VOI LUT Sequence (see
SoftcopyVOILUTSequence)
-
newSoftcopyVOILUTSequence
default SoftcopyVOILUTSequence newSoftcopyVOILUTSequence(int initialCapacity)
Adds a new Softcopy VOI LUT Sequence. (seeSoftcopyVOILUTSequence)- Parameters:
initialCapacity- the initial capacity for the new Softcopy VOI LUT Sequence- Returns:
- the newly created SoftcopyVOILUTSequence.
-
ensureSoftcopyVOILUTSequence
default SoftcopyVOILUTSequence ensureSoftcopyVOILUTSequence(int initialCapacity)
Adds a new Softcopy VOI LUT Sequence (seeSoftcopyVOILUTSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Softcopy VOI LUT Sequence is created.- Returns:
- either the already existing Softcopy VOI LUT Sequence (see
SoftcopyVOILUTSequence) or a new one with capacityinitialCapacity.
-
ensureSoftcopyVOILUTSequence
default SoftcopyVOILUTSequence ensureSoftcopyVOILUTSequence()
Adds a new Softcopy VOI LUT Sequence (seeSoftcopyVOILUTSequence) with initial capacity 1 (seeensureSoftcopyVOILUTSequence(int)) if it does not already exist.- Returns:
- either the already existing Softcopy VOI LUT Sequence (see
SoftcopyVOILUTSequence) or a new one with capacity 1.
-
containsSoftcopyVOILUTSequence
default boolean containsSoftcopyVOILUTSequence()
- Returns:
- whether it contains the Softcopy VOI LUT Sequence (see
SoftcopyVOILUTSequence)
-
removeSoftcopyVOILUTSequence
default void removeSoftcopyVOILUTSequence()
Removes the Softcopy VOI LUT Sequence (seeSoftcopyVOILUTSequence
-
-