[vtkusers] vtk + openvr + python
Serge K.
skab12 at gmail.com
Mon Jul 30 13:00:50 EDT 2018
Great, thanks for this information ken! I will try it.
Serge K.
On Mon, Jul 30, 2018 at 6:46 PM Ken Martin <ken.martin at kitware.com> wrote:
> I think this is fixed in VTK master. - Ken
>
> On Tue, Jul 10, 2018 at 11:24 AM, Serge K. <skab12 at gmail.com> wrote:
>
>> 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)
>> Out[6]:
>> ['__doc__',
>> '__file__',
>> '__loader__',
>> '__name__',
>> '__package__',
>> '__spec__',
>> 'vtkRenderingOpenVRObjectFactory']
>>
>> 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:
>> https://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
>
> --
> Ken Martin PhD
> Distinguished Engineer
> Kitware Inc.
> 101 East Weaver Street
> Carrboro, North Carolina
> 27510 USA
>
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee. Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and
> destroy the original message. Thank you.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180730/b2de8f4e/attachment.html>
More information about the vtkusers
mailing list