I’m trying to run VTK Examples/GUI/Python/ImplicitPlaneWidget.py and ran into a couple of issues.
I downloaded & installed ParaView-5.8.0-MPI-Linux-Python3.7-64bit.tar.gz on Ubuntu 18.04.
Then I ran pvpython ImplicitPlaneWidget.py, where pvpython is the binary that came with the above package.
I get:
AttributeError: module ‘vtkmodules.all’ has no attribute ‘vtkLODActor’
In fact I get this error on every script that uses vtkLODActor.
So I replaced vtkLODActor to vtkActor, then I can see a window with a mace in a blue background, but I don’t see any implicit plane selection widget. I don’t see any error message otherwise.
I recompiled Paraview from scratch, and it seems like VTKRenderingLOD is not included in the build. I used the following cmake setting. I’m not all that familiar with cmake. Can someone enlighten me what’s going on?
You can pass -DVTK_MODULE_ENABLE_VTK_RenderingLOD=YES to force the module to build. @utkarshayachit Should the LOD module be tied to some ParaView build option?
Ah, yeah probably. I don’t know what vtkLODActor gets you on top of it, but not requiring a subclass if the base is sufficient for examples is probably better.