|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.web3d.vrml.renderer.ogl.input.DefaultPickingManager
public class DefaultPickingManager
Manager for processing the functionality of the Picking Utilities component.
Picking and, ultimately, n-body object collision detection is handled by this manager.
| Constructor Summary | |
|---|---|
DefaultPickingManager()
Construct a new instance of this class. |
|
| Method Summary | |
|---|---|
int |
addObjectType(java.lang.String type)
Add a new flag to the system and get told what bitmask to use. |
void |
addSensor(VRMLPickingSensorNodeType sensor)
Add a new sensor instance to the system for processing. |
void |
clear()
Force clearing all state from this manager now. |
void |
loadScene(BasicScene scene)
Load the contents of this scene into the sensor manager. |
void |
processPickSensors(double time)
Process the list of picking sensors now. |
void |
removeObjectType(java.lang.String type)
Notify the system that the flag is no longer being used by this node. |
void |
removeSensor(VRMLPickingSensorNodeType sensor)
Cleanup the given sensors and remove them from the list of processing to be done each frame. |
void |
setErrorReporter(ErrorReporter reporter)
Register an error reporter with the engine so that any errors generated by the loading of script code can be reported in a nice, pretty fashion. |
void |
unloadScene(BasicScene scene)
Unload the contents of this scene into the sensor manager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPickingManager()
| Method Detail |
|---|
public void setErrorReporter(ErrorReporter reporter)
setErrorReporter in interface PickingManagerreporter - The instance to use or nullpublic void processPickSensors(double time)
processPickSensors in interface PickingManagertime - The timestamp for "now"public void addSensor(VRMLPickingSensorNodeType sensor)
addSensor in interface PickingManagersensor - The sensor instance to addpublic void removeSensor(VRMLPickingSensorNodeType sensor)
removeSensor in interface PickingManagersensor - The sensor instance to removepublic void loadScene(BasicScene scene)
loadScene in interface PickingManagerscene - The scene to source data frompublic void unloadScene(BasicScene scene)
unloadScene in interface PickingManagerscene - The scene to source data frompublic void clear()
clear in interface PickingManagerpublic int addObjectType(java.lang.String type)
addObjectType in interface OGLPickingFlagConvertortype - The type string to use
public void removeObjectType(java.lang.String type)
removeObjectType in interface OGLPickingFlagConvertortype - The type string to use
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||