Interface SourceImageSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
CornealTopographyMapAnalysisModule,EnhancedUSImageModule,GeneralReferenceModule,OphthalmicOpticalCoherenceTomographyEnFaceImageModule,OphthalmicPhotographyImageModule,OphthalmicThicknessMapModule
- All Known Implementing Classes:
CArmPhotonElectronRadiationIOD,CArmPhotonElectronRadiationRecordIOD,CornealTopographyMapIOD,CRImageIOD,CTImageIOD,DeformableSpatialRegistrationIOD,DerivationImageSequence.Item,DermoscopicPhotographyImageIOD,DigitalIntraOralXRayImageIOD,DigitalMammographyXRayImageIOD,DigitalXRayImageIOD,EnhancedUSVolumeIOD,MRImageIOD,MultiFrameGrayscaleByteSCImageIOD,MultiFrameGrayscaleWordSCImageIOD,MultiFrameSingleBitSCImageIOD,MultiFrameTrueColorSCImageIOD,NMImageIOD,OphthalmicOpticalCoherenceTomographyEnFaceImageIOD,OphthalmicPhotography16BitImageIOD,OphthalmicPhotography8BitImageIOD,OphthalmicThicknessMapIOD,ParametricMapIOD,PETImageIOD,RealTimeVideoEndoscopicImageIOD,RealTimeVideoPhotographicImageIOD,RoboticArmRadiationIOD,RoboticArmRadiationRecordIOD,RTBeamsDeliveryInstructionIOD,RTBeamsTreatmentRecordIOD,RTBrachyApplicationSetupDeliveryInstructionIOD,RTBrachyTreatmentRecordIOD,RTImageIOD,RTIonBeamsTreatmentRecordIOD,RTIonPlanIOD,RTPhysicianIntentIOD,RTPlanIOD,RTRadiationRecordSetIOD,RTRadiationSalvageRecordIOD,RTRadiationSetDeliveryInstructionIOD,RTRadiationSetIOD,RTSegmentAnnotationIOD,RTStructureSetIOD,RTTreatmentPreparationIOD,RTTreatmentSummaryRecordIOD,SecondaryCaptureImageIOD,SegmentationIOD,SourceImageSequence.SimpleHolder,SpatialFiducialsIOD,SpatialRegistrationIOD,SurfaceSegmentationIOD,TomotherapeuticRadiationIOD,TomotherapeuticRadiationRecordIOD,USImageIOD,USMultiFrameImageIOD,VideoEndoscopicImageIOD,VideoMicroscopicImageIOD,VideoPhotographicImageIOD,VLEndoscopicImageIOD,VLMicroscopicImageIOD,VLPhotographicImageIOD,VLSlideCoordinatesMicroscopicImageIOD,VLWholeSlideMicroscopyImageIOD,WideFieldOphthalmicPhotography3DCoordinatesImageIOD,WideFieldOphthalmicPhotographyStereographicProjectionImageIOD,XRay3DAcquisitionSequence.Item,XRayAngiographicImageIOD,XRayRadiofluoroscopicImageIOD
- Enclosing class:
- SourceImageSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Source Image Sequence" (see
SourceImageSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault SourceImageSequenceAdds a new Source Image Sequence (seeSourceImageSequence) with initial capacity 1 (seeensureSourceImageSequence(int)) if it does not already exist.default SourceImageSequenceensureSourceImageSequence(int initialCapacity) Adds a new Source Image Sequence (seeSourceImageSequence) if it does not already exist.default SourceImageSequencedefault SourceImageSequencenewSourceImageSequence(int initialCapacity) Adds a new Source Image Sequence.default voidRemoves the Source Image Sequence (seeSourceImageSequencestatic SourceImageSequence.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 Source Image Sequence (seeSourceImageSequence)- Returns:
- A wrapper object implementing the
SourceImageSequence.Holderinterface.
-
builder
- Returns:
- a
SourceImageSequence.Holder.Builderto create Source Image Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theSourceImageSequence.Holder.Builder.- Returns:
- a
SourceImageSequence.Holder.Builderto create Source Image Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSourceImageSequence
- Returns:
- the Source Image Sequence (see
SourceImageSequence)
-
newSourceImageSequence
Adds a new Source Image Sequence. (seeSourceImageSequence)- Parameters:
initialCapacity- the initial capacity for the new Source Image Sequence
-
ensureSourceImageSequence
Adds a new Source Image Sequence (seeSourceImageSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Source Image Sequence is created.- Returns:
- Either the already existing Source Image Sequence (see
SourceImageSequence) or a new one with capacityinitialCapacity.
-
ensureSourceImageSequence
Adds a new Source Image Sequence (seeSourceImageSequence) with initial capacity 1 (seeensureSourceImageSequence(int)) if it does not already exist.- Returns:
- Either the already existing Source Image Sequence (see
SourceImageSequence) or a new one with capacity 1.
-
containsSourceImageSequence
default boolean containsSourceImageSequence()- Returns:
- Whether it contains the Source Image Sequence (see
SourceImageSequence)
-
removeSourceImageSequence
default void removeSourceImageSequence()Removes the Source Image Sequence (seeSourceImageSequence
-