public class ControlSpec extends Object
Modifier and Type | Field and Description |
---|---|
static ControlSpec |
defaultSpec |
Constructor and Description |
---|
ControlSpec() |
ControlSpec(double minVal,
double maxVal) |
ControlSpec(double minVal,
double maxVal,
Warp warp) |
ControlSpec(double minVal,
double maxVal,
Warp warp,
double step) |
ControlSpec(double minVal,
double maxVal,
Warp warp,
double step,
double defaultVal) |
ControlSpec(double minVal,
double maxVal,
Warp warp,
double step,
double defaultVal,
String units) |
Modifier and Type | Method and Description |
---|---|
double |
constrain(double value) |
double |
getClipHi() |
double |
getClipLo() |
double |
getDefaultVal() |
double |
getMaxVal() |
double |
getMinVal() |
double |
getRange() |
double |
getRatio() |
double |
getStep() |
String |
getUnits() |
Warp |
getWarp() |
double |
map(double value) |
double |
unmap(double value) |
public static final ControlSpec defaultSpec
public ControlSpec()
public ControlSpec(double minVal, double maxVal)
public ControlSpec(double minVal, double maxVal, Warp warp)
public ControlSpec(double minVal, double maxVal, Warp warp, double step)
public ControlSpec(double minVal, double maxVal, Warp warp, double step, double defaultVal)
public double getMinVal()
public double getMaxVal()
public double getClipLo()
public double getClipHi()
public double getDefaultVal()
public double getStep()
public Warp getWarp()
public String getUnits()
public double constrain(double value)
public double getRange()
public double getRatio()
public double map(double value)
public double unmap(double value)
Copyright © 2015–2022 SciJava. All rights reserved.