Class LandMarkGUIAWT
java.lang.Object
videoRangePanel.vrmethods.AbstractVRGUIAWT
videoRangePanel.vrmethods.landMarkMethod.LandMarkGUIAWT
- All Implemented Interfaces:
VROverlayAWT
Contains GUI components for the landmark method.
- Author:
- Jamie Macaulay
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Color
static VRSymbolManager
static PamSymbol
static PamSymbol
static final BasicStroke
static final Color
static PamSymbol
static VRSymbolManager
static final BasicStroke
Fields inherited from class videoRangePanel.vrmethods.AbstractVRGUIAWT
imuSettings, mapText
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Draw current animals on the imagevoid
Clear the overlay.protected void
drawAnimal
(Graphics g, VRMeasurement vr, PamSymbol symbol) Draw all animal measurements for the image.protected void
drawLandMarks
(Graphics g, PamSymbol symbol) Draw the landmark measurment points.Get the ribbon panel.Different video range methods will have different settings.Get the side panel.Different video range methods will have different controls in the side panel.void
mouseAction
(MouseEvent e, boolean motion) What to do when there is a mouse event.void
Overlay Drawingvoid
setAnimalLabels
(VRMeasurement imageMeasurement) void
setImageLabels
(VRMeasurement imageMeasurement) void
setInstruction
(int currentStatus) void
Create a landmark list for the landmark combo box on side panel;void
update
(int updateType) Update the GUI.Methods inherited from class videoRangePanel.vrmethods.AbstractVRGUIAWT
createCalibrationList, createLocationListPanel, createMapFilePanel, drawMarksandLine, enableControls, newCalibration, selectCalibration, setGPSText, setInstruction, setMapText
-
Field Details
-
Constructor Details
-
Method Details
-
createSidePanel
-
setLandMarks
public void setLandMarks()Create a landmark list for the landmark combo box on side panel; -
setInstruction
public void setInstruction(int currentStatus) -
clearOverlay
public void clearOverlay()Clear the overlay. -
setImageLabels
-
setAnimalLabels
-
mouseAction
Description copied from interface:VROverlayAWT
What to do when there is a mouse event.- Parameters:
e
- - the mouse event.motion
- - true if the mouse event is just a motion. ie. movement of mouse on screen but no clicking.
-
getSidePane
Get the side panel.- Returns:
- the side panel
-
getRibbonPanel
Get the ribbon panel.- Returns:
- the ribbon panel.
-
update
public void update(int updateType) Update the GUI.- Specified by:
update
in interfaceVROverlayAWT
- Overrides:
update
in classAbstractVRGUIAWT
- Parameters:
updateType
- - the update flag.
-
getSidePanel
Description copied from interface:VROverlayAWT
Different video range methods will have different controls in the side panel. This returns the Swing side panel unique to the method. May return null if no panel is needed.- Returns:
-
getSettingsPanel
Description copied from interface:VROverlayAWT
Different video range methods will have different settings. This Swing panel provide the vr specific settings in the vr settings dialog panel.- Returns:
-
paintMarks
Overlay Drawing- Parameters:
g
- - the graphics handle
-
addAnimals
Description copied from class:AbstractVRGUIAWT
Draw current animals on the image- Overrides:
addAnimals
in classAbstractVRGUIAWT
- Parameters:
g
- - the graphics handle.
-
drawAnimal
Draw all animal measurements for the image.- Overrides:
drawAnimal
in classAbstractVRGUIAWT
- Parameters:
g
- - the graphics handlevr
- - the vr measurementsymbol
- - the symbol
-
drawLandMarks
Draw the landmark measurment points.- Parameters:
g
- - the landmark measurment points.symbol
-
-