Interface SourceInstanceSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
EncapsulatedDocumentModule,GeneralReferenceModule
- All Known Implementing Classes:
CArmPhotonElectronRadiationIOD,CArmPhotonElectronRadiationRecordIOD,CornealTopographyMapIOD,CRImageIOD,CTImageIOD,DeformableSpatialRegistrationIOD,DermoscopicPhotographyImageIOD,DigitalIntraOralXRayImageIOD,DigitalMammographyXRayImageIOD,DigitalXRayImageIOD,EncapsulatedCDAIOD,EncapsulatedMTLIOD,EncapsulatedOBJIOD,EncapsulatedPDFIOD,EncapsulatedSTLIOD,EnhancedUSVolumeIOD,MRImageIOD,MultiFrameGrayscaleByteSCImageIOD,MultiFrameGrayscaleWordSCImageIOD,MultiFrameSingleBitSCImageIOD,MultiFrameTrueColorSCImageIOD,NMImageIOD,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,SpatialFiducialsIOD,SpatialRegistrationIOD,SurfaceSegmentationIOD,TomotherapeuticRadiationIOD,TomotherapeuticRadiationRecordIOD,USImageIOD,USMultiFrameImageIOD,VideoEndoscopicImageIOD,VideoMicroscopicImageIOD,VideoPhotographicImageIOD,VLEndoscopicImageIOD,VLMicroscopicImageIOD,VLPhotographicImageIOD,VLSlideCoordinatesMicroscopicImageIOD,VLWholeSlideMicroscopyImageIOD,WideFieldOphthalmicPhotography3DCoordinatesImageIOD,WideFieldOphthalmicPhotographyStereographicProjectionImageIOD,XRayAngiographicImageIOD,XRayRadiofluoroscopicImageIOD
- Enclosing class:
- SourceInstanceSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Source Instance Sequence" (see
SourceInstanceSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault SourceInstanceSequenceAdds a new Source Instance Sequence (seeSourceInstanceSequence) with initial capacity 1 (seeensureSourceInstanceSequence(int)) if it does not already exist.default SourceInstanceSequenceensureSourceInstanceSequence(int initialCapacity) Adds a new Source Instance Sequence (seeSourceInstanceSequence) if it does not already exist.default SourceInstanceSequencedefault SourceInstanceSequencenewSourceInstanceSequence(int initialCapacity) Adds a new Source Instance Sequence.default voidRemoves the Source Instance Sequence (seeSourceInstanceSequencewrap(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 Instance Sequence (seeSourceInstanceSequence)- Returns:
- A wrapper object implementing the
SourceInstanceSequence.Holderinterface.
-
getSourceInstanceSequence
- Returns:
- the Source Instance Sequence (see
SourceInstanceSequence)
-
newSourceInstanceSequence
Adds a new Source Instance Sequence. (seeSourceInstanceSequence)- Parameters:
initialCapacity- the initial capacity for the new Source Instance Sequence
-
ensureSourceInstanceSequence
Adds a new Source Instance Sequence (seeSourceInstanceSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Source Instance Sequence is created.- Returns:
- Either the already existing Source Instance Sequence (see
SourceInstanceSequence) or a new one with capacityinitialCapacity.
-
ensureSourceInstanceSequence
Adds a new Source Instance Sequence (seeSourceInstanceSequence) with initial capacity 1 (seeensureSourceInstanceSequence(int)) if it does not already exist.- Returns:
- Either the already existing Source Instance Sequence (see
SourceInstanceSequence) or a new one with capacity 1.
-
containsSourceInstanceSequence
default boolean containsSourceInstanceSequence()- Returns:
- Whether it contains the Source Instance Sequence (see
SourceInstanceSequence)
-
removeSourceInstanceSequence
default void removeSourceInstanceSequence()Removes the Source Instance Sequence (seeSourceInstanceSequence
-