Package uk.ac.starlink.ttools.plot2.geom
Class SpherePlotType
java.lang.Object
uk.ac.starlink.ttools.plot2.geom.SpherePlotType
- All Implemented Interfaces:
PlotType<CubeSurfaceFactory.Profile,
CubeAspect>
public class SpherePlotType
extends Object
implements PlotType<CubeSurfaceFactory.Profile,CubeAspect>
Defines the characteristics of plot in 3-dimensional isotropic space.
It's like
CubePlotType
, but intended for viewing
sky data with additional radial coordinates.
It differs from SkyPlotType in that radial coordinates are allowed;
and differs from CubePlotType in that coords are expected to be
in Lon/Lat/Radius.
This is a singleton class, see getInstance()
.
- Since:
- 20 Feb 2013
- Author:
- Mark Taylor
-
Method Summary
Modifier and TypeMethodDescriptionstatic SpherePlotType
Returns the sole instance of this class.Returns an object which can provide graphics rendering functionality based on the required plot layers for this plot type.Plotter<?>[]
Returns a list of plotters that can be used to paint data on the surface.DataGeom[]
Returns a list of one or more geometry variants which describe how user-supplied point coordinates map to the data space.Returns an object that can construct the plot surface including axis painting and geometry information.toString()
-
Method Details
-
getPointDataGeoms
Description copied from interface:PlotType
Returns a list of one or more geometry variants which describe how user-supplied point coordinates map to the data space. If multiple values are returned, the first one may be used as some kind of default.- Specified by:
getPointDataGeoms
in interfacePlotType<CubeSurfaceFactory.Profile,
CubeAspect> - Returns:
- data geom option list
-
getPlotters
Description copied from interface:PlotType
Returns a list of plotters that can be used to paint data on the surface.- Specified by:
getPlotters
in interfacePlotType<CubeSurfaceFactory.Profile,
CubeAspect> - Returns:
- plotter list
-
getSurfaceFactory
Description copied from interface:PlotType
Returns an object that can construct the plot surface including axis painting and geometry information.- Specified by:
getSurfaceFactory
in interfacePlotType<CubeSurfaceFactory.Profile,
CubeAspect> - Returns:
- surface factory
-
getPaperTypeSelector
Description copied from interface:PlotType
Returns an object which can provide graphics rendering functionality based on the required plot layers for this plot type.- Specified by:
getPaperTypeSelector
in interfacePlotType<CubeSurfaceFactory.Profile,
CubeAspect> - Returns:
- paper type selector
-
toString
-
getInstance
Returns the sole instance of this class.- Returns:
- singleton instance
-