Package videoRangePanel.vrmethods
Class AbstractVRGUIFX
java.lang.Object
videoRangePanel.vrmethods.AbstractVRGUIFX
- All Implemented Interfaces:
 VROverlayFX
- Direct Known Subclasses:
 LandMarkGUIFX
Contains more generic nodes for JavaFX implementation of video range GUI.
- Author:
 - Jamie Macaulay
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.layout.PaneCreate a panel to show camera position.javafx.scene.layout.PaneCreate a panel to show GPS location and allow user to change GPS location method.javafx.scene.layout.PaneSome methods may require a panel above the picture for manual input or to view current information.javafx.scene.layout.PaneDifferent video range methods will have different settings.javafx.geometry.Point2DimageToLocal(javafx.scene.Node local, Point imagePoint) Convert an point on the image to a point on the nodejavafx.geometry.Point2DlocalToImage(javafx.scene.Node local, javafx.geometry.Point2D localPoint) Convert a local point to an image point.protected Pointpoint(javafx.geometry.Point2D point2d) Convert a Point2D to a Point.protected javafx.geometry.Point2DConvert a Point to a Point2D.voidPopulate the height combo box with values.voidsetGPSText(LatLong gpsInfo, javafx.scene.control.TextField gps) Set GPS text.voidupdate(int updateType) Update the controlsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface videoRangePanel.vrmethods.VROverlayFX
getSidePaneFX, mouseAction, paint 
- 
Field Details
- 
vrControl
Reference to the vr control. 
 - 
 - 
Constructor Details
- 
AbstractVRGUIFX
 
 - 
 - 
Method Details
- 
point2D
Convert a Point to a Point2D.- Parameters:
 point- the Point to convert.- Returns:
 - the 2D point.
 
 - 
point
Convert a Point2D to a Point.- Parameters:
 point- the Point2D to convert.- Returns:
 - the 2D point.
 
 - 
imageToLocal
Convert an point on the image to a point on the node- Parameters:
 local- - the node on which to find local co-ordinatesimagePoint- - 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-ordinatesimagePoint- - 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
Set GPS text.- Parameters:
 gpsInfo-gps-
 - 
update
public void update(int updateType) Update the controls- Specified by:
 updatein interfaceVROverlayFX- Parameters:
 updateType- - the update flag.flag- - the update flag
 - 
getRibbonPaneFX
public javafx.scene.layout.Pane getRibbonPaneFX()Description copied from interface:VROverlayFXSome 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:
 getRibbonPaneFXin interfaceVROverlayFX- Returns:
 
 - 
getSettingsPaneFX
public javafx.scene.layout.Pane getSettingsPaneFX()Description copied from interface:VROverlayFXDifferent video range methods will have different settings. This JavaFX pane provide the vr specific settings in the vr settings dialog panel.- Specified by:
 getSettingsPaneFXin interfaceVROverlayFX- Returns:
 
 
 -