Class AddCalibrationMethod

java.lang.Object
videoRangePanel.vrmethods.AbstractVRMethod
videoRangePanel.vrmethods.calibration.AddCalibrationMethod
All Implemented Interfaces:
VRMethod

public class AddCalibrationMethod extends AbstractVRMethod
  • Field Details

  • Constructor Details

    • AddCalibrationMethod

      public AddCalibrationMethod(VRControl vrControl)
  • Method Details

    • getName

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

      public PamPanel getSidePanel()
    • 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 interface VRMethod
      Overrides:
      update in class AbstractVRMethod
      Parameters:
      updateType - - the update flag.
    • getCalibrationPoint1

      public Point getCalibrationPoint1()
    • getCalibrationPoint2

      public Point getCalibrationPoint2()
    • getOverlayAWT

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

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

      public int getCurrentStatus()
      Get the current status.
      Returns:
      flag of the current status.
    • setCalibratePoint1

      public void setCalibratePoint1(Point point)
      Set calibrate point 1.
      Parameters:
      point - - the point to set.
    • setCalibratePoint2

      public void setCalibratePoint2(Point point)
      Set calibrate point 2
      Parameters:
      point - - the point to set.