Package uk.ac.starlink.ttools.plot2.geom
Class CubePlotType
- java.lang.Object
-
- uk.ac.starlink.ttools.plot2.geom.CubePlotType
-
- All Implemented Interfaces:
PlotType<CubeSurfaceFactory.Profile,CubeAspect>
public class CubePlotType extends java.lang.Object implements PlotType<CubeSurfaceFactory.Profile,CubeAspect>
Defines the characteristics of a plot in 3-dimensional anisotropic space.This is a singleton class, see
getInstance().- Since:
- 20 Feb 2013
- Author:
- Mark Taylor
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CubePlotTypegetInstance()Returns the sole instance of this class.PaperTypeSelectorgetPaperTypeSelector()Returns an object which can provide graphics rendering functionality based on the required plot layers for this plot type.Plotter<?>[]getPlotters()Returns a list of plotters that can be used to paint data on the surface.DataGeom[]getPointDataGeoms()Returns a list of one or more geometry variants which describe how user-supplied point coordinates map to the data space.SurfaceFactory<CubeSurfaceFactory.Profile,CubeAspect>getSurfaceFactory()Returns an object that can construct the plot surface including axis painting and geometry information.java.lang.StringtoString()
-
-
-
Method Detail
-
getPointDataGeoms
public DataGeom[] getPointDataGeoms()
Description copied from interface:PlotTypeReturns a list of one or more geometry variants which describe how user-supplied point coordinates map to the data space. The geoms returned from this method will return true from theirDataGeom.hasPosition()method. If multiple values are returned, the first one may be used as some kind of default.- Specified by:
getPointDataGeomsin interfacePlotType<CubeSurfaceFactory.Profile,CubeAspect>- Returns:
- data geom option list
-
getPlotters
public Plotter<?>[] getPlotters()
Description copied from interface:PlotTypeReturns a list of plotters that can be used to paint data on the surface.- Specified by:
getPlottersin interfacePlotType<CubeSurfaceFactory.Profile,CubeAspect>- Returns:
- plotter list
-
getSurfaceFactory
public SurfaceFactory<CubeSurfaceFactory.Profile,CubeAspect> getSurfaceFactory()
Description copied from interface:PlotTypeReturns an object that can construct the plot surface including axis painting and geometry information.- Specified by:
getSurfaceFactoryin interfacePlotType<CubeSurfaceFactory.Profile,CubeAspect>- Returns:
- surface factory
-
getPaperTypeSelector
public PaperTypeSelector getPaperTypeSelector()
Description copied from interface:PlotTypeReturns an object which can provide graphics rendering functionality based on the required plot layers for this plot type.- Specified by:
getPaperTypeSelectorin interfacePlotType<CubeSurfaceFactory.Profile,CubeAspect>- Returns:
- paper type selector
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getInstance
public static CubePlotType getInstance()
Returns the sole instance of this class.- Returns:
- singleton instance
-
-