Interface SoftcopyVOILUTSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
SoftcopyVOILUTModule
- All Known Implementing Classes:
BlendingSequence.Item,GrayscaleSoftcopyPresentationStateIOD,PseudoColorSoftcopyPresentationStateIOD,XAXRFGrayscaleSoftcopyPresentationStateIOD
- Enclosing class:
- SoftcopyVOILUTSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Softcopy VOI LUT Sequence" (see
SoftcopyVOILUTSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault SoftcopyVOILUTSequenceAdds 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 SoftcopyVOILUTSequencedefault SoftcopyVOILUTSequencenewSoftcopyVOILUTSequence(int initialCapacity) Adds a new Softcopy VOI LUT Sequence.default voidRemoves the Softcopy VOI LUT Sequence (seeSoftcopyVOILUTSequencewrap(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 Softcopy VOI LUT Sequence (seeSoftcopyVOILUTSequence)- Returns:
- A wrapper object implementing the
SoftcopyVOILUTSequence.Holderinterface.
-
builder
- Returns:
- a
SoftcopyVOILUTSequence.Holder.Builderto create Softcopy VOI LUT Sequence Items with a fluent API.
-
builder
- 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
- Returns:
- the Softcopy VOI LUT Sequence (see
SoftcopyVOILUTSequence)
-
newSoftcopyVOILUTSequence
Adds a new Softcopy VOI LUT Sequence. (seeSoftcopyVOILUTSequence)- Parameters:
initialCapacity- the initial capacity for the new Softcopy VOI LUT Sequence
-
ensureSoftcopyVOILUTSequence
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
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
-