Interface PixelIntensityRelationshipLUTSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
MaskSubtractionSequence.Item,PixelIntensityRelationshipLUTSequence.SimpleHolder
- Enclosing class:
- PixelIntensityRelationshipLUTSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Pixel Intensity Relationship LUT Sequence" (see
PixelIntensityRelationshipLUTSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Pixel Intensity Relationship LUT Sequence (seePixelIntensityRelationshipLUTSequence) with initial capacity 1 (seeensurePixelIntensityRelationshipLUTSequence(int)) if it does not already exist.ensurePixelIntensityRelationshipLUTSequence(int initialCapacity) Adds a new Pixel Intensity Relationship LUT Sequence (seePixelIntensityRelationshipLUTSequence) if it does not already exist.newPixelIntensityRelationshipLUTSequence(int initialCapacity) Adds a new Pixel Intensity Relationship LUT Sequence.default voidRemoves the Pixel Intensity Relationship LUT Sequence (seePixelIntensityRelationshipLUTSequencewrap(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 Pixel Intensity Relationship LUT Sequence (seePixelIntensityRelationshipLUTSequence)- Returns:
- A wrapper object implementing the
PixelIntensityRelationshipLUTSequence.Holderinterface.
-
builder
- Returns:
- a
PixelIntensityRelationshipLUTSequence.Holder.Builderto create Pixel Intensity Relationship LUT Sequence Items with a fluent API.
-
builder
static PixelIntensityRelationshipLUTSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by thePixelIntensityRelationshipLUTSequence.Holder.Builder.- Returns:
- a
PixelIntensityRelationshipLUTSequence.Holder.Builderto create Pixel Intensity Relationship LUT Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPixelIntensityRelationshipLUTSequence
- Returns:
- the Pixel Intensity Relationship LUT Sequence (see
PixelIntensityRelationshipLUTSequence)
-
newPixelIntensityRelationshipLUTSequence
default PixelIntensityRelationshipLUTSequence newPixelIntensityRelationshipLUTSequence(int initialCapacity) Adds a new Pixel Intensity Relationship LUT Sequence. (seePixelIntensityRelationshipLUTSequence)- Parameters:
initialCapacity- the initial capacity for the new Pixel Intensity Relationship LUT Sequence
-
ensurePixelIntensityRelationshipLUTSequence
default PixelIntensityRelationshipLUTSequence ensurePixelIntensityRelationshipLUTSequence(int initialCapacity) Adds a new Pixel Intensity Relationship LUT Sequence (seePixelIntensityRelationshipLUTSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Pixel Intensity Relationship LUT Sequence is created.- Returns:
- Either the already existing Pixel Intensity Relationship LUT Sequence (see
PixelIntensityRelationshipLUTSequence) or a new one with capacityinitialCapacity.
-
ensurePixelIntensityRelationshipLUTSequence
Adds a new Pixel Intensity Relationship LUT Sequence (seePixelIntensityRelationshipLUTSequence) with initial capacity 1 (seeensurePixelIntensityRelationshipLUTSequence(int)) if it does not already exist.- Returns:
- Either the already existing Pixel Intensity Relationship LUT Sequence (see
PixelIntensityRelationshipLUTSequence) or a new one with capacity 1.
-
containsPixelIntensityRelationshipLUTSequence
default boolean containsPixelIntensityRelationshipLUTSequence()- Returns:
- Whether it contains the Pixel Intensity Relationship LUT Sequence (see
PixelIntensityRelationshipLUTSequence)
-
removePixelIntensityRelationshipLUTSequence
default void removePixelIntensityRelationshipLUTSequence()Removes the Pixel Intensity Relationship LUT Sequence (seePixelIntensityRelationshipLUTSequence
-