Interface SurfacePointsSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
PointCloudModule
- All Known Implementing Classes:
PointCloudModule.SimpleWrapper,SurfaceScanPointCloudIOD,SurfaceSequence.Item
- Enclosing class:
- SurfacePointsSequence
public static interface SurfacePointsSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Surface Points Sequence" (seeSurfacePointsSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSurfacePointsSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static SurfacePointsSequence.Holder.Builderbuilder()static SurfacePointsSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsSurfacePointsSequence()default SurfacePointsSequenceensureSurfacePointsSequence()Adds a new Surface Points Sequence (seeSurfacePointsSequence) with initial capacity 1 (seeensureSurfacePointsSequence(int)) if it does not already exist.default SurfacePointsSequenceensureSurfacePointsSequence(int initialCapacity)Adds a new Surface Points Sequence (seeSurfacePointsSequence) if it does not already exist.default SurfacePointsSequencegetSurfacePointsSequence()default SurfacePointsSequencenewSurfacePointsSequence(int initialCapacity)Adds a new Surface Points Sequence.default voidremoveSurfacePointsSequence()Removes the Surface Points Sequence (seeSurfacePointsSequencestatic SurfacePointsSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static SurfacePointsSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Surface Points Sequence (seeSurfacePointsSequence)- Returns:
- a wrapper object implementing the
SurfacePointsSequence.Holderinterface.
-
builder
static SurfacePointsSequence.Holder.Builder builder()
- Returns:
- a
SurfacePointsSequence.Holder.Builderto create Surface Points Sequence Items with a fluent API.
-
builder
static SurfacePointsSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theSurfacePointsSequence.Holder.Builder.- Returns:
- a
SurfacePointsSequence.Holder.Builderto create Surface Points Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSurfacePointsSequence
default SurfacePointsSequence getSurfacePointsSequence()
- Returns:
- the Surface Points Sequence (see
SurfacePointsSequence)
-
newSurfacePointsSequence
default SurfacePointsSequence newSurfacePointsSequence(int initialCapacity)
Adds a new Surface Points Sequence. (seeSurfacePointsSequence)- Parameters:
initialCapacity- the initial capacity for the new Surface Points Sequence- Returns:
- the newly created SurfacePointsSequence.
-
ensureSurfacePointsSequence
default SurfacePointsSequence ensureSurfacePointsSequence(int initialCapacity)
Adds a new Surface Points Sequence (seeSurfacePointsSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Surface Points Sequence is created.- Returns:
- either the already existing Surface Points Sequence (see
SurfacePointsSequence) or a new one with capacityinitialCapacity.
-
ensureSurfacePointsSequence
default SurfacePointsSequence ensureSurfacePointsSequence()
Adds a new Surface Points Sequence (seeSurfacePointsSequence) with initial capacity 1 (seeensureSurfacePointsSequence(int)) if it does not already exist.- Returns:
- either the already existing Surface Points Sequence (see
SurfacePointsSequence) or a new one with capacity 1.
-
containsSurfacePointsSequence
default boolean containsSurfacePointsSequence()
- Returns:
- whether it contains the Surface Points Sequence (see
SurfacePointsSequence)
-
removeSurfacePointsSequence
default void removeSurfacePointsSequence()
Removes the Surface Points Sequence (seeSurfacePointsSequence
-
-