Class PipelineWindow

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class PipelineWindow extends JFrame
PipelineWindow Class. This class holds all the methods to run the vision pipeline GUI. It handles adding ,removing, and highlighting search managers and giving the relevant information to the visualization class so that it can display the information properly .
See Also:
  • Constructor Details

    • PipelineWindow

      public PipelineWindow()
      Creates new form PipelineWindow
  • Method Details

    • resetVisualization

      public void resetVisualization()
      Will do a clean reset on items in the pipeline and add back all items that were previously displayed. Useful for sudden removal of search managers or updates to existing search managers.
    • updateList

      public void updateList(DefaultListModel<SearchManager> running)
      Retrieves a list of running search managers and populates the list of availManagers
      Parameters:
      running -
    • isDisplayed

      public boolean isDisplayed(SearchManager current)
      Will return true if the current search manager has been displayed Potentially will fail if a detector is shared between two search managers
    • getSearchManagerList

      public DefaultListModel<SearchManager> getSearchManagerList()
      Will return the list model that contains the available managers
      Returns:
    • IdDisplayed

      public boolean IdDisplayed(SearchManager current)
      Checks to see if the visionprocesses for a specific searchmanager are currently displayed
      Parameters:
      current -
      Returns:
    • contentUpdate

      public void contentUpdate(SearchManager current)
      If the contents of the list are updated while the pipeline is displayed, it will update the pipeline to account for those differences
      Parameters:
      current -
    • updateSearchManagerPanel

      public void updateSearchManagerPanel()
      Enables or disables buttons based on whether processes are currently running or not
    • remSearchManager

      public void remSearchManager(SearchManager SearchType)
      Removes a search manager from the visualization
      Parameters:
      SearchType -
    • addSearchManager

      public void addSearchManager(SearchManager SearchType)
      Will add a search Manager to the visualization
      Parameters:
      SearchType -
    • refreshGUI

      public void refreshGUI()
      Refreshes the visualization pipeline
    • main

      public static void main(String[] args)
      Parameters:
      args - the command line arguments