Modifier and Type | Method and Description |
---|---|
double |
getCurrentScore()
Returns the current focus score
|
double |
getLastScore()
Returns the last focus score.
|
double |
getOffset()
Returns the current offset.
|
boolean |
isEnabled()
Returns true if the autofocus is enabled.
|
boolean |
isLocked()
Returns true if auto-focus is locked.
|
void |
runFullFocus()
Runs a full focus search.
|
void |
runIncrementalFocus()
Runs an incremental focus search.
|
void |
setEnabled(boolean enable)
Enables or disables the auto-focus device.
|
void |
setOffset(double offset)
Sets the current offset.
|
getDeviceID, getDriverID, getEditableProperties, getExplicitDelay, getLibraryID, getProperties, getProperty, getType, setExplicitDelay, waitForDevice
double getLastScore() throws MicroscopeException, java.rmi.RemoteException
MicroscopeException
java.rmi.RemoteException
double getCurrentScore() throws MicroscopeException, java.rmi.RemoteException
MicroscopeException
java.rmi.RemoteException
void setEnabled(boolean enable) throws MicroscopeException, MicroscopeLockedException, java.rmi.RemoteException
enable
- True, if focus should be engabled.MicroscopeException
MicroscopeLockedException
java.rmi.RemoteException
boolean isEnabled() throws MicroscopeException, java.rmi.RemoteException
MicroscopeException
java.rmi.RemoteException
boolean isLocked() throws MicroscopeException, java.rmi.RemoteException
MicroscopeException
java.rmi.RemoteException
void runFullFocus() throws MicroscopeException, MicroscopeLockedException, java.rmi.RemoteException
MicroscopeException
MicroscopeLockedException
java.rmi.RemoteException
void runIncrementalFocus() throws MicroscopeException, MicroscopeLockedException, java.rmi.RemoteException
MicroscopeException
MicroscopeLockedException
java.rmi.RemoteException
void setOffset(double offset) throws MicroscopeException, MicroscopeLockedException, java.rmi.RemoteException
offset
- Offset to set.MicroscopeException
MicroscopeLockedException
java.rmi.RemoteException
double getOffset() throws MicroscopeException, java.rmi.RemoteException
MicroscopeException
java.rmi.RemoteException