iicm.vrml.pw
Class PlaneSensor

java.lang.Object
  |
  +--iicm.vrml.pw.Node
        |
        +--iicm.vrml.pw.Sensor
              |
              +--iicm.vrml.pw.PlaneSensor

public class PlaneSensor
extends Sensor
implements PointerSensor


Field Summary
 SFBool autoOffset
           
 SFBool enabled
           
 Hitpoint hitobj_
           
 SFBool isActive
           
 SFVec2f maxPosition
           
 SFVec2f minPosition
           
 SFVec3f offset
           
 SFVec3f trackPoint_changed
           
 SFVec3f translation_changed
           
 
Fields inherited from class iicm.vrml.pw.Node
DEF_KEYWORD, EXTERNPROTO_KEYWORD, objname, PROTO_KEYWORD, ROUTE_KEYWORD, subfields, USE_KEYWORD, userdata
 
Method Summary
 void mouseDown(float downx, float downy, Hitpoint hit, double timestamp)
          handle mouse down in interaction mode
 void mouseDrag(float dragx, float dragy, Hitpoint hit, double timestamp)
          handle mouse drag in interaction mode
 void mouseExit(double timestamp)
          handle mouse exit
 void mouseMove(float downx, float downy, Hitpoint hit, double timestamp)
          handle mouse move in interaction mode
 void mouseUp(double timestamp)
          handle mouse up in interaction mode
 java.lang.String nodeName()
          the node's name
 void traverse(Traverser t)
          must call appropriate method of Traverser for node traversal
 
Methods inherited from class iicm.vrml.pw.Sensor
evaluate
 
Methods inherited from class iicm.vrml.pw.Node
addRoute, deleteRoute, getEvent, readNode, traverseNode, writeNode, writeSubfield, writeSubfields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

autoOffset

public SFBool autoOffset

enabled

public SFBool enabled

isActive

public SFBool isActive

maxPosition

public SFVec2f maxPosition

minPosition

public SFVec2f minPosition

offset

public SFVec3f offset

translation_changed

public SFVec3f translation_changed

trackPoint_changed

public SFVec3f trackPoint_changed

hitobj_

public Hitpoint hitobj_
Method Detail

nodeName

public java.lang.String nodeName()
Description copied from class: Node
the node's name
Overrides:
nodeName in class Node

traverse

public void traverse(Traverser t)
Description copied from class: Node
must call appropriate method of Traverser for node traversal
Overrides:
traverse in class Node

mouseMove

public void mouseMove(float downx,
                      float downy,
                      Hitpoint hit,
                      double timestamp)
handle mouse move in interaction mode
Specified by:
mouseMove in interface PointerSensor

mouseDrag

public void mouseDrag(float dragx,
                      float dragy,
                      Hitpoint hit,
                      double timestamp)
handle mouse drag in interaction mode
Specified by:
mouseDrag in interface PointerSensor

mouseDown

public void mouseDown(float downx,
                      float downy,
                      Hitpoint hit,
                      double timestamp)
handle mouse down in interaction mode
Specified by:
mouseDown in interface PointerSensor

mouseUp

public void mouseUp(double timestamp)
handle mouse up in interaction mode
Specified by:
mouseUp in interface PointerSensor

mouseExit

public void mouseExit(double timestamp)
handle mouse exit
Specified by:
mouseExit in interface PointerSensor