Skip to content
This repository was archived by the owner on Oct 13, 2024. It is now read-only.
This repository was archived by the owner on Oct 13, 2024. It is now read-only.

driving window example #2

@xulman

Description

@xulman

When attempting to have synchronized views on the same data in both Mastodon and sciview, there was this concept of a driving window in Mastodon that dictated what is the current time point were are looking at in sciview, the deal is that the driving window is the one from whose menu the sciview is started... not very initiutive solution

perhaps, when a sciview is started from Mastodon, a mini-controlling window can come up with the following controls

  • locks bar, in the true Mastodon style, this would make this window "synced" to anything in Mastodon that user decides to (and would forward its state to sciview)
  • a bunch of checkboxes through which users control direction and level of synchronization
    • synchonize the view in sciview with Mastodon
    • synchronize the view Mastodon with sciview
    • sync also viewing angle
    • pass spots highlighting
    • update spots positions (if I move a spot in Mastodon shall it move in sciview, or if I move it in sciview should it move in Mastodon too)
    • etc.... show it to users, they're usually creative...

Example code for the former, the locks bar:

The code ATM in the repo is always taking the first view, ignores the others... but I have a "mini-lib" with GUI/scijava dialog to choose the view, and inspect around....

hope it helps to get us started :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions