Package videoRangePanel
Interface VRPane
- All Known Implementing Classes:
VRDisplayFX
,VRDisplayFX2AWT
,VRPanel
public interface VRPane
Main pane to hold image and controls.
- Author:
- Jamie Macaulay
-
Method Summary
Modifier and TypeMethodDescriptionint
int
imageToScreen
(Point point) Calculate the location on an image given screen co-ordinates.void
newImage()
Called whenever a new image is loaded.void
repaint()
Refresh the imagescreenToImage
(Point point) Calculate the screen location given the locations on the image
-
Method Details
-
repaint
void repaint()Refresh the image -
getImageWidth
int getImageWidth() -
getImageHeight
int getImageHeight() -
imageToScreen
Calculate the location on an image given screen co-ordinates.- Parameters:
point
- - location on image- Returns:
- the location on the screen.
-
screenToImage
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.
-