jspanchu/vtkDearImGUIInjector

Can multiple vtkRenderWindow be displayed?

Closed this issue · 4 comments

I need to display 4 vtkRenderWindow, respectively displaying the MPR slice and VR. Using Qt, I only need to put 4 QVTKOpenGLNativeWidgets in the layout and put the vtkRenderWindow inside. I want to know if multiple vtkRenderWindow can be displayed at the same time using vtkDearImGUIInjector?

vktDearImGUIInjector injects the UI elements into a render window, that's it.

This class does not have a notion of layout like the Qt class you're referring to.

So, I can only display one vtkRenderWindow at a time?

Yup. If it helps, You can continue to use Qt to lay out multiple render windows and inject dear Imgui into each of those.

OK, thanks