Interface WeightingTransferFunctionSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
PresentationStateCompositorComponentSequence.Item,WeightingTransferFunctionSequence.SimpleHolder
- Enclosing class:
- WeightingTransferFunctionSequence
public static interface WeightingTransferFunctionSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Weighting Transfer Function Sequence" (seeWeightingTransferFunctionSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classWeightingTransferFunctionSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static WeightingTransferFunctionSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Weighting Transfer Function Sequence (seeWeightingTransferFunctionSequence)- Returns:
- a wrapper object implementing the
WeightingTransferFunctionSequence.Holderinterface.
-
builder
static WeightingTransferFunctionSequence.Holder.Builder builder()
- Returns:
- a
WeightingTransferFunctionSequence.Holder.Builderto create Weighting Transfer Function Sequence Items with a fluent API.
-
builder
static WeightingTransferFunctionSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theWeightingTransferFunctionSequence.Holder.Builder.- Returns:
- a
WeightingTransferFunctionSequence.Holder.Builderto create Weighting Transfer Function Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getWeightingTransferFunctionSequence
default WeightingTransferFunctionSequence getWeightingTransferFunctionSequence()
- Returns:
- the Weighting Transfer Function Sequence (see
WeightingTransferFunctionSequence)
-
newWeightingTransferFunctionSequence
default WeightingTransferFunctionSequence newWeightingTransferFunctionSequence(int initialCapacity)
Adds a new Weighting Transfer Function Sequence. (seeWeightingTransferFunctionSequence)- Parameters:
initialCapacity- the initial capacity for the new Weighting Transfer Function Sequence- Returns:
- the newly created WeightingTransferFunctionSequence.
-
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
default WeightingTransferFunctionSequence 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
-
-