I’m trying to teach myself combining paraview server + browser frontend. I’m following the example in
and I don’t understand what paraview.simple provides over raw vtk methods. I see that simple functions are indeed simple, but it’s largely undocumented, and I’m especially having trouble how to map vtk concepts to simple.* functions. For example:
As I understand, simple.Cone() creates a vtkConeSource internally and wraps it in a python object, what kind of wrapping is happening? E.g., what’s the equivalent of GetOutputPort()? If you can point me to either python or c++ source code that does wrapping, I’d really appreciate it.
How can we chain filters, like we do in vtk SetInputConnection. I see that simple exposes many filters (clip, slice, …) but I can’t find examples of using them.
Is it possible to mix vtk.* functions and simple* methods in a server? For example, can I use vtk.vtkConeSource() and show it with simple.Show() (it didn’t work, but I wonder if I’m missing some wrapping).