|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--ants.move.core.views.DynamicObject
|
+--ants.move.core.views.hook.HookView
Implementation of DynamicObject Hook.
| Constructor Summary | |
HookView()
Sole & void constructor. |
|
| Method Summary | |
void |
eventPerformed()
Executed when a VRML Event is received. |
void |
hook(java.lang.String pos,
java.lang.String ori)
Hook |
void |
hookOrientationChanged(java.lang.String value)
Change hook orientation |
void |
hookPositionChanged(java.lang.String value)
Change hook position |
void |
init(java.util.Hashtable ht)
Initializes necessary parameters to use this class. |
float |
to1d(float n)
Trims a float to an only decimal digit. |
void |
unHook()
Unhook |
| Methods inherited from class ants.move.core.views.DynamicObject |
addListener, catchNode, getBrowser, getName, getNode, getVRMLNodeName, getZone, getZoneName, printMsg, setaddChValue, setaddChValue, setBrowser, setChNodes, setName, setreChValue, setreChValue, setVRMLNodeName, setZoneName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HookView()
params - Noneexceptions - No exceptions thrown| Method Detail |
public void init(java.util.Hashtable ht)
init in interface ViewInterfacez - Zone nameb - Reference to VRML browsern - VRML Node named - Object names - Elvin4 sessionr - Used to dynamically add VRML objects to the sceneexceptions - No exceptions thrownpublic float to1d(float n)
n - Number to trimexceptions - No exceptions thrownpublic void eventPerformed()
eventPerformed in class DynamicObjectparams - Noneexceptions - No exceptions thrown
public void hook(java.lang.String pos,
java.lang.String ori)
HookListenerhook in interface HookListenerants.move.core.models.hook.HookListenerpos - position "x y z"ori - rotation "x y z o"public void unHook()
HookListenerunHook in interface HookListenerpublic void hookPositionChanged(java.lang.String value)
HookListenerhookPositionChanged in interface HookListenerants.move.core.models.hook.HookListenervalue - position "x y z"public void hookOrientationChanged(java.lang.String value)
HookListenerhookOrientationChanged in interface HookListenerants.move.core.models.hook.HookListenervalue - rotation "x y z o"
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||