<div dir="ltr">I've never tried using the Oculus with OpenVR. Having said that I would think the changes to add new event sources would be fairly localized. All event handling from controllers is in <div><br></div><div>void vtkOpenVRRenderWindowInteractor::DoOneEvent<br></div><div><br></div><div>The pose code for the headset uses OpenVR and is in </div><div><br></div><div>void vtkOpenVRRenderWindow::UpdateHMDMatrixPose()<br></div><div><br></div><div>I would think editing that would be the safest bet as the transforms can get messy between all the coordinate systems. I would suggest starting by making a subclass your of Interactor and RenderWindow from the current OpenVR ones and just override the key methods as needed.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 5, 2016 at 8:34 AM, Isabella Morgan <span dir="ltr"><<a href="mailto:isabellamorgan@me.com" target="_blank">isabellamorgan@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hello,</div><div><br></div><div>I'm currently using the vtkRenderingOpenVR module to render an image into an Oculus DK2 device. I'm looking at replacing the tracking information provided by the Oculus sensor with external data. Is this currently an option? If not, is it better to add in a couple functions to complete this or re-write the entire module?</div><div><br></div><div>Thank you,</div><div>Isabella Morgan</div></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtk-<wbr>developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">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.</span></div></div></div>
</div>