[vtkusers] VTK openVR Controller Settings

Aditya Dua adityadua24 at gmail.com
Sat Oct 14 02:08:47 EDT 2017


Hi Everyone,

Can someone please show me how to turn on ray for htc vive controllers ?

I know I need to use ShowRay function of vtkOpenVRInteractorStyle:- 
https://www.vtk.org/doc/nightly/html/classvtkOpenVRInteractorStyle.html

But I am unable to pass the proper argument and I get an exception
What I have tried doing:-

vtkEventDataDevice controller = vtkEventDataDevice::RightController;
style->ShowRay(controller);

But it doesn’t work ☹

Can someone please help!

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171014/66b33e10/attachment.html>


More information about the vtkusers mailing list