public class CubeAxisController extends CartesianAxisController<uk.ac.starlink.ttools.plot2.geom.CubeSurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.CubeAspect>
Constructor and Description |
---|
CubeAxisController(boolean isIso)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
forceClearRange(uk.ac.starlink.ttools.plot2.geom.CubeSurfaceFactory.Profile prof1,
uk.ac.starlink.ttools.plot2.geom.CubeSurfaceFactory.Profile prof2)
Determines whether the change between two profiles forces an
unconditional re-range of the plotting surface.
|
uk.ac.starlink.ttools.plot2.config.ConfigMap |
getConfig()
Returns the configuration defined by all this object's controls.
|
protected boolean |
logChanged(uk.ac.starlink.ttools.plot2.geom.CubeSurfaceFactory.Profile prof1,
uk.ac.starlink.ttools.plot2.geom.CubeSurfaceFactory.Profile prof2)
Indicates whether the scaling has changed to or from logarithmic
for any of the cartesian axes between two profiles.
|
void |
setLatestSurface(uk.ac.starlink.ttools.plot2.Surface surface)
Accepts information about the latest plotting surface to be plotted
by the panel associated with this controller.
|
addLabelsTab, configureForLayers, getLabelSpecifier, logChanged
addActionListener, addAspectConfigTab, addControl, addNavigatorTab, assertHasKeys, clearAspect, clearRange, getActionForwarder, getAspect, getControls, getMainControl, getNavigator, getRanges, getSurfaceFactory, removeActionListener, setAspect, setRanges, submitReports, updateState
public CubeAxisController(boolean isIso)
isIso
- true for isotropic, false for anisotropicpublic void setLatestSurface(uk.ac.starlink.ttools.plot2.Surface surface)
AxisController
The default implementation does nothing, but subclasses may override it to acquire information about plot state.
setLatestSurface
in class AxisController<uk.ac.starlink.ttools.plot2.geom.CubeSurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.CubeAspect>
surface
- latest plotting surface.public uk.ac.starlink.ttools.plot2.config.ConfigMap getConfig()
AxisController
getConfig
in interface Configger
getConfig
in class AxisController<uk.ac.starlink.ttools.plot2.geom.CubeSurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.CubeAspect>
protected boolean logChanged(uk.ac.starlink.ttools.plot2.geom.CubeSurfaceFactory.Profile prof1, uk.ac.starlink.ttools.plot2.geom.CubeSurfaceFactory.Profile prof2)
CartesianAxisController
logChanged
in class CartesianAxisController<uk.ac.starlink.ttools.plot2.geom.CubeSurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.CubeAspect>
prof1
- first profileprof2
- second profileprotected boolean forceClearRange(uk.ac.starlink.ttools.plot2.geom.CubeSurfaceFactory.Profile prof1, uk.ac.starlink.ttools.plot2.geom.CubeSurfaceFactory.Profile prof2)
AxisController
forceClearRange
in class CartesianAxisController<uk.ac.starlink.ttools.plot2.geom.CubeSurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.CubeAspect>
prof1
- profile before changeprof2
- profile after changeCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.