Package bdv.util

Class PlaceHolderConverterSetup

    • Constructor Detail

      • PlaceHolderConverterSetup

        public PlaceHolderConverterSetup​(int setupId,
                                         double min,
                                         double max,
                                         int rgb)
    • Method Detail

      • getSetupId

        public int getSetupId()
        Description copied from interface: ConverterSetup
        Get the id of the BasicViewSetup this converter acts on.
        Specified by:
        getSetupId in interface ConverterSetup
        Returns:
        the id of the BasicViewSetup this converter acts on.
      • setDisplayRange

        public void setDisplayRange​(double min,
                                    double max)
        Description copied from interface: ConverterSetup
        Set the range of source values that is mapped to the full range of the target type. Source values outside of the specified range are clamped.
        Specified by:
        setDisplayRange in interface ConverterSetup
        Parameters:
        min - source value to map to minimum of the target range.
        max - source value to map to maximum of the target range.
      • setColor

        public void setColor​(int rgb)
      • getDisplayRangeMin

        public double getDisplayRangeMin()
        Description copied from interface: ConverterSetup
        Get the (largest) source value that is mapped to the minimum of the target range.
        Specified by:
        getDisplayRangeMin in interface ConverterSetup
        Returns:
        source value that is mapped to the minimum of the target range.
      • getDisplayRangeMax

        public double getDisplayRangeMax()
        Description copied from interface: ConverterSetup
        Get the (smallest) source value that is mapped to the maximum of the target range.
        Specified by:
        getDisplayRangeMax in interface ConverterSetup
        Returns:
        source value that is mapped to the maximum of the target range.