[Paraview] Using VR-Style input devices

Nikhil Shetty nikhil.shetty at kitware.com
Wed Oct 24 10:28:28 EDT 2012


Hi,

On Wed, Oct 24, 2012 at 9:40 AM, Johannes Zarl <johannes.zarl at jku.at> wrote:

> Hi,
>
> I'm currently trying to configure ParaView for a CAVE-like environment. So
> far
> I was able to set up the pvservers correctly and even make headtracking
> over
> VRPN work.
>
> Awesome.


> Myself, I'm more of a newbie concerning ParaView, so I'm having some
> trouble
> understanding the state-file and how to define a wand-device so that
> ParaView
> can use it.
>
> A state file represents the state of all the objects currently in the
scene.


> As far as I understand it, the VRPlugin reads the VRConnectionManager and
> VRInteractorStyles tags from the state-file and makes the connection to the
> server.
>
> This was more of the hack way of connecting device inputs to different
actions. I think there is a GUI in the works that would make this easier.


> The Styles in VRInteractorStyles are supposed to reference a proxy name,
> that
> they are then attached to. So in this example:
>
> <VRInteractorStyles>
>    ...snip...
>   <Style class="vtkVRStyleGrabNTranslateSliceOrigin"
> origin="CutFunction.Origin">
>    <Button name="travel.2"/>
>    <Tracker name="travel.wand"/>
>   </Style>
>   <Style class="vtkVRStyleGrabNRotateSliceNormal"
> normal="CutFunction.Normal">
>     <Button name="travel.3"/>
>     <Tracker name="travel.wand"/>
>   </Style>
> </VRInteractorStyles>
>
> The state-file should have a node <ProxyCollection name="CutFunction">
> defined
> somewhere?
>
>
The cut function comes in when you either put in a clip or a slice filter.


> How do I define such a CutFunction? What other Proxies are there that can
> be
> defined/connected to a tracker/button/analog device?




You can link up the interactor styles to any proxy actually. It mainly
depends on the output type of the interactor style and the input type of
the proxy.



Cheers,
>   Johannes
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121024/16268344/attachment-0001.htm>


More information about the ParaView mailing list