Interface PixelValueTransformationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- PixelValueTransformationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Pixel Value Transformation Sequence" (see
PixelValueTransformationSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault PixelValueTransformationSequenceAdds a new Pixel Value Transformation Sequence (seePixelValueTransformationSequence) with initial capacity 1 (seeensurePixelValueTransformationSequence(int)) if it does not already exist.default PixelValueTransformationSequenceensurePixelValueTransformationSequence(int initialCapacity) Adds a new Pixel Value Transformation Sequence (seePixelValueTransformationSequence) if it does not already exist.default PixelValueTransformationSequencedefault PixelValueTransformationSequencenewPixelValueTransformationSequence(int initialCapacity) Adds a new Pixel Value Transformation Sequence.default voidRemoves the Pixel Value Transformation Sequence (seePixelValueTransformationSequencewrap(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 Value Transformation Sequence (seePixelValueTransformationSequence)- Returns:
- A wrapper object implementing the
PixelValueTransformationSequence.Holderinterface.
-
getPixelValueTransformationSequence
- Returns:
- the Pixel Value Transformation Sequence (see
PixelValueTransformationSequence)
-
newPixelValueTransformationSequence
Adds a new Pixel Value Transformation Sequence. (seePixelValueTransformationSequence)- Parameters:
initialCapacity- the initial capacity for the new Pixel Value Transformation Sequence
-
ensurePixelValueTransformationSequence
default PixelValueTransformationSequence ensurePixelValueTransformationSequence(int initialCapacity) Adds a new Pixel Value Transformation Sequence (seePixelValueTransformationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Pixel Value Transformation Sequence is created.- Returns:
- Either the already existing Pixel Value Transformation Sequence (see
PixelValueTransformationSequence) or a new one with capacityinitialCapacity.
-
ensurePixelValueTransformationSequence
Adds a new Pixel Value Transformation Sequence (seePixelValueTransformationSequence) with initial capacity 1 (seeensurePixelValueTransformationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Pixel Value Transformation Sequence (see
PixelValueTransformationSequence) or a new one with capacity 1.
-
containsPixelValueTransformationSequence
default boolean containsPixelValueTransformationSequence()- Returns:
- Whether it contains the Pixel Value Transformation Sequence (see
PixelValueTransformationSequence)
-
removePixelValueTransformationSequence
default void removePixelValueTransformationSequence()Removes the Pixel Value Transformation Sequence (seePixelValueTransformationSequence
-