Can multiple vtkRenderWindow be displayed?
Closed this issue · 4 comments
xjjgjmeng commented
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?
jspanchu commented
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.
xjjgjmeng commented
So, I can only display one vtkRenderWindow at a time?
jspanchu commented
Yup. If it helps, You can continue to use Qt to lay out multiple render windows and inject dear Imgui into each of those.
xjjgjmeng commented
OK, thanks