Elvis Stansvik
2018-11-10 10:34:10 UTC
Hi all,
I found the example at https://github.com/nicanor-romero/QtVtk quite
interesting (VTK inside Qt Quick as a FBO item), and for a fun weekend
project wanted to see if it would at all be possible to port it to
Python.
But hit a snag quite quickly as it seems vtkExternalOpenGLRenderWindow
is not Python-wrapped:
Python 3.6.6 (default, Sep 12 2018, 18:26:19)
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux
Type "help", "copyright", "credits" or "license" for more information.
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'vtkExternalOpenGLRenderWindow'
I couldn't find it tagged with WRAP_EXCLUDE_PYTHON though. Is this
class supposed to be wrapped? David?
Cheers,
Elvis
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Search the list archives at: http://markmail.org/search/?q=vtkusers
Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers
I found the example at https://github.com/nicanor-romero/QtVtk quite
interesting (VTK inside Qt Quick as a FBO item), and for a fun weekend
project wanted to see if it would at all be possible to port it to
Python.
But hit a snag quite quickly as it seems vtkExternalOpenGLRenderWindow
is not Python-wrapped:
Python 3.6.6 (default, Sep 12 2018, 18:26:19)
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux
Type "help", "copyright", "credits" or "license" for more information.
from vtk import vtkExternalOpenGLRenderWindow
Traceback (most recent call last):File "<stdin>", line 1, in <module>
ImportError: cannot import name 'vtkExternalOpenGLRenderWindow'
I couldn't find it tagged with WRAP_EXCLUDE_PYTHON though. Is this
class supposed to be wrapped? David?
Cheers,
Elvis
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Search the list archives at: http://markmail.org/search/?q=vtkusers
Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers