Interface SurfacePointsSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
PointCloudModule
- All Known Implementing Classes:
SurfaceScanPointCloudIOD,SurfaceSequence.Item
- Enclosing class:
- SurfacePointsSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Surface Points Sequence" (see
SurfacePointsSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault SurfacePointsSequenceAdds 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 SurfacePointsSequencedefault SurfacePointsSequencenewSurfacePointsSequence(int initialCapacity) Adds a new Surface Points Sequence.default voidRemoves the Surface Points Sequence (seeSurfacePointsSequencestatic SurfacePointsSequence.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 Surface Points Sequence (seeSurfacePointsSequence)- Returns:
- A wrapper object implementing the
SurfacePointsSequence.Holderinterface.
-
getSurfacePointsSequence
- Returns:
- the Surface Points Sequence (see
SurfacePointsSequence)
-
newSurfacePointsSequence
Adds a new Surface Points Sequence. (seeSurfacePointsSequence)- Parameters:
initialCapacity- the initial capacity for the new Surface Points Sequence
-
ensureSurfacePointsSequence
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
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
-