Package uk.ac.starlink.ttools.plot
Class SphericalPlotState
java.lang.Object
uk.ac.starlink.ttools.plot.PlotState
uk.ac.starlink.ttools.plot.Plot3DState
uk.ac.starlink.ttools.plot.SphericalPlotState
PlotState specific to spherical 3D plots.
- Since:
- 5 Jan 2006
- Author:
- Mark Taylor
-
Nested Class Summary
Nested classes/interfaces inherited from class uk.ac.starlink.ttools.plot.PlotState
PlotState.SimpleValueInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanuk.ac.starlink.table.ValueInfoReturns metadata information about the radial coordinate.booleanDetermines whether the radial dimension should be plotted on a logarithmic scale.inthashCode()voidsetRadialInfo(uk.ac.starlink.table.ValueInfo info) Sets metadata information about the radial coordinate.voidsetRadialLog(boolean radialLog) Sets whether the radial dimension should be plotted on a logarithmic scale.Methods inherited from class uk.ac.starlink.ttools.plot.Plot3DState
getFogginess, getRotating, getRotation, getZoomScale, setFogginess, setRotating, setRotation, setZoomScaleMethods 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
-
Constructor Details
-
SphericalPlotState
public SphericalPlotState()
-
-
Method Details
-
setRadialInfo
public void setRadialInfo(uk.ac.starlink.table.ValueInfo info) Sets metadata information about the radial coordinate. A null value indicates that there is no useful radial information (all radial values are to be taken as unity). Note some information from the submittedinfoobject may be discarded, only the parts required for plotting are retained.- Parameters:
info- radial coordinate metadata
-
getRadialInfo
public uk.ac.starlink.table.ValueInfo getRadialInfo()Returns metadata information about the radial coordinate. A null value indicates that there is no useful radial information (all radial values are to be taken as unity).- Returns:
- radial coordinate metadata
-
setRadialLog
public void setRadialLog(boolean radialLog) Sets whether the radial dimension should be plotted on a logarithmic scale. This is only relevant for spherical plots.- Parameters:
radialLog- true for logarithmic treatment of the radial coordinate, false for linear
-
getRadialLog
public boolean getRadialLog()Determines whether the radial dimension should be plotted on a logarithmic scale. This is only relevant for spherical plots.- Returns:
- true for logarithmic treatment of the radial coordinate, false for linear
-
equals
- Overrides:
equalsin classPlot3DState
-
hashCode
public int hashCode()- Overrides:
hashCodein classPlot3DState
-