Interface VRPane

All Known Implementing Classes:
VRDisplayFX, VRDisplayFX2AWT, VRPanel

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

    • repaint Link icon

      void repaint()
      Refresh the image
    • getImageWidth Link icon

      int getImageWidth()
    • getImageHeight Link icon

      int getImageHeight()
    • imageToScreen Link icon

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

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

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