de.jreality.toolsystem
Class DeviceManager

java.lang.Object
  extended by de.jreality.toolsystem.DeviceManager

public class DeviceManager
extends java.lang.Object

TODO: document this

Author:
weissman

Constructor Summary
DeviceManager(ToolSystemConfiguration config, ToolEventQueue queue, Viewer viewer)
           
 
Method Summary
 void dispose()
           
 void setSystemTime(long timeStamp)
           
 java.util.List<ToolEvent> updateImplicitDevices()
          update implicit devices, i.e., CameraToWorld and RootToCamera Note that this method doesn't post any tool events because any tools or virtual devices that depend on the camera won't need this information until they're triggered by some other event.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceManager

public DeviceManager(ToolSystemConfiguration config,
                     ToolEventQueue queue,
                     Viewer viewer)
Method Detail

updateImplicitDevices

public java.util.List<ToolEvent> updateImplicitDevices()
update implicit devices, i.e., CameraToWorld and RootToCamera Note that this method doesn't post any tool events because any tools or virtual devices that depend on the camera won't need this information until they're triggered by some other event. TODO: viewer.getCameraPath().getInverseMatrix may not always be up to date due to threading issues --- implement some other way of obtaining this matrix, e.g., by adding this functionality to camera utilities


dispose

public void dispose()

setSystemTime

public void setSystemTime(long timeStamp)