endrov.hardwareMicromanager
Class MMAutoFocus
java.lang.Object
endrov.hardwareMicromanager.MMDeviceAdapter
endrov.hardwareMicromanager.MMAutoFocus
- All Implemented Interfaces:
- EvDevice, HWAutoFocus
public class MMAutoFocus
- extends MMDeviceAdapter
- implements HWAutoFocus
Micro manager auto focus
Methods inherited from class endrov.hardwareMicromanager.MMDeviceAdapter |
addDeviceListener, getDescName, getPropertyMap, getPropertyTypes, getPropertyValue, getPropertyValueBoolean, hasConfigureDialog, openConfigureDialog, removeDeviceListener, setPropertyValue, setPropertyValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface endrov.hardware.EvDevice |
addDeviceListener, getDescName, getPropertyMap, getPropertyTypes, getPropertyValue, getPropertyValueBoolean, hasConfigureDialog, openConfigureDialog, removeDeviceListener, setPropertyValue, setPropertyValue |
MMAutoFocus
public MMAutoFocus(MicroManager mm,
java.lang.String mmDeviceName)
getLastFocusScore
public double getLastFocusScore()
- Specified by:
getLastFocusScore
in interface HWAutoFocus
getCurrentFocusScore
public double getCurrentFocusScore()
- Specified by:
getCurrentFocusScore
in interface HWAutoFocus
fullFocus
public void fullFocus()
throws java.io.IOException
- Specified by:
fullFocus
in interface HWAutoFocus
- Throws:
java.io.IOException
incrementalFocus
public void incrementalFocus()
throws java.io.IOException
- Specified by:
incrementalFocus
in interface HWAutoFocus
- Throws:
java.io.IOException
setAutoFocusOffset
public void setAutoFocusOffset(double offset)
- Specified by:
setAutoFocusOffset
in interface HWAutoFocus
getAutoFocusOffset
public double getAutoFocusOffset()
- Specified by:
getAutoFocusOffset
in interface HWAutoFocus
enableContinuousFocus
public void enableContinuousFocus(boolean enable)
- Specified by:
enableContinuousFocus
in interface HWAutoFocus
isContinuousFocusEnabled
public boolean isContinuousFocusEnabled()
- Specified by:
isContinuousFocusEnabled
in interface HWAutoFocus
isContinuousFocusLocked
public boolean isContinuousFocusLocked()
- Specified by:
isContinuousFocusLocked
in interface HWAutoFocus