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 PixelValueTransformationSequenceensurePixelValueTransformationSequence(int initialCapacity) Adds a new Pixel Value Transformation Sequence 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 if it does not already exist. (seePixelValueTransformationSequence)- Parameters:
initialCapacity- the initial capacity if a new Pixel Value Transformation Sequence is created
-
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
-