|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectskyview.util.Scaler
public abstract class Scaler
Scale an object.
| Constructor Summary | |
|---|---|
Scaler()
Provide default scaler. |
|
Scaler(double minVal,
double maxVal,
int minOutput,
int maxOutput)
Provide a scaler with a specified scaling range to a specified range of bytes. |
|
| Method Summary | |
|---|---|
protected int |
getMaxOutput()
|
protected double |
getMaxVal()
|
protected int |
getMinOutput()
|
protected double |
getMinVal()
|
protected boolean |
getUseDefault()
|
protected abstract void |
prepareScaling(double[] array)
Get ready for scaling in this particular instance. |
protected abstract byte |
scale(double val)
Scale a single number. |
java.lang.Object |
scaleArray(java.lang.Object array)
Scale an array assumed to be a double array of arbitrary dimensionality. |
protected void |
setMaxVal(double maxVal)
|
protected void |
setMinMax(double[] c)
|
protected void |
setMinVal(double minVal)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Scaler()
public Scaler(double minVal,
double maxVal,
int minOutput,
int maxOutput)
| Method Detail |
|---|
protected boolean getUseDefault()
protected double getMinVal()
protected double getMaxVal()
protected int getMinOutput()
protected int getMaxOutput()
protected void setMinVal(double minVal)
protected void setMaxVal(double maxVal)
public java.lang.Object scaleArray(java.lang.Object array)
protected void setMinMax(double[] c)
protected abstract void prepareScaling(double[] array)
protected abstract byte scale(double val)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||