Interface ImageCenterPointCoordinatesSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
SlideCoordinatesModule
- All Known Implementing Classes:
ImageCenterPointCoordinatesSequence.SimpleHolder,VLSlideCoordinatesMicroscopicImageIOD
- Enclosing class:
- ImageCenterPointCoordinatesSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Image Center Point Coordinates Sequence" (see
ImageCenterPointCoordinatesSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Image Center Point Coordinates Sequence (seeImageCenterPointCoordinatesSequence) with initial capacity 1 (seeensureImageCenterPointCoordinatesSequence(int)) if it does not already exist.ensureImageCenterPointCoordinatesSequence(int initialCapacity) Adds a new Image Center Point Coordinates Sequence (seeImageCenterPointCoordinatesSequence) if it does not already exist.newImageCenterPointCoordinatesSequence(int initialCapacity) Adds a new Image Center Point Coordinates Sequence.default voidRemoves the Image Center Point Coordinates Sequence (seeImageCenterPointCoordinatesSequencewrap(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 Image Center Point Coordinates Sequence (seeImageCenterPointCoordinatesSequence)- Returns:
- A wrapper object implementing the
ImageCenterPointCoordinatesSequence.Holderinterface.
-
builder
- Returns:
- a
ImageCenterPointCoordinatesSequence.Holder.Builderto create Image Center Point Coordinates Sequence Items with a fluent API.
-
builder
static ImageCenterPointCoordinatesSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theImageCenterPointCoordinatesSequence.Holder.Builder.- Returns:
- a
ImageCenterPointCoordinatesSequence.Holder.Builderto create Image Center Point Coordinates Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getImageCenterPointCoordinatesSequence
- Returns:
- the Image Center Point Coordinates Sequence (see
ImageCenterPointCoordinatesSequence)
-
newImageCenterPointCoordinatesSequence
default ImageCenterPointCoordinatesSequence newImageCenterPointCoordinatesSequence(int initialCapacity) Adds a new Image Center Point Coordinates Sequence. (seeImageCenterPointCoordinatesSequence)- Parameters:
initialCapacity- the initial capacity for the new Image Center Point Coordinates Sequence
-
ensureImageCenterPointCoordinatesSequence
default ImageCenterPointCoordinatesSequence ensureImageCenterPointCoordinatesSequence(int initialCapacity) Adds a new Image Center Point Coordinates Sequence (seeImageCenterPointCoordinatesSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Image Center Point Coordinates Sequence is created.- Returns:
- Either the already existing Image Center Point Coordinates Sequence (see
ImageCenterPointCoordinatesSequence) or a new one with capacityinitialCapacity.
-
ensureImageCenterPointCoordinatesSequence
Adds a new Image Center Point Coordinates Sequence (seeImageCenterPointCoordinatesSequence) with initial capacity 1 (seeensureImageCenterPointCoordinatesSequence(int)) if it does not already exist.- Returns:
- Either the already existing Image Center Point Coordinates Sequence (see
ImageCenterPointCoordinatesSequence) or a new one with capacity 1.
-
containsImageCenterPointCoordinatesSequence
default boolean containsImageCenterPointCoordinatesSequence()- Returns:
- Whether it contains the Image Center Point Coordinates Sequence (see
ImageCenterPointCoordinatesSequence)
-
removeImageCenterPointCoordinatesSequence
default void removeImageCenterPointCoordinatesSequence()Removes the Image Center Point Coordinates Sequence (seeImageCenterPointCoordinatesSequence
-