Class AbstractVRGUIFX

java.lang.Object
videoRangePanel.vrmethods.AbstractVRGUIFX
All Implemented Interfaces:
VROverlayFX
Direct Known Subclasses:
LandMarkGUIFX

public abstract class AbstractVRGUIFX extends Object implements VROverlayFX
Contains more generic nodes for JavaFX implementation of video range GUI.
Author:
Jamie Macaulay
  • Constructor Details

  • Method Details

    • imageToLocal

      public javafx.geometry.Point2D imageToLocal(javafx.scene.Node local, Point imagePoint)
      Convert an point on the image to a point on the node
      Parameters:
      local - - the node on which to find local co-ordinates
      imagePoint - - point on an image in image co-ordinates
      Returns:
      the local co-ordinates.
    • localToImage

      public javafx.geometry.Point2D localToImage(javafx.scene.Node local, javafx.geometry.Point2D localPoint)
      Convert a local point to an image point.
      Parameters:
      local - - the node on which to find local co-ordinates
      imagePoint - - point on an image in image co-ordinates
      Returns:
      the local co-ordinates.
    • createCameraHeightPane

      public javafx.scene.layout.Pane createCameraHeightPane()
      Create a panel to show camera position.
    • populateHeightBox

      public void populateHeightBox()
      Populate the height combo box with values.
    • createCameraLocationPane

      public javafx.scene.layout.Pane createCameraLocationPane()
      Create a panel to show GPS location and allow user to change GPS location method.
    • setGPSText

      public void setGPSText(LatLong gpsInfo, javafx.scene.control.TextField gps)
      Set GPS text.
      Parameters:
      gpsInfo -
      gps -
    • update

      public void update(int updateType)
      Update the controls
      Specified by:
      update in interface VROverlayFX
      Parameters:
      updateType - - the update flag.
      flag - - the update flag
    • getRibbonPaneFX

      public javafx.scene.layout.Pane getRibbonPaneFX()
      Description copied from interface: VROverlayFX
      Some methods may require a panel above the picture for manual input or to view current information. getRibbonPanel() returns the JavaFX pane unique to this method which may go above the picture. May return null if no panel is needed.
      Specified by:
      getRibbonPaneFX in interface VROverlayFX
      Returns:
    • getSettingsPaneFX

      public javafx.scene.layout.Pane getSettingsPaneFX()
      Description copied from interface: VROverlayFX
      Different video range methods will have different settings. This JavaFX pane provide the vr specific settings in the vr settings dialog panel.
      Specified by:
      getSettingsPaneFX in interface VROverlayFX
      Returns: