Interface PlaneOrientationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CurrentFrameFunctionalGroupsSequence.Item,PerFrameFunctionalGroupsSequence.Item,PlaneOrientationSequence.SimpleHolder,SharedFunctionalGroupsSequence.Item
- Enclosing class:
- PlaneOrientationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Plane Orientation Sequence" (see
PlaneOrientationSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault PlaneOrientationSequenceAdds a new Plane Orientation Sequence (seePlaneOrientationSequence) with initial capacity 1 (seeensurePlaneOrientationSequence(int)) if it does not already exist.default PlaneOrientationSequenceensurePlaneOrientationSequence(int initialCapacity) Adds a new Plane Orientation Sequence (seePlaneOrientationSequence) if it does not already exist.default PlaneOrientationSequencedefault PlaneOrientationSequencenewPlaneOrientationSequence(int initialCapacity) Adds a new Plane Orientation Sequence.default voidRemoves the Plane Orientation Sequence (seePlaneOrientationSequencewrap(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 Plane Orientation Sequence (seePlaneOrientationSequence)- Returns:
- A wrapper object implementing the
PlaneOrientationSequence.Holderinterface.
-
builder
- Returns:
- a
PlaneOrientationSequence.Holder.Builderto create Plane Orientation Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by thePlaneOrientationSequence.Holder.Builder.- Returns:
- a
PlaneOrientationSequence.Holder.Builderto create Plane Orientation Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPlaneOrientationSequence
- Returns:
- the Plane Orientation Sequence (see
PlaneOrientationSequence)
-
newPlaneOrientationSequence
Adds a new Plane Orientation Sequence. (seePlaneOrientationSequence)- Parameters:
initialCapacity- the initial capacity for the new Plane Orientation Sequence
-
ensurePlaneOrientationSequence
Adds a new Plane Orientation Sequence (seePlaneOrientationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Plane Orientation Sequence is created.- Returns:
- Either the already existing Plane Orientation Sequence (see
PlaneOrientationSequence) or a new one with capacityinitialCapacity.
-
ensurePlaneOrientationSequence
Adds a new Plane Orientation Sequence (seePlaneOrientationSequence) with initial capacity 1 (seeensurePlaneOrientationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Plane Orientation Sequence (see
PlaneOrientationSequence) or a new one with capacity 1.
-
containsPlaneOrientationSequence
default boolean containsPlaneOrientationSequence()- Returns:
- Whether it contains the Plane Orientation Sequence (see
PlaneOrientationSequence)
-
removePlaneOrientationSequence
default void removePlaneOrientationSequence()Removes the Plane Orientation Sequence (seePlaneOrientationSequence
-