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 Colorstatic VRSymbolManagerstatic PamSymbolstatic PamSymbolstatic final BasicStrokestatic final Colorstatic PamSymbolstatic VRSymbolManagerstatic final BasicStrokeFields inherited from class videoRangePanel.vrmethods.AbstractVRGUIAWT
imuSettings, mapText - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidDraw current animals on the imagevoidClear the overlay.protected voiddrawAnimal(Graphics g, VRMeasurement vr, PamSymbol symbol) Draw all animal measurements for the image.protected voiddrawLandMarks(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.voidmouseAction(MouseEvent e, boolean motion) What to do when there is a mouse event.voidOverlay DrawingvoidsetAnimalLabels(VRMeasurement imageMeasurement) voidsetImageLabels(VRMeasurement imageMeasurement) voidsetInstruction(int currentStatus) voidCreate a landmark list for the landmark combo box on side panel;voidupdate(int updateType) Update the GUI.Methods inherited from class videoRangePanel.vrmethods.AbstractVRGUIAWT
createCalibrationList, createLocationListPanel, createMapFilePanel, drawMarksandLine, enableControls, newCalibration, selectCalibration, setGPSText, setInstruction, setMapText 
- 
Field Details
- 
dashedtmplate
 - 
solid
 - 
landMarkCol
 - 
animalCol
 - 
landMarkMarker
 - 
animalMarker
 - 
candAnimalMarker
 - 
landMarksSymbol
 - 
animalMark
 
 - 
 - 
Constructor Details
- 
LandMarkGUIAWT
 
 - 
 - 
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:VROverlayAWTWhat 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:
 updatein interfaceVROverlayAWT- Overrides:
 updatein classAbstractVRGUIAWT- Parameters:
 updateType- - the update flag.
 - 
getSidePanel
Description copied from interface:VROverlayAWTDifferent 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:VROverlayAWTDifferent 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:AbstractVRGUIAWTDraw current animals on the image- Overrides:
 addAnimalsin classAbstractVRGUIAWT- Parameters:
 g- - the graphics handle.
 - 
drawAnimal
Draw all animal measurements for the image.- Overrides:
 drawAnimalin classAbstractVRGUIAWT- Parameters:
 g- - the graphics handlevr- - the vr measurementsymbol- - the symbol
 - 
drawLandMarks
Draw the landmark measurment points.- Parameters:
 g- - the landmark measurment points.symbol-
 
 -