Interface WeightingTransferFunctionSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
PresentationStateCompositorComponentSequence.Item
- Enclosing class:
- WeightingTransferFunctionSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Weighting Transfer Function Sequence" (see
WeightingTransferFunctionSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAdds a new Weighting Transfer Function Sequence (seeWeightingTransferFunctionSequence) with initial capacity 1 (seeensureWeightingTransferFunctionSequence(int)) if it does not already exist.ensureWeightingTransferFunctionSequence(int initialCapacity) Adds a new Weighting Transfer Function Sequence (seeWeightingTransferFunctionSequence) if it does not already exist.newWeightingTransferFunctionSequence(int initialCapacity) Adds a new Weighting Transfer Function Sequence.default voidRemoves the Weighting Transfer Function Sequence (seeWeightingTransferFunctionSequencewrap(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 Weighting Transfer Function Sequence (seeWeightingTransferFunctionSequence)- Returns:
- A wrapper object implementing the
WeightingTransferFunctionSequence.Holderinterface.
-
getWeightingTransferFunctionSequence
- Returns:
- the Weighting Transfer Function Sequence (see
WeightingTransferFunctionSequence)
-
newWeightingTransferFunctionSequence
Adds a new Weighting Transfer Function Sequence. (seeWeightingTransferFunctionSequence)- Parameters:
initialCapacity- the initial capacity for the new Weighting Transfer Function Sequence
-
ensureWeightingTransferFunctionSequence
default WeightingTransferFunctionSequence ensureWeightingTransferFunctionSequence(int initialCapacity) Adds a new Weighting Transfer Function Sequence (seeWeightingTransferFunctionSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Weighting Transfer Function Sequence is created.- Returns:
- Either the already existing Weighting Transfer Function Sequence (see
WeightingTransferFunctionSequence) or a new one with capacityinitialCapacity.
-
ensureWeightingTransferFunctionSequence
Adds a new Weighting Transfer Function Sequence (seeWeightingTransferFunctionSequence) with initial capacity 1 (seeensureWeightingTransferFunctionSequence(int)) if it does not already exist.- Returns:
- Either the already existing Weighting Transfer Function Sequence (see
WeightingTransferFunctionSequence) or a new one with capacity 1.
-
containsWeightingTransferFunctionSequence
default boolean containsWeightingTransferFunctionSequence()- Returns:
- Whether it contains the Weighting Transfer Function Sequence (see
WeightingTransferFunctionSequence)
-
removeWeightingTransferFunctionSequence
default void removeWeightingTransferFunctionSequence()Removes the Weighting Transfer Function Sequence (seeWeightingTransferFunctionSequence
-