WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 09-16-2009, 09:03 AM
Andy Andy is offline
Join Date: Mar 2008
Location: Germany
Posts: 36
right-hand to left-hand coordinate System for a cave setup

I have a vicon tracking system (right-hand-coordinate-system) and I want to use this system in a cave environment. So I have to swap the position und orientation data of my vicon-body-object (“ViewTracker”).
For a “” object no problem, but how can I do this for the cave setup tracker-object?

Vicon = viz.add('vicon.dle', 0, ViconIP)
ViewTracker = Vicon.getBody(0)

cave = vizcave.Cave()

cave.setTracker(ViewTracker)   #ViewTracker.swapPos([3,2,-1])??? 
caveorigin = vizcave.CaveView(viewtracker)

origintracker = viztracker.KeyboardMouse6DOF()
originlink = (origintracker, caveorigin)
Reply With Quote
Old 09-16-2009, 10:17 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
There are a few ways to accomplish this. I would suggest using the filter.dle plug-in:
#Create filter extension
filter = viz.add('filter.dle')

#Swap position of view tracker
ViewTracker = filter.swap(ViewTracker,pos=[3,2,-1])
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 08:01 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC