Xj3D VRML/X3D Code API

org.web3d.vrml.renderer.j3d.input
Interface J3DSensorManager

All Superinterfaces:
SensorManager
All Known Implementing Classes:
DefaultSensorManager

public interface J3DSensorManager
extends SensorManager

Java3D extensions to the SensorManager interface.

Version:
$Revision: 1.8 $
Author:
Justin Couch

Method Summary
 boolean getNavigationEnabled()
          Get the currently set navigation state.
 void setGlobalEffectsHandler(J3DGlobalEffectsHandler handler)
          Set the global effects handler for this sensor manager.
 void setNavigationEnabled(boolean state)
          Enable or disable navigation processing sub-section of the user input processing.
 void setRendererEffectsHandler(J3DRendererEffectsHandler handler)
          Set the renderer effects handler for this sensor manager.
 void setWorldRoot(javax.media.j3d.BranchGroup root)
          Set the branchgroup that acts as the world root for doing picking against.
 
Methods inherited from interface org.web3d.vrml.nodes.runtime.SensorManager
addSensors, addViewDependentNodes, clear, getUserInputHandler, getVRMLClock, loadScene, processUserInput, removeSensors, removeViewDependentNodes, setErrorReporter, setInputManager, setNavigationStacks, setPickingManager, setTerrainSectorManager, unloadScene, updateViewMatrix
 

Method Detail

getNavigationEnabled

public boolean getNavigationEnabled()
Get the currently set navigation state.

Returns:
true for the current state

setNavigationEnabled

public void setNavigationEnabled(boolean state)
Enable or disable navigation processing sub-section of the user input processing. By default the navigation processing is enabled.

Parameters:
state - true to enable navigation

setGlobalEffectsHandler

public void setGlobalEffectsHandler(J3DGlobalEffectsHandler handler)
Set the global effects handler for this sensor manager.

Parameters:
handler - The new handler instance to use

setWorldRoot

public void setWorldRoot(javax.media.j3d.BranchGroup root)
Set the branchgroup that acts as the world root for doing picking against.

Parameters:
root - The world root to pick against

setRendererEffectsHandler

public void setRendererEffectsHandler(J3DRendererEffectsHandler handler)
Set the renderer effects handler for this sensor manager.

Parameters:
handler - The new handler instance to use

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium