iicm.vrml.pw
Interface PointerSensor

All Known Implementing Classes:
Anchor, CylinderSensor, SphereSensor, TouchSensor, PlaneSensor

public interface PointerSensor

PointerSensor interface


Method Summary
 void mouseDown(float downx, float downy, Hitpoint hit, double timestamp)
          handles mouse-button-down in interaction mode
 void mouseDrag(float downx, float downy, Hitpoint hit, double timestamp)
          handles mouse-drag in interaction mode
 void mouseExit(double timestamp)
          clears sensor, sends isOver false
 void mouseMove(float downx, float downy, Hitpoint hit, double timestamp)
          handles mouse-move in interaction mode
 void mouseUp(double timestamp)
          handles mouse-button-up in interaction mode
 

Method Detail

mouseMove

public void mouseMove(float downx,
                      float downy,
                      Hitpoint hit,
                      double timestamp)
handles mouse-move in interaction mode

mouseDrag

public void mouseDrag(float downx,
                      float downy,
                      Hitpoint hit,
                      double timestamp)
handles mouse-drag in interaction mode

mouseDown

public void mouseDown(float downx,
                      float downy,
                      Hitpoint hit,
                      double timestamp)
handles mouse-button-down in interaction mode

mouseUp

public void mouseUp(double timestamp)
handles mouse-button-up in interaction mode

mouseExit

public void mouseExit(double timestamp)
clears sensor, sends isOver false