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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected VRControl
    Reference to the vr control.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.scene.layout.Pane
    Create a panel to show camera position.
    javafx.scene.layout.Pane
    Create a panel to show GPS location and allow user to change GPS location method.
    javafx.scene.layout.Pane
    Some methods may require a panel above the picture for manual input or to view current information.
    javafx.scene.layout.Pane
    Different video range methods will have different settings.
    javafx.geometry.Point2D
    imageToLocal(javafx.scene.Node local, Point imagePoint)
    Convert an point on the image to a point on the node
    javafx.geometry.Point2D
    localToImage(javafx.scene.Node local, javafx.geometry.Point2D localPoint)
    Convert a local point to an image point.
    protected Point
    point(javafx.geometry.Point2D point2d)
    Convert a Point2D to a Point.
    protected javafx.geometry.Point2D
    point2D(Point point)
    Convert a Point to a Point2D.
    void
    Populate the height combo box with values.
    void
    setGPSText(LatLong gpsInfo, javafx.scene.control.TextField gps)
    Set GPS text.
    void
    update(int updateType)
    Update the controls

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface videoRangePanel.vrmethods.VROverlayFX

    getSidePaneFX, mouseAction, paint
  • Field Details

    • vrControl

      protected VRControl vrControl
      Reference to the vr control.
  • Constructor Details

  • Method Details

    • point2D

      protected javafx.geometry.Point2D point2D(Point point)
      Convert a Point to a Point2D.
      Parameters:
      point - the Point to convert.
      Returns:
      the 2D point.
    • point

      protected Point point(javafx.geometry.Point2D point2d)
      Convert a Point2D to a Point.
      Parameters:
      point - the Point2D to convert.
      Returns:
      the 2D point.
    • 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: