[Paraview] Create SliderWidget in Python Shell

Moritz Sigg siggmoritz at gmail.com
Fri Nov 10 04:52:50 EST 2017


Hello,

I would like to add a slider widget to a RenderView in Paraview using
python scripting. I already managed to create a new window containing a
slider widget (vtkSliderWidget). I'm wondering how to add the Slider Widget
to an existing RenderView inside Paraview. If I understood it correctly, I
need references to Paraview’s RenderWindow and RenderWindowInteractor in
order to connect the slider to Paraview’s current RenderView. I know that I
can get the RenderView itself using GetRenderView(). Is there a way to get
the RenderWindow und Interactor the RenderView is associated with?

I'd be grateful if anyone could help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171110/1a8f7e5f/attachment.html>


More information about the ParaView mailing list