[vtkusers] vtkExternalOpenGLRenderWindow not Python-wrapped?
Elvis Stansvik
elvis.stansvik at orexplore.com
Sat Nov 10 07:58:37 EST 2018
My bad, I was using a different VTK than what I thought I was.
Elvis
Den lör 10 nov. 2018 kl 11:34 skrev Elvis Stansvik
<elvis.stansvik at orexplore.com>:
>
> 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.
> >>> 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
More information about the vtkusers
mailing list