Package net.imglib2.display
Class AbstractLinearRange
java.lang.Object
net.imglib2.display.AbstractLinearRange
- All Implemented Interfaces:
LinearRange
- Direct Known Subclasses:
RealARGBConverter
,RealLUTConverter
,RealUnsignedByteConverter
,RealUnsignedShortConverter
- Author:
- Stephan Saalfeld
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
getMax()
double
getMin()
protected static final int
roundPositive
(double a) void
setMax
(double max) void
setMin
(double min)
-
Field Details
-
min
protected double min -
max
protected double max -
scale
protected double scale
-
-
Constructor Details
-
AbstractLinearRange
public AbstractLinearRange() -
AbstractLinearRange
public AbstractLinearRange(double min, double max)
-
-
Method Details
-
roundPositive
protected static final int roundPositive(double a) -
getMin
public double getMin()- Specified by:
getMin
in interfaceLinearRange
-
getMax
public double getMax()- Specified by:
getMax
in interfaceLinearRange
-
setMax
public void setMax(double max) - Specified by:
setMax
in interfaceLinearRange
-
setMin
public void setMin(double min) - Specified by:
setMin
in interfaceLinearRange
-