Open ctrueden opened 5 years ago
The "session replay" comes from 3D Viewer terminology, but we're really just talking about a macro recorder for a SciView "session" (e.g. each SciView knows the history of commands used since it was created). It gets a bit more complicated when it comes to Scenery's input handling, because the "input commands" in Scenery are not SciJava commands, they derive from ui-behaviour's Behaviour
. I would be tempted to punt on that (although I think people really do want to record the camera manipulation).
If session replays exist, then it should be possible to replay a session with a different dataset (by making a modification to the recorded session) and generate an "identical" video (in terms of camera work and scene manipulation) based upon different data.
Going through old notes I've written, I found this from the SciView hackathon:
SciJava
ScriptableEvent
interface layerjava.lang.reflect.Method
object? Or analogousObject obj, Object[] args
ModuleExecutedEvent
implementsScriptableEvent
org.scijava.script
gains ability to generate code from aScriptableEvent
(or the method invocation thingie it wraps)On the SciView side:
Node(s)?AddedEvent
)ScriptableEvent
But I forgot the context of what we were discussing, and what a "session replay" is. @kephale Do you remember?