[vtkusers] vtk + openvr + python

Serge K. skab12 at gmail.com
Tue Jul 10 11:24:42 EDT 2018

Hi All,

I just compiled VTK 8.1.1 with OpenVR 1.0.15 and python wrapping (windows
64bit - python 3.6)

When I import vtk module in a python interpreter, I do not have access to
these functions :
- vtk.vtkOpenVRRenderer()
- vtk.vtkOpenVRRenderWindow()
- vtk.vtkOpenVRRenderWindowInteractor()
- vtk.vtkOpenVRCustomInteractorStyle()

The only available function is : vtkRenderingOpenVRObjectFactory.
Below, this is what I obtain after a "dir"

In [5]: import vtk.vtkRenderingOpenVRPython as vr

In [6]: dir(vr)

Is it normal? Did I forget something during compilation step?  What did I
do wrong? How can I get these functions?

Thanks in advance for any suggestion

Serge K.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180710/2e4364a5/attachment.html>

More information about the vtkusers mailing list