WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-08-2009, 11:05 AM
james007 james007 is offline
Member
 
Join Date: Oct 2009
Posts: 2
Mouse 2D coordinate to viz world 3D coordinate

Hi,

I am using mouse to navigate in Viz world 3D coordinate. How could i convert
mouse 2D to viz 3D coordinate system?

Thanks.

James
Reply With Quote
  #2  
Old 10-08-2009, 12:11 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You can use the viz.MainWindow.screenToWorld() command to convert 2D screen coordinates to 3D world coordinates. Have a look in the docs for more information.
Reply With Quote
Reply

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
A point in avatar's coordinate system omidbrb Vizard 2 05-15-2009 05:39 AM
Different coordinate system for plug-in and vizard API? reedev Plug-in development 4 12-10-2008 08:43 AM
General Questions about Vizard: World Viz dav Vizard 5 08-28-2006 03:44 PM
Mouse problem steve Vizard 7 07-14-2005 03:01 PM
Draw Line between Points selected by mouse Johannes Vizard 7 01-07-2005 02:50 PM


All times are GMT -7. The time now is 05:53 AM.


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