public final class ZAxisScalarMap extends AxisScalarMap
Display.ZAxis.
Instances of this class have the the JavaBean properties of the superclass.
SCALAR_MAP, SCALAR_TYPE| Constructor and Description |
|---|
ZAxisScalarMap(visad.RealType realType,
DisplayAdapter display)
Constructs.
|
| Modifier and Type | Method and Description |
|---|---|
protected javax.vecmath.Vector3d |
new3DTranslationVector(double amount)
Returns a new, 3-D, translation vector.
|
protected void |
scale(double[] values,
double amount)
Scales an array of values by an amount.
|
protected void |
scale(double amount,
java.awt.geom.AffineTransform transform)
Scales the axis values.
|
protected void |
translate(double amount,
java.awt.geom.AffineTransform transform)
Translates the axis values.
|
flip, scale, setControl, translateaddScalarMapListener, compareTo, equals, getControl, getDisplayType, getScalarType, hashCode, removeScalarMapListener, scalarMapChange, setRange, setScalarTypeaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getDisplayRealType, removePropertyChangeListener, removePropertyChangeListenerpublic ZAxisScalarMap(visad.RealType realType,
DisplayAdapter display)
throws visad.VisADException,
java.rmi.RemoteException
realType - The type of data to be mapped to the Z-axis.display - The adapted, VisAD display for rendering.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void translate(double amount,
java.awt.geom.AffineTransform transform)
translate in class AxisScalarMapamount - The amount to translate the axis.transform - The transformation to be translated.protected javax.vecmath.Vector3d new3DTranslationVector(double amount)
new3DTranslationVector in class AxisScalarMapamount - The amount to translate the axis.protected void scale(double amount,
java.awt.geom.AffineTransform transform)
scale in class AxisScalarMapamount - The amount to scale the axis by.transform - The transformation to be scaled.protected void scale(double[] values,
double amount)
scale in class AxisScalarMapvalues - The values to be scaled.amount - The amount by which to scale the values.