![]() |
|
#1
|
|||
|
|||
|
How to use grabber tool with wand?
Hi Jeff,
I'd appreciate if you have some knowledge on how to use grabber tool with wand using ppt-tracking and wand 2014? Few more questions: What are proxy tools? What is the proxywrapper/grabberwrapper, their functions and what does the following code snippet from box stacker demo code do? Code:
def init():
"""Initialize the demo, only called once"""
# add grabber tools based on proxy tools
for proxyWrapper in vizconnect.getToolsWithMode('Proxy'):
grabberTool = tools.grabber.HandGrabber(usingPhysics=True,
usingSprings=True,
placementMode=tools.placer.MODE_MID_AIR)
name = 'box_stacker_grabber_tool_based_on_'+proxyWrapper.getName()
grabberWrapper = vizconnect.addTool(raw=grabberTool,
name=name,
make='Virtual',
model='Grabber')
# parent the grabber wrapper to the proxy's parent
grabberWrapper.setParent(proxyWrapper.getParent())
|
|
#2
|
|||
|
|||
|
You can add a grabber tool and map the wand input signals to the grabber functions in vizconnect. The vizconnect avatars and tools tutorial covers this topic using a desktop setup but the same concepts apply if you're using PPT tracking and wand. The proxy tool is used with the demo launcher as a placeholder tool. This is most likely unnecessary for your application but a description of the proxy tool is shown when you select it in the vizconnect > tools dialog.
|
![]() |
| Tags |
| box stacker, grabber, proxy, wand, wrapper |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using highlighter tool with wand | Samuli | Vizard | 2 | 09-24-2015 01:50 PM |
| How to get wand tracker? | Samuli | Vizard | 4 | 09-18-2015 01:09 PM |
| Wand triggers event | Samuli | Vizard | 1 | 09-02-2015 04:32 AM |
| Intersense wand and Head tracker | blessonisaac | Vizard | 0 | 01-10-2011 04:39 PM |
| CAVE, navigation, tracked wand, coordinate systems | JimC | Vizard | 6 | 10-09-2009 01:43 PM |