[Paraview] Controlling RenderView using Wiimote and VRPlugin

Aashish Chaudhary aashish.chaudhary at kitware.com
Thu Feb 28 17:16:15 EST 2013


On Thu, Feb 28, 2013 at 5:11 PM, Nikhil Shetty <nikhil.shetty at kitware.com>wrote:

> Hi Bueter,
>
> You will first have to figure out how to set a VRPN server and WiiMote
> working for wiimote Joystick (I'm guessing its the four buttons in front
> for left,right,top,bottom).  Here is tutorial that may help you.
> http://www.vrgeeks.org/vrpn/tutorial---use-vrpn. It dont think it uses
> the buttons but you can tweak the example to write one for them.
>
> Once you have the VRPN server ready then connecting them to PV should be a
> matter easy. The last I checked I dont think the VRPlugin has any
> interaction styles handling button input.
>

Button inputs are handled (if I understood the question right)

http://paraview.org/gitweb?p=ParaView.git;a=blob;f=Plugins/VR/vtkVRGrabWorldStyle.h;h=087c37e76b69d420f2338a18eed61e6124e27e45;hb=HEAD


> However this may have changed in the recent months.  If it has not then
> you will have to write a new interactor style to handle this.
>
> -Nikhil
>
>
> On Thu, Feb 28, 2013 at 4:41 PM, Bueter, Travis J. (S&T-Student) <
> tjbxv7 at mail.mst.edu> wrote:
>
>>  Hi,****
>>
>> ** **
>>
>> I am currently trying to create a way of controlling the camera in
>> ParaView using the Joystick of a Wiimote (WiiC library). I had previously
>> attempted this by using Pat Marion’s socket plugin to send camera changes
>> through the python shell but ran into a problem with sending too many
>> Render() commands. It was suggested to me by Pat Marion and the Kitware
>> employees I met at SuperComputing 2012 to use the VRPlugin to accomplish
>> this. So after a 3 month hiatus from my project, I have finally gotten back
>> to it but am currently lost in documentation. I have no idea where to begin
>> with writing the code for a custom device and then connecting to and
>> writing the camera changes to the VRPN server for ParaView. If someone
>> could point me in the right direction of documentation that explains how to
>> create a custom device/interaction for the VRPlugin/VRPN or some examples
>> of such user created applications I would greatly appreciate it! ****
>>
>> ** **
>>
>> Thanks,****
>>
>> ** **
>>
>> *Travis J. Bueter*
>>
>> ----------------------------------------------------------------------***
>> *
>>
>> *Missouri University of Science and Technology - Junior*
>>
>> B.S. Computer Engineering/Computer Science****
>>
>> tjbxv7 at mail.mst.edu****
>>
>> (573)-238-5843****
>>
>> ** **
>>
>> IT Research Support Service****
>>
>> Treasurer – MS&T Robotics Competition Team****
>>
>> ----------------------------------------------------------------------***
>> *
>>
>> ** **
>>
>> _______________________________________________
>> 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 ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>
>
> --
> Regards
> Nikhil
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>


-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130228/a90eb271/attachment-0001.htm>


More information about the ParaView mailing list