de.jreality.toolsystem
Class DeviceManager
java.lang.Object
de.jreality.toolsystem.DeviceManager
public class DeviceManager
- extends Object
TODO: document this
- Author:
- weissman
Method Summary |
void |
dispose()
|
void |
setSystemTime(long timeStamp)
|
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. |
DeviceManager
public DeviceManager(ToolSystemConfiguration config,
ToolEventQueue queue,
Viewer viewer)
updateImplicitDevices
public 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)