Class AxisScalarMap

All Implemented Interfaces:
Comparable, Propertied
Direct Known Subclasses:
XAxisScalarMap, YAxisScalarMap, ZAxisScalarMap

public abstract class AxisScalarMap extends ScalarMapAdapter
Provides support for adapting ScalarMap-s to Display.XAxis, Display.YAxis, or Display.ZAxis.

Instances of this class have the the JavaBean properties of the superclass.

Version:
$Revision: 1.10 $
Author:
Steven R. Emmerson
  • Constructor Details

  • Method Details

    • translate

      public void translate(double amount) throws VisADException, RemoteException
      Translates.
      Parameters:
      amount - The amount by which to translate.
      Throws:
      VisADException - VisAD failure.
      RemoteException - Java RMI failure.
    • scale

      public void scale(double amount) throws VisADException, RemoteException
      Scales.
      Parameters:
      amount - The amount by which to scale.
      Throws:
      VisADException - VisAD failure.
      RemoteException - Java RMI failure.
    • flip

      public void flip() throws VisADException, RemoteException
      Flips.
      Throws:
      VisADException - VisAD failure.
      RemoteException - Java RMI failure.
    • setControl

      protected void setControl() throws VisADException, RemoteException
      Sets the control of the underlying ScalarMap. This is a template method.
      Specified by:
      setControl in class ScalarMapAdapter
      Throws:
      VisADException - VisAD failure.
      RemoteException - Java RMI failure.
    • translate

      protected abstract void translate(double amount, AffineTransform transform)
      Translates the axis values.
      Parameters:
      amount - The amount to translate the axis.
      transform - The transformation to be translated.
    • new3DTranslationVector

      protected abstract javax.vecmath.Vector3d new3DTranslationVector(double amount)
      Returns a new, 3-D, translation vector.
      Parameters:
      amount - The amount to translate the axis.
      Returns:
      Vector3D of the translation amount
    • scale

      protected abstract void scale(double amount, AffineTransform transform)
      Scales the axis values.
      Parameters:
      amount - The amount to scale the axis by.
      transform - The transformation to be scaled.
    • scale

      protected abstract void scale(double[] values, double amount)
      Scales.
      Parameters:
      values - Unknown.
      amount - Unknown.