|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.MapAdapter
ucar.visad.display.ScalarMapAdapter
ucar.visad.display.AxisScalarMap
ucar.visad.display.ZAxisScalarMap
public final class ZAxisScalarMap
Provides support for adapting ScalarMap-s to Display.ZAxis.
Instances of this class have the the JavaBean properties of the superclass.
| Field Summary |
|---|
| Fields inherited from class ucar.visad.display.ScalarMapAdapter |
|---|
SCALAR_MAP, SCALAR_TYPE |
| Constructor Summary | |
|---|---|
ZAxisScalarMap(RealType realType,
DisplayAdapter display)
Constructs. |
|
| Method Summary | |
|---|---|
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,
AffineTransform transform)
Scales the axis values. |
protected void |
translate(double amount,
AffineTransform transform)
Translates the axis values. |
| Methods inherited from class ucar.visad.display.AxisScalarMap |
|---|
flip, scale, setControl, translate |
| Methods inherited from class ucar.visad.display.ScalarMapAdapter |
|---|
addScalarMapListener, compareTo, equals, getControl, getDisplayType, getScalarType, hashCode, removeScalarMapListener, scalarMapChange, setRange, setScalarType |
| Methods inherited from class ucar.visad.display.MapAdapter |
|---|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getDisplayRealType, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZAxisScalarMap(RealType realType,
DisplayAdapter display)
throws VisADException,
RemoteException
realType - The type of data to be mapped to the Z-axis.display - The adapted, VisAD display for rendering.
VisADException - VisAD failure.
RemoteException - Java RMI failure.| Method Detail |
|---|
protected void translate(double amount,
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,
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||