Interface PlotType

  • All Known Implementing Classes:
    CubePlotType, PlanePlotType, SkyPlotType, SpherePlotType, TimePlotType

    public interface PlotType
    High-level description of a type of plot that can be drawn. All the information about plotting options and implementation is available from this interface, so that generic plot presentation components (like user plot windows) can be written with no hard-coded knowledge about whether they are plotting an all-sky plot, 3D scatter, histogram or whatever.
    Since:
    13 Feb 2013
    Author:
    Mark Taylor
    • Method Detail

      • getPointDataGeoms

        DataGeom[] getPointDataGeoms()
        Returns 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 their DataGeom.hasPosition() method. If multiple values are returned, the first one may be used as some kind of default.
        Returns:
        data geom option list
      • getSurfaceFactory

        SurfaceFactory getSurfaceFactory()
        Returns an object that can construct the plot surface including axis painting and geometry information.
        Returns:
        surface factory
      • getPlotters

        Plotter[] getPlotters()
        Returns a list of plotters that can be used to paint data on the surface.
        Returns:
        plotter list
      • getPaperTypeSelector

        PaperTypeSelector getPaperTypeSelector()
        Returns an object which can provide graphics rendering functionality based on the required plot layers for this plot type.
        Returns:
        paper type selector