Package bdv.viewer

Class ConverterSetups

  • All Implemented Interfaces:
    SourceToConverterSetupBimap

    public class ConverterSetups
    extends Object
    implements SourceToConverterSetupBimap
    Provides a mapping between ConverterSetups and sources. All setupParametersChanged() events from ConverterSetup currently in the mapping are forwarded to registered listeners().

    ConverterSetups listens to ViewerState changes. When a source is removed from the ViewerState, it is also removed from the mapping (as well as the corresponding ConverterSetup.

    When adding sources, however, the corresponding ConverterSetup has to be manually registered using put(SourceAndConverter, ConverterSetup). (This is necessary to avoid breaking existing API.)

    Author:
    Tobias Pietzsch