Class VRPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, VRPane

public class VRPanel extends JPanel implements VRPane
See Also:
  • Field Details Link icon

    • horizonMarker Link icon

      public static PamSymbol horizonMarker
    • animalMarker Link icon

      public static PamSymbol animalMarker
    • candidateMarker Link icon

      public static PamSymbol candidateMarker
    • calibrationMarker Link icon

      public static PamSymbol calibrationMarker
    • horizonSymbol Link icon

      public static VRSymbolManager horizonSymbol
    • animalSymbol Link icon

      public static VRSymbolManager animalSymbol
    • candidateSymbol Link icon

      public static VRSymbolManager candidateSymbol
    • calibrationSymbol Link icon

      public static VRSymbolManager calibrationSymbol
    • settingsButtonSize Link icon

      public static Dimension settingsButtonSize
  • Constructor Details Link icon

    • VRPanel Link icon

      public VRPanel(VRControl vrControl)
  • Method Details Link icon

    • getPicturePanel Link icon

      public JPanel getPicturePanel()
    • newImage Link icon

      public void newImage()
      Description copied from interface: VRPane
      Called whenever a new image is loaded.
      Specified by:
      newImage in interface VRPane
    • repaint Link icon

      public void repaint()
      Description copied from interface: VRPane
      Refresh the image
      Specified by:
      repaint in interface VRPane
      Overrides:
      repaint in class Component
    • setImageBrightness Link icon

      public void setImageBrightness(float brightness, float contrast)
    • zoomPicture Link icon

      public void zoomPicture()
    • screenToImage Link icon

      public Point screenToImage(Point screenPoint)
      Description copied from interface: VRPane
      Calculate the screen location given the locations on the image
      Specified by:
      screenToImage in interface VRPane
      Parameters:
      screenPoint - - location on screen
      Returns:
      the location on the image in pixels
    • imageToScreen Link icon

      public Point imageToScreen(Point screenPoint)
      Description copied from interface: VRPane
      Calculate the location on an image given screen co-ordinates.
      Specified by:
      imageToScreen in interface VRPane
      Parameters:
      screenPoint - - location on image
      Returns:
      the location on the screen.
    • getImageHeight Link icon

      public int getImageHeight()
      Specified by:
      getImageHeight in interface VRPane
    • getImageWidth Link icon

      public int getImageWidth()
      Specified by:
      getImageWidth in interface VRPane
    • changeMethod Link icon

      public void changeMethod()