WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-11-2005, 10:20 PM
vsully vsully is offline
Member
 
Join Date: Sep 2004
Posts: 24
Send a message via AIM to vsully
partially stopping tracking

Hi,

I'm using both ppt and intersense for auto-tracking. While running the script, I want to halt just the ppt but allow the intersense to continue functioning. I've tried issuing a viz.tracker(viz.STOP) command, but that shuts down both trackers.

Is there a way I can stop just one?

Thanks.
Reply With Quote
  #2  
Old 01-12-2005, 10:02 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

There is no way to stop only one tracker, but you can stop all of them and then add one at a time. So to halt the ppt tracker you could do the following:
Code:
view = viz.get(viz.MAIN_VIEWPOINT)

#Stop all trackers
view.unlink()

#Add only the intersense tracker
view.link(intersense)
Then to resume the ppt tracker you would do this:
Code:
#Resume ppt tracker
view.link(ppt)
Reply With Quote
Reply


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 01:00 PM.


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