Package net.imglib2.display
Class AbstractLinearRange
- java.lang.Object
-
- net.imglib2.display.AbstractLinearRange
-
- All Implemented Interfaces:
LinearRange
- Direct Known Subclasses:
RealARGBConverter,RealLUTConverter,RealUnsignedByteConverter,RealUnsignedShortConverter
public class AbstractLinearRange extends java.lang.Object implements LinearRange
-
-
Constructor Summary
Constructors Constructor Description AbstractLinearRange()AbstractLinearRange(double min, double max)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetMax()doublegetMin()protected static introundPositive(double a)voidsetMax(double max)voidsetMin(double min)
-
-
-
Method Detail
-
roundPositive
protected static final int roundPositive(double a)
-
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
-
-