j2d.diffraction.phidget
Class ServoImageProcessor

java.lang.Object
  extended by j2d.diffraction.phidget.ServoImageProcessor
All Implemented Interfaces:
ImageProcessorInterface, java.io.Serializable

public class ServoImageProcessor
extends java.lang.Object
implements ImageProcessorInterface

See Also:
Serialized Form

Method Summary
 void close()
           
static int getDelay()
           
 double getEps()
           
 double getPosition()
           
 com.phidgets.ServoPhidget getServo()
           
static ServoImageProcessor getServoImageProcessor()
           
 double getStartPoint()
           
 double getStopPoint()
           
static void main(java.lang.String[] args)
           
 void max()
           
 void min()
           
 java.awt.Image process(java.awt.Image image)
          a basic garbage in, garbage out processor.
static void setDelay(int delay)
           
 void setEps(double eps)
           
 void setPosition(double position)
           
 void setServo(com.phidgets.ServoPhidget servo)
           
 void setStartPoint(double startPoint)
           
 void setStopPoint(int stopPoint)
           
 void step()
           
static void testServo()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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)