Class RealARGBColorConverterFactory.Imp<R extends RealType<?>>
java.lang.Object
net.imglib2.display.RealARGBColorConverterFactory.Imp<R>
- All Implemented Interfaces:
Converter<R,ARGBType>, ColorConverter, LinearRange, RealARGBColorConverter<R>
- Enclosing class:
RealARGBColorConverterFactory
public static class RealARGBColorConverterFactory.Imp<R extends RealType<?>>
extends Object
implements RealARGBColorConverter<R>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
min
private double min -
max
private double max -
color
-
A
private int A -
scaleR
private double scaleR -
scaleG
private double scaleG -
scaleB
private double scaleB -
black
private int black
-
-
Constructor Details
-
Imp
public Imp(double min, double max)
-
-
Method Details
-
getColor
- Specified by:
getColorin interfaceColorConverter
-
setColor
- Specified by:
setColorin interfaceColorConverter
-
supportsColor
public boolean supportsColor()- Specified by:
supportsColorin interfaceColorConverter
-
getMin
public double getMin()- Specified by:
getMinin interfaceLinearRange
-
getMax
public double getMax()- Specified by:
getMaxin interfaceLinearRange
-
setMax
public void setMax(double max) - Specified by:
setMaxin interfaceLinearRange
-
setMin
public void setMin(double min) - Specified by:
setMinin interfaceLinearRange
-
update
private void update() -
convert
-