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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.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 nodejavafx.geometry.Point2D
localToImage
(javafx.scene.Node local, javafx.geometry.Point2D localPoint) Convert a local point to an image point.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 controlsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface videoRangePanel.vrmethods.VROverlayFX
getSidePaneFX, mouseAction, paint
-
Constructor Details
-
AbstractVRGUIFX
-
-
Method Details
-
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:
update
in interfaceVROverlayFX
- 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 interfaceVROverlayFX
- 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 interfaceVROverlayFX
- Returns:
-