Interface LightSource.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
VLPhotographicAcquisitionModule
- All Known Implementing Classes:
DermoscopicPhotographyImageIOD,LightSource.SimpleHolder,VLPhotographicImageIOD
- Enclosing class:
- LightSource
A class implementing this interface can hold attributes which contain the DICOM tag "Light Source" (see
LightSource)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LightSource.Holder.Builderbuilder()static LightSource.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault LightSourcedefault voidRemoves the Light Source (seeLightSourcestatic LightSource.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 Light Source (seeLightSource)- Returns:
- A wrapper object implementing the
LightSource.Holderinterface.
-
builder
- Returns:
- a
LightSource.Holder.Builderto create Light Source Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theLightSource.Holder.Builder.- Returns:
- a
LightSource.Holder.Builderto create Light Source Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getLightSource
- Returns:
- the Light Source (see
LightSource)
-
containsLightSource
default boolean containsLightSource()- Returns:
- Whether it contains the Light Source (see
LightSource)
-
removeLightSource
default void removeLightSource()Removes the Light Source (seeLightSource
-