You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a 4 panel setup with vtkRemoteViews that are controlled by a CSS display:grid setup.
I add vtkBorderWidgets to my render windows, and I am trying to keep their size in sync with the rendered image. I have noticed that when I set a new layout, there is a moment where the rendered image is stretched, which then quickly updates, to the correct size.
Using a trame.SizeObserver I am able to capture when the resize happens. But updating the position of the vtkBorderWidget using an @change observer for the size seems to resize it to the stretched image, not the final one that is rendered.
This can be better explained with the following video:
chrome_l7tQdkJw6L.mp4
Interestingly, the resize logic works fine when the expansion panel at the bottom is opened, just not on the layout change. I'm wondering if an event on vtkRemoteView for "final frame rendered" exists or could be added to help resolve this problem.
Hello,
I have a 4 panel setup with
vtkRemoteViews that are controlled by a CSSdisplay:gridsetup.I add
vtkBorderWidgets to my render windows, and I am trying to keep their size in sync with the rendered image. I have noticed that when I set a new layout, there is a moment where the rendered image is stretched, which then quickly updates, to the correct size.Using a
trame.SizeObserverI am able to capture when the resize happens. But updating the position of thevtkBorderWidgetusing an@changeobserver for the size seems to resize it to the stretched image, not the final one that is rendered.This can be better explained with the following video:
chrome_l7tQdkJw6L.mp4
Interestingly, the resize logic works fine when the expansion panel at the bottom is opened, just not on the layout change. I'm wondering if an event on
vtkRemoteViewfor "final frame rendered" exists or could be added to help resolve this problem.