Class LandMarkGUIFX

java.lang.Object
videoRangePanel.vrmethods.AbstractVRGUIFX
videoRangePanel.vrmethods.landMarkMethod.LandMarkGUIFX
All Implemented Interfaces:
VROverlayFX

public class LandMarkGUIFX extends AbstractVRGUIFX
Contains GUI components for the landmark method.
Author:
Jamie Macaulay
  • Field Details Link icon

    • landMarkCol Link icon

      public static final javafx.scene.paint.Color landMarkCol
    • animalCol Link icon

      public static final javafx.scene.paint.Color animalCol
    • rectOutline Link icon

      public static final javafx.scene.paint.Color rectOutline
    • rectFill Link icon

      public static final javafx.scene.paint.Color rectFill
    • landMarkMarker Link icon

      public static PamSymbolFX landMarkMarker
    • animalMarker Link icon

      public static PamSymbolFX animalMarker
    • candAnimalMarker Link icon

      public static PamSymbolFX candAnimalMarker
  • Constructor Details Link icon

  • Method Details Link icon

    • createSidePane Link icon

      public void createSidePane()
      Create the side pane.
    • clearOverlay Link icon

      public void clearOverlay()
      Clear the overlay.
    • setLandMarks Link icon

      public void setLandMarks()
      Create a landmark list for the landmark combo box on side panel
    • getSidePaneFX Link icon

      public javafx.scene.layout.Pane getSidePaneFX()
      The side pane with controls specific for landmarks.
      Returns:
      - the side pane for landmarks
    • getRibbonPaneFX Link icon

      public javafx.scene.layout.Pane getRibbonPaneFX()
      Get the ribbon pane.
      Specified by:
      getRibbonPaneFX in interface VROverlayFX
      Overrides:
      getRibbonPaneFX in class AbstractVRGUIFX
      Returns:
      the ribbon pane.
    • update Link icon

      public void update(int updateType)
      Update the GUI.
      Specified by:
      update in interface VROverlayFX
      Overrides:
      update in class AbstractVRGUIFX
      Parameters:
      updateType - - the update flag.
    • paint Link icon

      public void paint(javafx.scene.canvas.GraphicsContext g)
      Description copied from interface: VROverlayFX
      Paint graphics onto the image.
      Parameters:
      g - - the graphics context handle.
    • mouseAction Link icon

      public void mouseAction(javafx.scene.input.MouseEvent e, boolean motion, javafx.scene.canvas.Canvas drawCanvas)
      Description copied from interface: VROverlayFX
      Called whenever there is a mouse action on the overlay draw cnvas
      Parameters:
      e - - the mouse event.
      motion - - true if the mouse event is just a motion. ie. movement of mouse on screen but no clicking.
    • getMeasuredPolygon Link icon

      public Point[] getMeasuredPolygon()
      Get polygon points on the image. These points are in image pixels. If there is no drawn polygon will return null.
      Returns:
      list of points representing corners of polygon drawn on image.