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