public interface StageDeviceInternal extends DeviceInternal
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Point2D.Double |
getPosition()
Returns the current position of the plate.
|
double |
getUnitMagnifier()
Returns the magnification factor from native stage device units to micro meters:
microMeters = units * unitMagnifier
|
boolean |
isTransposeX()
Returns if the x-direction is transposed (x -> -x).
|
boolean |
isTransposeY()
Returns if the y-direction is transposed (y -> -y).
|
void |
setPosition(double x,
double y,
int accessID)
Sets the absolute position of the stage.
|
void |
setRelativePosition(double dx,
double dy,
int accessID)
Sets the position of the stage relative to the current position.
|
void |
setTransposeX(boolean transpose,
int accessID)
Sets if the x-direction should be transposed.
|
void |
setTransposeY(boolean transpose,
int accessID)
Sets if the y-direction should be transposed.
|
void |
setUnitMagnifier(double unitMagnifier,
int accessID)
Sets the magnification factor from native stage device units to micro meters:
microMeters = units * unitMagnifier
|
getDeviceID, getDriverID, getEditableProperties, getExplicitDelay, getInitializationTime, getLibraryID, getProperties, getProperty, getType, setExplicitDelay, waitForDevice
java.awt.geom.Point2D.Double getPosition() throws MicroscopeException, java.lang.InterruptedException
MicroscopeException
java.lang.InterruptedException
void setPosition(double x, double y, int accessID) throws MicroscopeLockedException, MicroscopeException, java.lang.InterruptedException
x
- X-position of the stage in mu.y
- Y-Position of the stage in mu.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
MicroscopeException
java.lang.InterruptedException
void setRelativePosition(double dx, double dy, int accessID) throws MicroscopeLockedException, MicroscopeException, java.lang.InterruptedException
dx
- relative X-position of the stage.dy
- relative Y-Position of the stage.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
MicroscopeException
java.lang.InterruptedException
void setTransposeX(boolean transpose, int accessID) throws MicroscopeLockedException
transpose
- True, if the x-direction should be transposed.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
void setTransposeY(boolean transpose, int accessID) throws MicroscopeLockedException
transpose
- True, if the y-direction should be transposed.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
boolean isTransposeX()
boolean isTransposeY()
double getUnitMagnifier()
void setUnitMagnifier(double unitMagnifier, int accessID) throws MicroscopeLockedException
unitMagnifier
- Magnification factor for native stage unit to micro meter conversion.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException