j2d.diffraction.phidget
Class ServoImageProcessor
java.lang.Object
j2d.diffraction.phidget.ServoImageProcessor
- All Implemented Interfaces:
- ImageProcessorInterface, java.io.Serializable
public class ServoImageProcessor
- extends java.lang.Object
- implements ImageProcessorInterface
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getServoImageProcessor
public static ServoImageProcessor getServoImageProcessor()
process
public java.awt.Image process(java.awt.Image image)
- Description copied from interface:
ImageProcessorInterface
- a basic garbage in, garbage out processor.
- Specified by:
process
in interface ImageProcessorInterface
- Parameters:
image
- input image
- Returns:
- output image
min
public void min()
max
public void max()
step
public void step()
throws java.lang.InterruptedException,
com.phidgets.PhidgetException
- Throws:
java.lang.InterruptedException
com.phidgets.PhidgetException
close
public void close()
throws com.phidgets.PhidgetException
- Throws:
com.phidgets.PhidgetException
main
public static void main(java.lang.String[] args)
throws com.phidgets.PhidgetException
- Throws:
com.phidgets.PhidgetException
testServo
public static void testServo()
throws com.phidgets.PhidgetException
- Throws:
com.phidgets.PhidgetException
getServo
public com.phidgets.ServoPhidget getServo()
setServo
public void setServo(com.phidgets.ServoPhidget servo)
getStartPoint
public double getStartPoint()
setStartPoint
public void setStartPoint(double startPoint)
getStopPoint
public double getStopPoint()
setStopPoint
public void setStopPoint(int stopPoint)
getEps
public double getEps()
setEps
public void setEps(double eps)
getPosition
public double getPosition()
setPosition
public void setPosition(double position)
getDelay
public static int getDelay()
setDelay
public static void setDelay(int delay)