Package net.imglib2.display
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 java.lang.Object implements RealARGBColorConverter<R>
-
-
Constructor Summary
Constructors Constructor Description Imp(double min, double max)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconvert(R input, ARGBType output)ARGBTypegetColor()doublegetMax()doublegetMin()voidsetColor(ARGBType c)voidsetMax(double max)voidsetMin(double min)booleansupportsColor()private voidupdate()
-
-
-
Field Detail
-
min
private double min
-
max
private double max
-
color
private final ARGBType color
-
A
private int A
-
scaleR
private double scaleR
-
scaleG
private double scaleG
-
scaleB
private double scaleB
-
black
private int black
-
-
Method Detail
-
getColor
public ARGBType getColor()
- Specified by:
getColorin interfaceColorConverter
-
setColor
public void setColor(ARGBType c)
- 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()
-
-