3 ms·
Any tips you can give as far as starting to learn VTK, especially its Python bindings?
by mindv0rtex 10y ago
Any tips you can give as far as starting to learn VTK, especially its Python bindings?
- sevensor 10y agoMy experience is with maintaining somebody else's code, so I learned by cutting myself on its sharp edges. My advice is to avoid if possible. Unlike Qt, you can't subclass Vtk objects in Python. Which is a huge pain, because the Vtk design is heavily object-oriented. The autogenerated documentation is pretty unhelpful. It looks like this: http://www.vtk.org/doc/nightly/html/classvtkSliderWidget.html http://www.vtk.org/doc/nightly/html/classvtkSliderWidget.htm.... Compare that with the magnificent Qt documentation: http://doc.qt.io/qt-5/qslider.html http://doc.qt.io/qt-5/qslider.html, and you'll see why I prefer working with Qt.