Class MHTSettingsPane

java.lang.Object
PamController.SettingsPane<MHTParams>
clickTrainDetector.layout.mht.MHTSettingsPane

public class MHTSettingsPane extends SettingsPane<MHTParams>
The main settings pane for changing settings of the MHT algorithm.

The pane contains both the standard parameters for chi^2 calculations and a set of sliders which allow the user to change if and how much different variables change click train detection, e.g. bearing, amplitude, correlation.

Author:
Jamie Macaulay
  • Method Details

    • createMHTChi2Pane

      public SettingsPane<? extends MHTChi2Params> createMHTChi2Pane()
      Create the chi^2 settings pane. If a new chi^2 algorithm is used then this function will need to change to set new settings pane.
      Returns:
      the chi2 settings pane.
    • getParams

      public MHTParams getParams(MHTParams currParams)
      Description copied from class: SettingsPane
      Get settings from the pane.
      Specified by:
      getParams in class SettingsPane<MHTParams>
      Returns:
      settings class
    • setParams

      public void setParams(MHTParams currParams)
      Description copied from class: SettingsPane
      Called whenever the pane is first shown/open to set pane to show current settings.
      Specified by:
      setParams in class SettingsPane<MHTParams>
      Parameters:
      currParams - - current settings class.
    • getName

      public String getName()
      Description copied from class: SettingsPane
      Get the name of the pane.
      Specified by:
      getName in class SettingsPane<MHTParams>
      Returns:
      name of the pane
    • getContentNode

      public javafx.scene.Node getContentNode()
      Description copied from class: SettingsPane
      Get node for GUI change of settings.
      Specified by:
      getContentNode in class SettingsPane<MHTParams>
    • paneInitialized

      public void paneInitialized()
      Description copied from class: SettingsPane
      Called when settings pane is first initialised. This can be used if for example, a the size of a pane is needed for a param. (Sizes are only initialised when Nodes are shown);
      Specified by:
      paneInitialized in class SettingsPane<MHTParams>
    • notifyChange

      public void notifyChange(int flag, Object data)
      Description copied from class: SettingsPane
      General function which allows panes to be notified of some change]
      Overrides:
      notifyChange in class SettingsPane<MHTParams>