Kinect作为鼠标光标...... [英] Kinect as Mouse Cursor...

查看:90
本文介绍了Kinect作为鼠标光标......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!我是新来的,所以可能有点虚拟问题,但我现在无法解决它。

Hello Everyone !!! I'm new here, so a little bit dummy question maybe, but I cannot solve it for a days now.

我的愿望是使用Kinect作为鼠标,特别是我想做的事情它在磁铁按钮上。此外,在后台我想有rgb图像。

My wish is to use Kinect as mouse, an esspecialy I want to do it on magnet buttons. Also, in background I want to have rgb image.

 我在这个论坛找不到我的问题的解决方案。问题在于锁定磁钮。 

 I cannot find solution to my problem in this forum. And the problem is with locking on the magnetic button. 

在我所拥有的代码中,光标是adorner element - circle,它跟踪最近玩家的主手,那部分效果很好。但是当我想使用磁性按钮时,它有偏移量来触发它。所以现在要触发按钮,我会在按钮的右下角触发磁铁按钮。

In code that I have, cursor is adorner element - circle, and it is tracking primary hand of closest player, and that part works good. But when I want to use magnetic button, it has offset to trigger it. So to trigger the button now, I mus to be in the lower right corner of the button to trigger the magnet button.

所以任何人都可以就此问题提供一些建议,或者有一些想法如何正确地声明按钮以便它起作用。

So can anyone give some advice on that problem, or has some ideas how to properly declare button so that it works.

而且,要清楚,我不想在整个显示中使用kinect作为鼠标,只在那个窗口中使用我有按钮和rgb图像。

And also, to be clear, I dont want to use kinect as mouse in whole display, only in that window in wich i have buttons and rgb image.

我在WPW窗口编程并使用C#语言。我的SDK版本是1.6。

I'm programming this in WPW window and using C# language. My SDK version is 1.6.

推荐答案

hi ,您可以使用kinect工具箱创建磁性按钮..

you can user kinect toolbox create magnetic buttons..

kinecttoolbox @codeplex @ com / 

kinecttoolbox@codeplex@com/ 


这篇关于Kinect作为鼠标光标......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆