Interface PlanePositionSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- PlanePositionSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Plane Position Sequence" (see
PlanePositionSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault PlanePositionSequenceAdds a new Plane Position Sequence (seePlanePositionSequence) with initial capacity 1 (seeensurePlanePositionSequence(int)) if it does not already exist.default PlanePositionSequenceensurePlanePositionSequence(int initialCapacity) Adds a new Plane Position Sequence (seePlanePositionSequence) if it does not already exist.default PlanePositionSequencedefault PlanePositionSequencenewPlanePositionSequence(int initialCapacity) Adds a new Plane Position Sequence.default voidRemoves the Plane Position Sequence (seePlanePositionSequencestatic PlanePositionSequence.Holderwrap(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 Position Sequence (seePlanePositionSequence)- Returns:
- A wrapper object implementing the
PlanePositionSequence.Holderinterface.
-
getPlanePositionSequence
- Returns:
- the Plane Position Sequence (see
PlanePositionSequence)
-
newPlanePositionSequence
Adds a new Plane Position Sequence. (seePlanePositionSequence)- Parameters:
initialCapacity- the initial capacity for the new Plane Position Sequence
-
ensurePlanePositionSequence
Adds a new Plane Position Sequence (seePlanePositionSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Plane Position Sequence is created.- Returns:
- Either the already existing Plane Position Sequence (see
PlanePositionSequence) or a new one with capacityinitialCapacity.
-
ensurePlanePositionSequence
Adds a new Plane Position Sequence (seePlanePositionSequence) with initial capacity 1 (seeensurePlanePositionSequence(int)) if it does not already exist.- Returns:
- Either the already existing Plane Position Sequence (see
PlanePositionSequence) or a new one with capacity 1.
-
containsPlanePositionSequence
default boolean containsPlanePositionSequence()- Returns:
- Whether it contains the Plane Position Sequence (see
PlanePositionSequence)
-
removePlanePositionSequence
default void removePlanePositionSequence()Removes the Plane Position Sequence (seePlanePositionSequence
-