Class VRShoreMethod
java.lang.Object
videoRangePanel.vrmethods.AbstractVRMethod
videoRangePanel.vrmethods.shoreMethod.VRShoreMethod
- All Implemented Interfaces:
 VRMethod
AbstractVRMethod contains many useful functions to create panels, update methods ,
- Author:
 - Jamie Macaulay
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class videoRangePanel.vrmethods.AbstractVRMethod
candidateMeasurement, horizonPoint1, horizonPoint2, horizonTilt, imageHeading, MEASURE_ANIMAL, MEASURE_DONE, vrControl - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidClears all user interactions and resets overlay.protected voidintprotected Pointprotected PointgetName()The name of this type of analysis method.protected PointgetObjectPoint(LatLong origin, double height, double degreesPerUnit, double imageAngle, LatLong objectLL, VRHorzCalcMethod vrRangeMethod) The AWT overlay.The FX overlay.Get the shore amanger.Get the current shore pointgetshoreRange(double[] ranges) Get the shore range we want to use - not necessarily the closest.protected booleanhorizonPointsFromShore(double tilt) protected booleannewAnimalMeasurement_Shore(Point animalPoint) voidsetShorePoint(Point point) Set the current shore point.protected voidsetVrSubStatus(int status) JLayer overlay panel for the horizon method.voidupdate(int updateType) Called from other parts of the module whenever a method panel may needed updated e.g.Methods inherited from class videoRangePanel.vrmethods.AbstractVRMethod
bearingTox, calcLocLatLong, calculateHorizonTilt, getCandidateMeasurement, getGPSinfo, getGPSinfo, getHorizonPixel, getHorizonPixel_H, getHorizonTilt, getImageHeading, getImagePitch, newAnimalMeasurement_Horizon, setHorizonTilt 
- 
Field Details
- 
NEED_GPS_MAP
public static final int NEED_GPS_MAP- See Also:
 
 - 
NEED_BEARING
public static final int NEED_BEARING- See Also:
 
 - 
MEASURE_SHORE
public static final int MEASURE_SHORE- See Also:
 
 
 - 
 - 
Constructor Details
- 
VRShoreMethod
 
 - 
 - 
Method Details
- 
getName
Description copied from interface:VRMethodThe name of this type of analysis method.- Returns:
 - the name of the method
 
 - 
getSidePanel
 - 
clearPoints
protected void clearPoints()- Overrides:
 clearPointsin classAbstractVRMethod
 - 
setVrSubStatus
protected void setVrSubStatus(int status) JLayer overlay panel for the horizon method. - 
newAnimalMeasurement_Shore
 - 
getObjectPoint
protected Point getObjectPoint(LatLong origin, double height, double degreesPerUnit, double imageAngle, LatLong objectLL, VRHorzCalcMethod vrRangeMethod)  - 
horizonPointsFromShore
protected boolean horizonPointsFromShore(double tilt)  - 
getShoreRange
Get the shore range we want to use - not necessarily the closest.- Returns:
 - shore range to use in VR calculations.
 
 - 
getshoreRange
 - 
clearOverlay
public void clearOverlay()Description copied from interface:VRMethodClears all user interactions and resets overlay. Required for changes to settings, picture being changed and other interactions not directly associated with the VRMethod. - 
update
public void update(int updateType) Description copied from interface:VRMethodCalled 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.- Specified by:
 updatein interfaceVRMethod- Overrides:
 updatein classAbstractVRMethod- Parameters:
 updateType- - the update flag.
 - 
getCurrentStatus
public int getCurrentStatus() - 
getOverlayAWT
Description copied from interface:VRMethodThe AWT overlay. This handles all graphical interactions within AWT- Returns:
 - the awt overlay
 
 - 
getOverlayFX
Description copied from interface:VRMethodThe FX overlay. This handles all graphical interactions within JavaFX- Returns:
 - the awt overlay
 
 - 
getShoreManager
Get the shore amanger. Handles shore data.- Returns:
 - - the shore manager
 
 - 
getShorePoint
Get the current shore point- Returns:
 - the shore point
 
 - 
getHorizonPoint1
 - 
getHorizonPoint2
 - 
setShorePoint
Set the current shore point.- Parameters:
 point- the point to set.
 
 -