Package videoRangePanel.vrmethods
Interface VROverlayFX
- All Known Implementing Classes:
AbstractVRGUIFX
,LandMarkGUIFX
public interface VROverlayFX
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.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.scene.layout.Pane
Different video range methods will have different controls in the side panel.void
mouseAction
(javafx.scene.input.MouseEvent e, boolean motion, javafx.scene.canvas.Canvas drawCanvas) Called whenever there is a mouse action on the overlay draw cnvasvoid
paint
(javafx.scene.canvas.GraphicsContext g) Paint graphics onto the image.void
update
(int updateType) Called from other parts of the module whenever a method panel may needed updated e.g.
-
Method Details
-
getRibbonPaneFX
javafx.scene.layout.Pane getRibbonPaneFX()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.- Returns:
-
getSidePaneFX
javafx.scene.layout.Pane getSidePaneFX()Different video range methods will have different controls in the side panel. This returns the JavaFX side pane unique to the method. May return null if no panel is needed.- Returns:
-
getSettingsPaneFX
javafx.scene.layout.Pane getSettingsPaneFX()Different video range methods will have different settings. This JavaFX pane provide the vr specific settings in the vr settings dialog panel.- Returns:
-
update
void update(int updateType) Called from other parts of the module whenever a method panel may needed updated e.g. when new calibration data is manually added in the settings dialog.- Parameters:
updateType
- - the update flag.
-
paint
void paint(javafx.scene.canvas.GraphicsContext g) Paint graphics onto the image.- Parameters:
g
- - the graphics context handle.
-
mouseAction
void mouseAction(javafx.scene.input.MouseEvent e, boolean motion, javafx.scene.canvas.Canvas drawCanvas) 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.
-