Interface TwoDPlaneCoordinatesSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
PlanningLandmarkPlaneSequence.Item
- Enclosing class:
- TwoDPlaneCoordinatesSequence
public static interface TwoDPlaneCoordinatesSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "2D Plane Coordinates Sequence" (seeTwoDPlaneCoordinatesSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTwoDPlaneCoordinatesSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static TwoDPlaneCoordinatesSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the 2D Plane Coordinates Sequence (seeTwoDPlaneCoordinatesSequence)- Returns:
- a wrapper object implementing the
TwoDPlaneCoordinatesSequence.Holderinterface.
-
builder
static TwoDPlaneCoordinatesSequence.Holder.Builder builder()
- Returns:
- a
TwoDPlaneCoordinatesSequence.Holder.Builderto create 2D Plane Coordinates Sequence Items with a fluent API.
-
builder
static TwoDPlaneCoordinatesSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theTwoDPlaneCoordinatesSequence.Holder.Builder.- Returns:
- a
TwoDPlaneCoordinatesSequence.Holder.Builderto create 2D Plane Coordinates Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTwoDPlaneCoordinatesSequence
default TwoDPlaneCoordinatesSequence getTwoDPlaneCoordinatesSequence()
- Returns:
- the 2D Plane Coordinates Sequence (see
TwoDPlaneCoordinatesSequence)
-
newTwoDPlaneCoordinatesSequence
default TwoDPlaneCoordinatesSequence newTwoDPlaneCoordinatesSequence(int initialCapacity)
Adds a new 2D Plane Coordinates Sequence. (seeTwoDPlaneCoordinatesSequence)- Parameters:
initialCapacity- the initial capacity for the new 2D Plane Coordinates Sequence- Returns:
- the newly created TwoDPlaneCoordinatesSequence.
-
ensureTwoDPlaneCoordinatesSequence
default TwoDPlaneCoordinatesSequence ensureTwoDPlaneCoordinatesSequence(int initialCapacity)
Adds a new 2D Plane Coordinates Sequence (seeTwoDPlaneCoordinatesSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new 2D Plane Coordinates Sequence is created.- Returns:
- either the already existing 2D Plane Coordinates Sequence (see
TwoDPlaneCoordinatesSequence) or a new one with capacityinitialCapacity.
-
ensureTwoDPlaneCoordinatesSequence
default TwoDPlaneCoordinatesSequence ensureTwoDPlaneCoordinatesSequence()
Adds a new 2D Plane Coordinates Sequence (seeTwoDPlaneCoordinatesSequence) with initial capacity 1 (seeensureTwoDPlaneCoordinatesSequence(int)) if it does not already exist.- Returns:
- either the already existing 2D Plane Coordinates Sequence (see
TwoDPlaneCoordinatesSequence) or a new one with capacity 1.
-
containsTwoDPlaneCoordinatesSequence
default boolean containsTwoDPlaneCoordinatesSequence()
- Returns:
- whether it contains the 2D Plane Coordinates Sequence (see
TwoDPlaneCoordinatesSequence)
-
removeTwoDPlaneCoordinatesSequence
default void removeTwoDPlaneCoordinatesSequence()
Removes the 2D Plane Coordinates Sequence (seeTwoDPlaneCoordinatesSequence
-
-