[vtkusers] Question about relationship between interactor/render window and QVTKRenderWindowInteractor
elvis.stansvik at orexplore.com
Thu Jun 16 03:12:08 EDT 2016
QVTKRenderWindowInteractor.__init__ has the following snippet:
self._Iren = kw['iren']
self._Iren = vtk.vtkGenericRenderWindowInteractor()
That is, the render window is only set on the interactor (with
SetRenderWindow) if the interactor is the automatically created one, not if
it is supplied by the user of the class (through the iren keyword argument).
My question is what the reason for this is? Is it because:
1. It is assumed that the user will do this him/herself, or
2. there are use cases where the user might want to use an interactor that
has another render window set (not the one used by the widget), or
3. something else?
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers