josx.vision
Class FlipEffect

java.lang.Object
  extended byjosx.vision.VisionEffect
      extended byjosx.vision.FlipEffect

public class FlipEffect
extends VisionEffect


Field Summary
 boolean flip
           
 
Fields inherited from class josx.vision.VisionEffect
inputFormat, inputFormats, outputFormat, outputFormats
 
Constructor Summary
FlipEffect()
          Create flip effect
 
Method Summary
 Object[] getControls()
          Getter for array on one control for adjusing motion threshold and setting debug.
 String getName()
           
 int process(Buffer inBuffer, Buffer outBuffer)
          Flip the data in each line
 
Methods inherited from class josx.vision.VisionEffect
close, getControl, getSupportedInputFormats, getSupportedOutputFormats, matches, open, reset, setInputFormat, setOutputFormat, validateByteArraySize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Field Detail

flip

public boolean flip
Constructor Detail

FlipEffect

public FlipEffect()
Create flip effect

Method Detail

process

public int process(Buffer inBuffer,
                   Buffer outBuffer)
Flip the data in each line


getName

public String getName()
Returns:
"Flip Effect"

getControls

public Object[] getControls()
Getter for array on one control for adjusing motion threshold and setting debug.

Overrides:
getControls in class VisionEffect
Returns:
an array of one ColorDetectionControl