Following-up from discussion notes here:
https://docs.google.com/document/d/1lbFj4N68PhuFC8NElz_7wVW655mMdxRdP8Qkn17wwA4
cc: @lassoan @floryst @jcfr @martinken @thewtex @aylward @timthirion
Widgets in vtk-js are at a very early stage. We brought up some issues with the current architecture, and believe now is the time to address some of them since the number of widgets in vtk.js is still very limited.
Please edit with suggestions...
Design could be somewhat similar to model-view-controller pattern, so I will use these terms here, but the final class names may be different:
Handle widget: I don't think we can afford to have a HandleWidget object per each handle. This is what killing the performance today. Instead a HandleWidget object must manage a set of points (up to at least a few thousands): rendering, picking, highlighting, selecting, moving
@lassoan what about:
Good idea, I think this would work better. This would somewhat change how pickers are created and registered in the picking manager. It is currently done by the widget representation, but maybe this would become responsibility of the controller.
@floryst @jourdain #done?
Yes
On Oct 29, 2018, at 21:11, Matt McCormick notifications@github.com wrote:
@floryst @jourdain #done?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Do we have good doc for the new architecture?
Cc: @finetjul
@floryst had my notes but I'm not sure we managed to formalize it online.
Currently working on making the docs! I'm stepping through the code and notes and sketching up a rough doc.
Thanks, @floryst! Can we keep that issue open then? Or open another issue?
I'll re-open for the purpose of tracking docs when I make that PR.
:tada: This issue has been resolved in version 12.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Most helpful comment
Currently working on making the docs! I'm stepping through the code and notes and sketching up a rough doc.