Interface VRPane

All Known Implementing Classes:
VRDisplayFX, VRDisplayFX2AWT, VRPanel

public interface VRPane
Main pane to hold image and controls.
Author:
Jamie Macaulay
  • Method Details

    • repaint

      void repaint()
      Refresh the image
    • getImageWidth

      int getImageWidth()
    • getImageHeight

      int getImageHeight()
    • imageToScreen

      Point imageToScreen(Point point)
      Calculate the location on an image given screen co-ordinates.
      Parameters:
      point - - location on image
      Returns:
      the location on the screen.
    • screenToImage

      Point screenToImage(Point point)
      Calculate the screen location given the locations on the image
      Parameters:
      point - - location on screen
      Returns:
      the location on the image in pixels
    • newImage

      void newImage()
      Called whenever a new image is loaded.