Interface VolumetricAnnotationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
VolumetricGraphicAnnotationModule
- All Known Implementing Classes:
PlanarMPRVolumetricPresentationStateIOD,VolumeRenderingVolumetricPresentationStateIOD,VolumetricAnnotationSequence.SimpleHolder
- Enclosing class:
- VolumetricAnnotationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Volumetric Annotation Sequence" (see
VolumetricAnnotationSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault VolumetricAnnotationSequenceAdds a new Volumetric Annotation Sequence (seeVolumetricAnnotationSequence) with initial capacity 1 (seeensureVolumetricAnnotationSequence(int)) if it does not already exist.default VolumetricAnnotationSequenceensureVolumetricAnnotationSequence(int initialCapacity) Adds a new Volumetric Annotation Sequence (seeVolumetricAnnotationSequence) if it does not already exist.default VolumetricAnnotationSequencedefault VolumetricAnnotationSequencenewVolumetricAnnotationSequence(int initialCapacity) Adds a new Volumetric Annotation Sequence.default voidRemoves the Volumetric Annotation Sequence (seeVolumetricAnnotationSequencewrap(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 Volumetric Annotation Sequence (seeVolumetricAnnotationSequence)- Returns:
- A wrapper object implementing the
VolumetricAnnotationSequence.Holderinterface.
-
builder
- Returns:
- a
VolumetricAnnotationSequence.Holder.Builderto create Volumetric Annotation Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theVolumetricAnnotationSequence.Holder.Builder.- Returns:
- a
VolumetricAnnotationSequence.Holder.Builderto create Volumetric Annotation Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getVolumetricAnnotationSequence
- Returns:
- the Volumetric Annotation Sequence (see
VolumetricAnnotationSequence)
-
newVolumetricAnnotationSequence
Adds a new Volumetric Annotation Sequence. (seeVolumetricAnnotationSequence)- Parameters:
initialCapacity- the initial capacity for the new Volumetric Annotation Sequence
-
ensureVolumetricAnnotationSequence
Adds a new Volumetric Annotation Sequence (seeVolumetricAnnotationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Volumetric Annotation Sequence is created.- Returns:
- Either the already existing Volumetric Annotation Sequence (see
VolumetricAnnotationSequence) or a new one with capacityinitialCapacity.
-
ensureVolumetricAnnotationSequence
Adds a new Volumetric Annotation Sequence (seeVolumetricAnnotationSequence) with initial capacity 1 (seeensureVolumetricAnnotationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Volumetric Annotation Sequence (see
VolumetricAnnotationSequence) or a new one with capacity 1.
-
containsVolumetricAnnotationSequence
default boolean containsVolumetricAnnotationSequence()- Returns:
- Whether it contains the Volumetric Annotation Sequence (see
VolumetricAnnotationSequence)
-
removeVolumetricAnnotationSequence
default void removeVolumetricAnnotationSequence()Removes the Volumetric Annotation Sequence (seeVolumetricAnnotationSequence
-