ParaView VR Plugin state files

Addendum to http://www.paraview.org/Wiki/ParaView/Users_Guide/CAVE_Display

VRConnectionManager configuration deconstructed:

<VRConnectionManager>
 <VRPNConnection name="device_name" address="device_name@server_address">
 <Button id="button_id" name="button_name"/>
 <Button id="button_id" name="button_name"/>
 <Tracker id="0" name="tracker_pv_name"/>
 </VRPNConnection>
 </VRConnectionManager>

device_name: look in vrpn.cfg in the device server machine. The syntax for a particular device is usually

Vrpn_Class  device_name config_param1 config_param2

server_address : name of your machine on the LAN or your machine’s IP address.

button_name and tracker_pv_name:  the name of your device VRPN Connection instance in ParaView. This will be used later in VRInteractorStyles

VRInteractorStyles configuration deconstructed ( brackets [] denote optional):

<VRInteractorStyles> 
 <Style class="interactor_style_class" [origin="CutFunction.Origin"] [normal="CutFunction.Normal"] [set_property="RenderView1.property"]>
 <Button name="device_name.button_name"/>
 <Tracker name="device_name.tracker_pv_name"/>
 </Style> 
 </VRInteractorStyles>

<Style> element attributes :

set_property="RenderView1.property"

This means that the interactor style controls RenderView1’s property. Comprehensive list of proxies and properties

The two following attributes will only work if you also have a Slice filter in your state file. Otherwise* the application crashes.

origin="CutFunction.Origin"

Interactor style controls the slice filter’s origin position.

normal="CutFunction.Normal"

Interactor style controls the slice filter’s orientation.

*(as of 07/05/2012)

Advertisements

About Alexis Chan

https://alexisylchan.wordpress.com/about/
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s