Package uk.ac.starlink.ttools.plot2.geom
Class PlanePlotType
java.lang.Object
uk.ac.starlink.ttools.plot2.geom.PlanePlotType
- All Implemented Interfaces:
PlotType<PlaneSurfaceFactory.Profile,
PlaneAspect>
- Direct Known Subclasses:
MatrixPlotType
public class PlanePlotType
extends Object
implements PlotType<PlaneSurfaceFactory.Profile,PlaneAspect>
Defines the characteristics of a plot on a 2-dimensional plane.
This is a singleton class, see getInstance()
.
- Since:
- 19 Feb 2013
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionPlanePlotType
(PlaneSurfaceFactory surfFact, Plotter<?>[] plotters) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the object that controls how multi-zone plots are arranged.static PlanePlotType
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()
-
Constructor Details
-
PlanePlotType
Constructor.- Parameters:
surfFact
- surface factoryplotters
- available plotters for use with this plot type
-
-
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<PlaneSurfaceFactory.Profile,
PlaneAspect> - 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<PlaneSurfaceFactory.Profile,
PlaneAspect> - 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<PlaneSurfaceFactory.Profile,
PlaneAspect> - Returns:
- surface factory
-
getGangerFactory
Description copied from interface:PlotType
Returns the object that controls how multi-zone plots are arranged.- Specified by:
getGangerFactory
in interfacePlotType<PlaneSurfaceFactory.Profile,
PlaneAspect> - Returns:
- ganger 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<PlaneSurfaceFactory.Profile,
PlaneAspect> - Returns:
- paper type selector
-
toString
-
getInstance
Returns the sole instance of this class.- Returns:
- singleton instance
-