|
||||||||||
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.camera.CameraView
Implementation of DynamicObject Camera.
Constructor Summary | |
CameraView()
Sole & void constructor. |
Method Summary | |
void |
bind(java.lang.String pos,
java.lang.String ori)
Bind camera |
void |
eventPerformed()
Executed when a VRML Event is received. |
CameraModel |
getModel()
|
void |
init(java.util.Hashtable ht)
Initializes necessary parameters to use this class. |
void |
unBind()
Unbind camera |
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 CameraView()
params
- Noneexceptions
- No exceptions thrownMethod Detail |
public void init(java.util.Hashtable ht)
init
in interface ViewInterface
z
- 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 void bind(java.lang.String pos, java.lang.String ori)
CameraListener
bind
in interface CameraListener
ants.move.core.models.camera.CameraListener
pos
- position "x y z"ori
- rotation "x y z o"public void unBind()
CameraListener
unBind
in interface CameraListener
public void eventPerformed()
VRMLEventListener
eventPerformed
in interface VRMLEventListener
eventPerformed
in class DynamicObject
ants.move.core.views.VRMLEventListener
params
- Noneexceptions
- No exceptions thrownpublic CameraModel getModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |