iicm.vrml.pw
Class Anchor
java.lang.Object
|
+--iicm.vrml.pw.Node
|
+--iicm.vrml.pw.GroupNode
|
+--iicm.vrml.pw.Anchor
- public class Anchor
- extends GroupNode
- implements PointerSensor
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)
Anchor does not react on pointer events in pw.
|
void |
mouseUp(double timestamp)
handles mouse-button-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 java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
description
public SFString description
parameter
public MFString parameter
url
public MFString url
bboxCenter
public SFVec3f bboxCenter
bboxSize
public SFVec3f bboxSize
nodeName
public java.lang.String nodeName()
- Description copied from class: Node
- the node's name
- Overrides:
- nodeName in class GroupNode
traverse
public void traverse(Traverser t)
- Description copied from class: Node
- must call appropriate method of Traverser for node traversal
- Overrides:
- traverse in class GroupNode
mouseMove
public void mouseMove(float downx,
float downy,
Hitpoint hit,
double timestamp)
- Anchor does not react on pointer events in pw.
It only implements PointerSensor to allow uniform treatment
of Anchors like pointer sensors by an application.
- Specified by:
- mouseMove in interface PointerSensor
mouseDrag
public void mouseDrag(float downx,
float downy,
Hitpoint hit,
double timestamp)
- Description copied from interface: PointerSensor
- handles mouse-drag in interaction mode
- Specified by:
- mouseDrag in interface PointerSensor
mouseDown
public void mouseDown(float downx,
float downy,
Hitpoint hit,
double timestamp)
- Description copied from interface: PointerSensor
- handles mouse-button-down in interaction mode
- Specified by:
- mouseDown in interface PointerSensor
mouseUp
public void mouseUp(double timestamp)
- Description copied from interface: PointerSensor
- handles mouse-button-up in interaction mode
- Specified by:
- mouseUp in interface PointerSensor
mouseExit
public void mouseExit(double timestamp)
- Description copied from interface: PointerSensor
- clears sensor, sends isOver false
- Specified by:
- mouseExit in interface PointerSensor