|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiicm.vrml.pw.Node
iicm.vrml.pw.Sensor
iicm.vrml.pw.PlaneSensor
public class PlaneSensor
Field Summary | |
---|---|
SFBool |
autoOffset
|
SFBool |
enabled
|
Hitpoint |
hitobj_
|
SFBool |
isActive
|
SFVec2f |
maxPosition
|
SFVec2f |
minPosition
|
SFVec3f |
offset
|
(package private) float[] |
oldTrackPos
|
SFVec3f |
trackPoint_changed
|
SFVec3f |
translation_changed
|
(package private) static int |
X
|
(package private) static int |
Y
|
(package private) static int |
Z
|
Fields inherited from class iicm.vrml.pw.Node |
---|
DEF_KEYWORD, EXTERNPROTO_KEYWORD, fieldIScontent, newISname, newISnum, objname, PROTO_KEYWORD, ROUTE_KEYWORD, SCRIPT_KEYWORD, subfields, USE_KEYWORD, userdata |
Constructor Summary | |
---|---|
PlaneSensor()
|
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 |
---|
addField, addRoute, atCurrLine, createInstanceFromName, deleteRoute, getEvent, readFields, readNode, readNodeBody, readNodeBody, tab, traverseNode, writeNode, writeSubfield, writeSubfields, writeX3dISfields, writeX3dNode, writeX3dNode, writeX3dNode, writeX3dSubfield, writeX3dSubfields, writeX3dSubfields |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public SFBool autoOffset
public SFBool enabled
public SFBool isActive
public SFVec2f maxPosition
public SFVec2f minPosition
public SFVec3f offset
public SFVec3f translation_changed
public SFVec3f trackPoint_changed
float[] oldTrackPos
static final int X
static final int Y
static final int Z
public Hitpoint hitobj_
Constructor Detail |
---|
PlaneSensor()
Method Detail |
---|
public java.lang.String nodeName()
Node
nodeName
in class Node
public void traverse(Traverser t)
Node
traverse
in class Node
public void mouseMove(float downx, float downy, Hitpoint hit, double timestamp)
mouseMove
in interface PointerSensor
public void mouseDrag(float dragx, float dragy, Hitpoint hit, double timestamp)
mouseDrag
in interface PointerSensor
public void mouseDown(float downx, float downy, Hitpoint hit, double timestamp)
mouseDown
in interface PointerSensor
public void mouseUp(double timestamp)
mouseUp
in interface PointerSensor
public void mouseExit(double timestamp)
mouseExit
in interface PointerSensor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |