stella.util
Interface Focusable

All Known Implementing Classes:
WifsipTelescopeCaster

public interface Focusable

Implementers know how to set a focus, a focus offset and can provide their limits. This may eiter be a telescope or an adapter unit like a linear stage. The units for the set operations are abitrary, but should be linear, i.e. setting two times the same offset should end up at the same focus as a single offset twice as much.


Method Summary
 double getMaximumFocus()
          Returns the maximum allowed focus in our specific units.
 double getMinimumFocus()
          Returns the minimum allowed focusin our specific units.
 boolean setFocus(double mm)
          We set an absolute value for the focus.
 boolean setFocusOffset(double mm)
          We apply an offset (positve and negative values are allowed).
 

Method Detail

setFocus

boolean setFocus(double mm)
We set an absolute value for the focus. The implementing object must ensure that the limits are not tempered with. Return true if successful.


setFocusOffset

boolean setFocusOffset(double mm)
We apply an offset (positve and negative values are allowed). The implementing object must ensure that the limits are not tempered with. Return true if successful.


getMaximumFocus

double getMaximumFocus()
Returns the maximum allowed focus in our specific units.


getMinimumFocus

double getMinimumFocus()
Returns the minimum allowed focusin our specific units.