Package net.imglib2.display
Class ScaledARGBConverter<T>
- java.lang.Object
-
- net.imglib2.display.ScaledARGBConverter<T>
-
- All Implemented Interfaces:
Converter<T,ARGBType>,ColorConverter,LinearRange
- Direct Known Subclasses:
ScaledARGBConverter.ARGB,ScaledARGBConverter.VolatileARGB
public abstract class ScaledARGBConverter<T> extends java.lang.Object implements ColorConverter, Converter<T,ARGBType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScaledARGBConverter.ARGBstatic classScaledARGBConverter.VolatileARGB
-
Constructor Summary
Constructors Modifier Constructor Description privateScaledARGBConverter(double min, double max)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ARGBTypegetColor()doublegetMax()doublegetMin()(package private) intgetScaledColor(int color)voidsetColor(ARGBType c)voidsetMax(double max)voidsetMin(double min)booleansupportsColor()private voidupdate()
-
-
-
Method Detail
-
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
-
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
-
update
private void update()
-
getScaledColor
int getScaledColor(int color)
-
-