endrov.hardwareMicromanager
Class MMAutoFocus

java.lang.Object
  extended by endrov.hardwareMicromanager.MMDeviceAdapter
      extended by endrov.hardwareMicromanager.MMAutoFocus
All Implemented Interfaces:
EvDevice, HWAutoFocus

public class MMAutoFocus
extends MMDeviceAdapter
implements HWAutoFocus

Micro manager auto focus


Field Summary
 
Fields inherited from class endrov.hardwareMicromanager.MMDeviceAdapter
event, mm, mmDeviceName
 
Constructor Summary
MMAutoFocus(MicroManager mm, java.lang.String mmDeviceName)
           
 
Method Summary
 void enableContinuousFocus(boolean enable)
           
 void fullFocus()
           
 double getAutoFocusOffset()
           
 double getCurrentFocusScore()
           
 double getLastFocusScore()
           
 void incrementalFocus()
           
 boolean isContinuousFocusEnabled()
           
 boolean isContinuousFocusLocked()
           
 void setAutoFocusOffset(double offset)
           
 
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
 

Constructor Detail

MMAutoFocus

public MMAutoFocus(MicroManager mm,
                   java.lang.String mmDeviceName)
Method Detail

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