vtk + openvr + python

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

vtk + openvr + python

Serge K.
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.

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: