Documentation of 'visad.java2d.ProjectionControlJ2D' Java class
ProjectionControlJ2D
visad.java2d

Class ProjectionControlJ2D

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class ProjectionControlJ2D
    extends ProjectionControl
    ProjectionControlJ2D is the VisAD class for controlling the Projection from 3-D to 2-D. It manipulates a TransformGroup node in the scene graph.

    See Also:
    Serialized Form
    • Constructor Detail

      • ProjectionControlJ2D

        public ProjectionControlJ2D(DisplayImpl d)
                             throws VisADException
        Construct a new ProjectionControl for the display in question.
        Parameters:
        d - display to control.
        Throws:
        VisADException - some VisAD error
    • Method Detail

      • setMatrix

        public void setMatrix(double[] m)
                       throws VisADException,
                              java.rmi.RemoteException
        Set the matrix that defines the graphics projection
        Overrides:
        setMatrix in class ProjectionControl
        Parameters:
        m - array of the matrix values (6 elements in Java2D case)
        Throws:
        VisADException - some VisAD error
        java.rmi.RemoteException - Java RMI failure.
      • setAspect

        public void setAspect(double[] aspect)
                       throws VisADException,
                              java.rmi.RemoteException
        Set aspect ratio of axes.
        Specified by:
        setAspect in class ProjectionControl
        Parameters:
        aspect - ratios; 2 elements for Java2D
        Throws:
        VisADException - invalid array length or some other VisAD failure.
        java.rmi.RemoteException - Java RMI failure.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.