0

In c++, QVTKOpenGLNativeWidget can be included.

For python vtk, I also want to import QVTKOpenGLNativeWidget, is it possible? How can I import QVTKOpenGLNativeWidget?

1 Answer 1

1

No, you cannot import QVTKOpenGLNativeWidget in Python because the Python bindings for VTK doesn't have that class (as of VTK 8.2.0). A quick grep doesn't find it anywhere in the VTK python package. I grepped /usr/lib64/python3.6/site-packages/vtk* (which is where I have python3-vtk installed) recursively for QVTKOpenGLNativeWidget and grep didn't find anything.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.