Package ome.logic

Class RenderingSettingsImpl

    • Field Detail

      • EPSILON

        public static final double EPSILON
        The value used to compare double and float.
        See Also:
        Constant Field Values
      • pixelsData

        protected transient ome.io.nio.PixelsService pixelsData
        Reference to the service used to retrieve the pixels data.
      • pixelsMetadata

        protected transient ome.api.IPixels pixelsMetadata
        Reference to the service used to retrieve the pixels metadata.
    • Constructor Detail

      • RenderingSettingsImpl

        public RenderingSettingsImpl()
    • Method Detail

      • setPixelsMetadata

        public void setPixelsMetadata​(ome.api.IPixels metaService)
        Sets injector. For use during configuration. Can only be called once.
        Parameters:
        metaService - The value to set.
      • setPixelsData

        public void setPixelsData​(ome.io.nio.PixelsService dataService)
        Sets injector. For use during configuration. Can only be called once.
        Parameters:
        dataService - The value to set.
      • setRawPixelsStore

        public void setRawPixelsStore​(ome.api.RawPixelsStore rawPixelsStore)
        Sets injector. For use during configuration. Can only be called once.
        Parameters:
        rawPixelsStore - The value to set.
      • getServiceInterface

        public java.lang.Class<? extends ome.api.ServiceInterface> getServiceInterface()
        Returns the interface this implementation is for.
        Specified by:
        getServiceInterface in interface ome.system.SelfConfigurableService
        See Also:
        SelfConfigurableService.getServiceInterface()
      • applySettingsToSet

        public <T extends ome.model.IObject> java.util.Map<java.lang.Boolean,​java.util.List<java.lang.Long>> applySettingsToSet​(long from,
                                                                                                                                      java.lang.Class<T> klass,
                                                                                                                                      java.util.Set<java.lang.Long> nodeIds)
        Implemented as specified by the IRenderingSettings I/F.
        Specified by:
        applySettingsToSet in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.applySettingsToSet(long, Class, Set)
      • applySettingsToProject

        public java.util.Map<java.lang.Boolean,​java.util.List<java.lang.Long>> applySettingsToProject​(long from,
                                                                                                            long to)
        Implemented as specified by the IRenderingSettings I/F.
        Specified by:
        applySettingsToProject in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.applySettingsToProject(long, long)
      • applySettingsToDataset

        public java.util.Map<java.lang.Boolean,​java.util.List<java.lang.Long>> applySettingsToDataset​(long from,
                                                                                                            long to)
        Implemented as specified by the IRenderingSettings I/F.
        Specified by:
        applySettingsToDataset in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.applySettingsToDataset(long, long)
      • applySettingsToImage

        public boolean applySettingsToImage​(long from,
                                            long to)
        Implemented as specified by the IRenderingSettings I/F
        Specified by:
        applySettingsToImage in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.applySettingsToImage(long, long)
      • applySettingsToImages

        public java.util.Map<java.lang.Boolean,​java.util.List<java.lang.Long>> applySettingsToImages​(long from,
                                                                                                           java.util.List<java.lang.Long> nodeIds)
        Implemented as specified by the IRenderingSettings I/F
        Specified by:
        applySettingsToImages in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.applySettingsToImages(long, List)
      • applySettingsToPixels

        public boolean applySettingsToPixels​(long from,
                                             long to)
        Implemented as specified by the IRenderingSettings I/F
        Specified by:
        applySettingsToPixels in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.applySettingsToPixels(long, long)
      • getRenderingSettings

        public ome.model.display.RenderingDef getRenderingSettings​(long pixelsId)
        Implemented as specified by the IRenderingSettings I/F
        Specified by:
        getRenderingSettings in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.getRenderingSettings(long)
      • resetDefaultsInImage

        public void resetDefaultsInImage​(long to)
        Implemented as specified by the IRenderingSettings I/F.
        Specified by:
        resetDefaultsInImage in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.resetDefaultsInImage(long)
      • resetDefaultsForPixels

        public void resetDefaultsForPixels​(long to)
        Implemented as specified by the IRenderingSettings I/F.
        Specified by:
        resetDefaultsForPixels in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.resetDefaultsForPixels(long)
      • resetDefaultsInDataset

        public java.util.Set<java.lang.Long> resetDefaultsInDataset​(long to)
        Implemented as specified by the IRenderingSettings I/F.
        Specified by:
        resetDefaultsInDataset in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.resetDefaultsInDataset(long)
      • resetDefaultsInSet

        public <T extends ome.model.IObject> java.util.Set<java.lang.Long> resetDefaultsInSet​(java.lang.Class<T> klass,
                                                                                              java.util.Set<java.lang.Long> nodeIds)
        Implemented as specified by the IRenderingSettings I/F.
        Specified by:
        resetDefaultsInSet in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.resetDefaultsInSet(Class, Set)
      • resetDefaultsByOwnerInSet

        public <T extends ome.model.IObject> java.util.Set<java.lang.Long> resetDefaultsByOwnerInSet​(java.lang.Class<T> klass,
                                                                                                     java.util.Set<java.lang.Long> nodeIds)
        Implemented as specified by the IRenderingSettings I/F.
        Specified by:
        resetDefaultsByOwnerInSet in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.resetDefaultsInSet(Class, Set)
      • resetMinMaxInSet

        public <T extends ome.model.IObject> java.util.Set<java.lang.Long> resetMinMaxInSet​(java.lang.Class<T> klass,
                                                                                            java.util.Set<java.lang.Long> nodeIds)
        Implemented as specified by the IRenderingSettings I/F.
        Specified by:
        resetMinMaxInSet in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.resetMinMaxInSet(Class, Set)
      • setOriginalSettingsInImage

        public void setOriginalSettingsInImage​(long to)
        Implemented as specified by the IRenderingSettings I/F.
        Specified by:
        setOriginalSettingsInImage in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.setOriginalSettingsInImage(long)
      • setOriginalSettingsForPixels

        public void setOriginalSettingsForPixels​(long to)
        Implemented as specified by the IRenderingSettings I/F.
        Specified by:
        setOriginalSettingsForPixels in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.setOriginalSettingsForPixels(long)
      • setOriginalSettingsInDataset

        public java.util.Set<java.lang.Long> setOriginalSettingsInDataset​(long to)
        Implemented as specified by the IRenderingSettings I/F.
        Specified by:
        setOriginalSettingsInDataset in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.setOriginalSettingsInDataset(long)
      • setOriginalSettingsInSet

        public <T extends ome.model.IObject> java.util.Set<java.lang.Long> setOriginalSettingsInSet​(java.lang.Class<T> klass,
                                                                                                    java.util.Set<java.lang.Long> nodeIds)
        Implemented as specified by the IRenderingSettings I/F.
        Specified by:
        setOriginalSettingsInSet in interface ome.api.IRenderingSettings
        See Also:
        IRenderingSettings.setOriginalSettingsInSet(Class, Set)