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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
Fields inherited from class videoRangePanel.vrmethods.AbstractVRMethod
MEASURE_ANIMAL, MEASURE_DONE, vrControl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears all user interactions and resets overlay.int
getName()
The name of this type of analysis method.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.void
setShorePoint
(Point point) Set the current shore point.void
update
(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
calcLocLatLong, calculateHorizonTilt, getCandidateMeasurement, getGPSinfo, getGPSinfo, getHorizonPixel, 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:VRMethod
The name of this type of analysis method.- Returns:
- the name of the method
-
getSidePanel
-
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:VRMethod
Clears 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:VRMethod
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.- Specified by:
update
in interfaceVRMethod
- Overrides:
update
in classAbstractVRMethod
- Parameters:
updateType
- - the update flag.
-
getCurrentStatus
public int getCurrentStatus() -
getOverlayAWT
Description copied from interface:VRMethod
The AWT overlay. This handles all graphical interactions within AWT- Returns:
- the awt overlay
-
getOverlayFX
Description copied from interface:VRMethod
The 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
-
setShorePoint
Set the current shore point.- Parameters:
point
- the point to set.
-