t3.hrd.input
Class Wintab

java.lang.Object
  extended by t3.hrd.input.PointInputDevice
      extended by t3.hrd.input.Wintab

public class Wintab
extends PointInputDevice

Wintab PointInputDevice class for use with graphics tablets.

Uses the following properties:

For our tablet: 1 Inch = 25.40mm; tablet is 48"*36"; has 48000 x divisions and 36000 y divisions; works out around 40 divisions per mm; so xScale = 48.0 * 25.40 / 48000.0 = 0.025400; and yScale = 36.0 * 25.40 / 36000.0 = 0.025400; and xDivJump=yDivJump=10.

Author:
pjt40

Field Summary
 
Fields inherited from class t3.hrd.input.PointInputDevice
mINPUTtoDESK, state
 
Constructor Summary
Wintab(int clientId, int personId, Jama.Matrix mINPUTtoDESK, boolean accurate, java.util.Properties p, java.lang.String prefix)
           
 
Method Summary
 void close()
           
 boolean updateState()
           
 
Methods inherited from class t3.hrd.input.PointInputDevice
setStateDESKcoordsFromINPUTcoords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Wintab

public Wintab(int clientId,
              int personId,
              Jama.Matrix mINPUTtoDESK,
              boolean accurate,
              java.util.Properties p,
              java.lang.String prefix)
       throws InputDeviceException
Throws:
InputDeviceException
Method Detail

updateState

public boolean updateState()
                    throws InputDeviceException
Specified by:
updateState in class PointInputDevice
Throws:
InputDeviceException

close

public void close()
           throws InputDeviceException
Specified by:
close in class PointInputDevice
Throws:
InputDeviceException