edu.wpi.first.wpilibj.image
Class NIVision.Range

java.lang.Object
  extended by com.sun.cldc.jna.Structure
      extended by edu.wpi.first.wpilibj.image.NIVision.Range
Enclosing class:
NIVision

public static class NIVision.Range
extends Structure


Field Summary
 
Fields inherited from class com.sun.cldc.jna.Structure
backingNativeMemory
 
Constructor Summary
NIVision.Range(int lower, int upper)
          Create a new range with the specified upper and lower boundaries
 
Method Summary
 void free()
          Free the memory used by this range
 int getLower()
          Get the lower boundary
 int getUpper()
          Get the upper boundary
 void read()
           
 void set(int lower, int upper)
          Set the upper and lower boundaries
 int size()
           
 void write()
           
 
Methods inherited from class com.sun.cldc.jna.Structure
allocateMemory, freeMemory, getPointer, release, useMemory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NIVision.Range

public NIVision.Range(int lower,
                      int upper)
Create a new range with the specified upper and lower boundaries

Parameters:
lower - The lower limit
upper - The upper limit
Method Detail

read

public void read()
Specified by:
read in class Structure

write

public void write()
Specified by:
write in class Structure

size

public int size()

free

public void free()
Free the memory used by this range


set

public void set(int lower,
                int upper)
Set the upper and lower boundaries

Parameters:
lower - The lower limit
upper - The upper limit

getLower

public int getLower()
Get the lower boundary

Returns:
The lower boundary.

getUpper

public int getUpper()
Get the upper boundary

Returns:
The upper boundary.