|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot.PlotState
uk.ac.starlink.ttools.plot.Plot3DState
public class Plot3DState
PlotState subclass which has specific features for specifying the state of 3D scatter plots. The most important extra feature is the rotation matrix, which describes the viewing angle for the 3D data space.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class uk.ac.starlink.ttools.plot.PlotState |
---|
PlotState.SimpleValueInfo |
Constructor Summary | |
---|---|
Plot3DState()
|
Method Summary | |
---|---|
boolean |
equals(Object otherObject)
|
double |
getFogginess()
Returns the intensity of fog used for depth rendering. |
boolean |
getRotating()
Indicates whether the plot is currently rotating. |
double[] |
getRotation()
Returns the rotation matrix. |
double |
getZoomScale()
Sets the zoom level. |
int |
hashCode()
|
void |
setFogginess(double fog)
Sets the intensity of fog used for depth rendering (1 is a reasonable amount; 0 is no fog). |
void |
setRotating(boolean isRotating)
Sets whether the plot is currently rotating. |
void |
setRotation(double[] matrix)
Sets the rotation matrix. |
void |
setZoomScale(double zoomScale)
Returns the zoom level. |
Methods inherited from class uk.ac.starlink.ttools.plot.PlotState |
---|
compare, getAntialias, getAxes, getAxisLabels, getConverters, getFlipFlags, getGrid, getLogFlags, getMainNdim, getPlotData, getRanges, getShaders, getValid, setAntialias, setAxes, setAxisLabels, setConverters, setFlipFlags, setGrid, setLogFlags, setMainNdim, setPlotData, setRanges, setShaders, setValid |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Plot3DState()
Method Detail |
---|
public void setRotation(double[] matrix)
matrix
- 9-element 3d rotation matrixpublic double[] getRotation()
public void setFogginess(double fog)
fog
- fog intensitypublic double getFogginess()
public void setRotating(boolean isRotating)
isRotating
true
must be followed quickly by one with isRotating
false.
isRotating
- true iff this plot is currently in the middle
of a sequence of rotation operationspublic boolean getRotating()
isRotating
true
must be followed quickly by one with isRotating
false.
public void setZoomScale(double zoomScale)
zoomScale
- zoom levelpublic double getZoomScale()
public boolean equals(Object otherObject)
equals
in class PlotState
public int hashCode()
hashCode
in class PlotState
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |