Class VRShoreMethod

java.lang.Object
videoRangePanel.vrmethods.AbstractVRMethod
videoRangePanel.vrmethods.shoreMethod.VRShoreMethod
All Implemented Interfaces:
VRMethod

public class VRShoreMethod extends AbstractVRMethod
AbstractVRMethod contains many useful functions to create panels, update methods ,
Author:
Jamie Macaulay
  • Field Details Link icon

  • Constructor Details Link icon

    • VRShoreMethod Link icon

      public VRShoreMethod(VRControl vrControl)
  • Method Details Link icon

    • getName Link icon

      public String getName()
      Description copied from interface: VRMethod
      The name of this type of analysis method.
      Returns:
      the name of the method
    • getSidePanel Link icon

      public PamPanel getSidePanel()
    • clearPoints Link icon

      protected void clearPoints()
      Overrides:
      clearPoints in class AbstractVRMethod
    • setVrSubStatus Link icon

      protected void setVrSubStatus(int status)
      JLayer overlay panel for the horizon method.
    • newAnimalMeasurement_Shore Link icon

      protected boolean newAnimalMeasurement_Shore(Point animalPoint)
    • getObjectPoint Link icon

      protected Point getObjectPoint(LatLong origin, double height, double degreesPerUnit, double imageAngle, LatLong objectLL, VRHorzCalcMethod vrRangeMethod)
    • horizonPointsFromShore Link icon

      protected boolean horizonPointsFromShore(double tilt)
    • getShoreRange Link icon

      public Double getShoreRange()
      Get the shore range we want to use - not necessarily the closest.
      Returns:
      shore range to use in VR calculations.
    • getshoreRange Link icon

      public Double getshoreRange(double[] ranges)
    • clearOverlay Link icon

      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 Link icon

      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 interface VRMethod
      Overrides:
      update in class AbstractVRMethod
      Parameters:
      updateType - - the update flag.
    • getCurrentStatus Link icon

      public int getCurrentStatus()
    • getOverlayAWT Link icon

      public VROverlayAWT getOverlayAWT()
      Description copied from interface: VRMethod
      The AWT overlay. This handles all graphical interactions within AWT
      Returns:
      the awt overlay
    • getOverlayFX Link icon

      public VROverlayFX getOverlayFX()
      Description copied from interface: VRMethod
      The FX overlay. This handles all graphical interactions within JavaFX
      Returns:
      the awt overlay
    • getShoreManager Link icon

      public ShoreManager getShoreManager()
      Get the shore amanger. Handles shore data.
      Returns:
      - the shore manager
    • getShorePoint Link icon

      public Point getShorePoint()
      Get the current shore point
      Returns:
      the shore point
    • getHorizonPoint1 Link icon

      protected Point getHorizonPoint1()
    • getHorizonPoint2 Link icon

      protected Point getHorizonPoint2()
    • setShorePoint Link icon

      public void setShorePoint(Point point)
      Set the current shore point.
      Parameters:
      point - the point to set.