All Packages Class Hierarchy This Package Previous Next Index
Class improv.util.VRMLManager
java.lang.Object
|
+----improv.util.VRMLManager
- public final class VRMLManager
- extends Object
- implements EventOutObserver, ImprovObserver
The VRMLManager object reads in a set of VRML nodes through the EAI
and generate a set of Improv Actors from those nodes. The VRMLManager
also manages communication between the VRML scene and Improv.
-
VRMLManager(Browser, Applet)
- The Basic Constructor
-
VRMLManager(Browser, Applet, int)
- Because of differences in the behavior of Cosmo Player between Netscape versions 3 and 4, the version flag is used
to ensure proper behavior from Improv.
-
callback(EventOut, double, Object)
- Implemented as part of the EventOutObserver interface.
-
getActor(int)
-
-
getActor(String)
-
-
getActors()
-
-
getNumberOfActors()
-
-
handleImprovEvent(ImprovEvent)
- Implemented as part of the ImprovObserver interface.
-
initVrml()
-
-
isInitialized()
-
-
setBehavior(String, String)
-
-
setProperty(String, String, float)
-
VRMLManager
public VRMLManager(Browser b,
Applet a)
- The Basic Constructor
VRMLManager
public VRMLManager(Browser b,
Applet a,
int version)
- Because of differences in the behavior of Cosmo Player between Netscape versions 3 and 4, the version flag is used
to ensure proper behavior from Improv.
setBehavior
public void setBehavior(String actor,
String state)
setProperty
public void setProperty(String actor,
String property,
float value)
getActors
public Actor[] getActors()
getActor
public Actor getActor(String actorName)
getActor
public Actor getActor(int i)
getNumberOfActors
public int getNumberOfActors()
initVrml
public void initVrml()
isInitialized
public boolean isInitialized()
handleImprovEvent
public void handleImprovEvent(ImprovEvent evt)
- Implemented as part of the ImprovObserver interface.
This is called by any ImprovObservable object to which this VRMLManager is an observer.
This is usually not called directly, but is used by Improv to update the VRML scene.
callback
public void callback(EventOut evt,
double d,
Object o)
- Implemented as part of the EventOutObserver interface. This is called in response to changes in eventOut
field values in the Improv VRML Nodes.
All Packages Class Hierarchy This Package Previous Next Index