public class ProjectionControlJ2D extends ProjectionControl
INVSCALE2D, matrix, MATRIX2D_LENGTH, MATRIX2D_MAJOR, MATRIX2D_MINOR, MATRIX3D_LENGTH, MATRIX3D_MAJOR, MATRIX3D_MINOR, SCALE2D
Constructor and Description |
---|
ProjectionControlJ2D(DisplayImpl d)
Construct a new ProjectionControl for the display in question.
|
Modifier and Type | Method and Description |
---|---|
void |
setAspect(double[] aspect)
Set aspect ratio of axes.
|
void |
setMatrix(double[] m)
Set the matrix that defines the graphics projection
|
clearSwitches, clone, equals, getAspectCartesian, getMatrix, getSavedProjectionMatrix, getSaveString, matrix2DTo3D, matrix3DTo2D, matrixDConvert, resetProjection, saveProjection, setAspectCartesian, setSaveString, syncControl, toString
addControlListener, animation_string, changeControl, checkTicks, getDisplay, getDisplayRenderer, getInstanceNumber, incTick, nullControl, peekTicks, removeControlListener, resetTicks, setTicks, subCheckTicks, subPeekTicks, subResetTicks, subSetTicks
public ProjectionControlJ2D(DisplayImpl d) throws VisADException
d
- display to control.VisADException
- some VisAD errorpublic void setMatrix(double[] m) throws VisADException, RemoteException
setMatrix
in class ProjectionControl
m
- array of the matrix values (6 elements in Java2D case)VisADException
- some VisAD errorRemoteException
- Java RMI failure.public void setAspect(double[] aspect) throws VisADException, RemoteException
setAspect
in class ProjectionControl
aspect
- ratios; 2 elements for Java2DVisADException
- invalid array length or some other VisAD failure.RemoteException
- Java RMI failure.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.