Class StandardBearingInfo

java.lang.Object
dataPlots.data.TDDataInfo
dataPlots.data.StandardBearingInfo

public class StandardBearingInfo extends TDDataInfo
Create a standard set of bearing information that can be used with any data block capable of generating bearing information.
Author:
doug
  • Constructor Details

  • Method Details

    • getScaleInformation

      public TDScaleInfo getScaleInformation(int orientation, boolean autoScale)
      Overrides:
      getScaleInformation in class TDDataInfo
      Returns:
      Information about the scales of the data.
    • getDataDimensions

      public int getDataDimensions()
      Overrides:
      getDataDimensions in class TDDataInfo
      Returns:
      1 or 2 for the data (lines are 1, things that will make a 3D plot, such as spectrograms, get 2.
    • getSymbolChooser

      public TDSymbolChooser getSymbolChooser()
      Specified by:
      getSymbolChooser in class TDDataInfo
      Returns:
      a class containing functions to chose a symbol to plot.
    • setSymbolChooser

      public void setSymbolChooser(TDSymbolChooser symbolChooser)
      Parameters:
      symbolChooser - the symbolChooser to set
    • getDataValue

      public Double getDataValue(PamDataUnit pamDataUnit)
      Description copied from class: TDDataInfo
      Gets a value for a specific data unit which should be in the same units as the scale information. This will then be converted into a plot position by the TDGraph.
      Specified by:
      getDataValue in class TDDataInfo
      Returns:
      data value or null if this data poit should not be plotted.