Package gda.rcp.mx.image.viewer
Interface ScaleAndOriginProvider
- All Known Implementing Classes:
BeamScaleAndOriginProvider
public interface ScaleAndOriginProvider
Scale and Origin offseting handled by Overlay provider begin()
-
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the X location of the beam centre in pixels from the origin of the image (image origin is top left).doubleReturns the number of microns per X pixel.doubleReturns the Y location of the beam centre in pixels from the origin of the image (image origin is top left).doubleReturns the number of microns per Y pixel.
-
Method Details
-
getBeamXScale
double getBeamXScale()Returns the number of microns per X pixel.- Returns:
- the number of microns per X pixel.
-
getBeamYScale
double getBeamYScale()Returns the number of microns per Y pixel.- Returns:
- the number of microns per Y pixel.
-
getBeamXPosition
double getBeamXPosition()Returns the X location of the beam centre in pixels from the origin of the image (image origin is top left).- Returns:
- the X location of the beam centre
-
getBeamYPosition
double getBeamYPosition()Returns the Y location of the beam centre in pixels from the origin of the image (image origin is top left).- Returns:
- the Y location of the beam centre
-