[vtk-developers] vtkRenderingOpenVR tracking

Ken Martin ken.martin at kitware.com
Mon Dec 5 10:40:30 EST 2016


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

void vtkOpenVRRenderWindowInteractor::DoOneEvent

The pose code for the headset uses OpenVR and is in

void vtkOpenVRRenderWindow::UpdateHMDMatrixPose()

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.


On Mon, Dec 5, 2016 at 8:34 AM, Isabella Morgan <isabellamorgan at me.com>
wrote:

> Hello,
>
> 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?
>
> Thank you,
> Isabella Morgan
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
>


-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

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: <http://public.kitware.com/pipermail/vtk-developers/attachments/20161205/79b7e7f2/attachment.html>


More information about the vtk-developers mailing list