Class VRHorizonMethod

java.lang.Object
videoRangePanel.vrmethods.AbstractVRMethod
videoRangePanel.vrmethods.horizonMethod.VRHorizonMethod
All Implemented Interfaces:
VRMethod

public class VRHorizonMethod extends AbstractVRMethod
The horizon method allows a user to click two points to define a horizon and then click an animal to define a RANGE. Requires a calibration value and a height.
Author:
Doug Gillespie and Jamie Macaulay
  • Field Details Link icon

  • Constructor Details Link icon

    • VRHorizonMethod Link icon

      public VRHorizonMethod(VRControl vrControl)
  • Method Details Link icon

    • getSidePanel Link icon

      public PamPanel getSidePanel()
    • 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.
    • 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
    • getRibbonPanel Link icon

      public PamPanel getRibbonPanel()
    • clearOverlay Link icon

      public void clearOverlay()
      JLayer overlay panel for the horizon method.
    • getCurrentStatus Link icon

      public int getCurrentStatus()
      Get the current status.
      Returns:
      the current status flag.
    • setImageHeading Link icon

      public void setImageHeading(Double imageHeading)
      Set the image heading.
      Parameters:
      imageHeading - - the image heading.
    • getHorizonPoint1 Link icon

      public Point getHorizonPoint1()
      Get the first horizon point on the image
      Returns:
      - the point in pixels on the image
    • getHorizonPoint2 Link icon

      public Point getHorizonPoint2()
      Get the second horizon point on the image
      Returns:
      - the point in pixels on the image
    • 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
    • setHorizonPoint1 Link icon

      public void setHorizonPoint1(Point point)
      Set the first horizon point.
      Parameters:
      point - the new horizon point 1
    • setHorizonPoint2 Link icon

      public void setHorizonPoint2(Point point)
      Set the second horizon point.
      Parameters:
      point - the new horizon point 2