C ++中的Visual Gesture Builder [英] Visual Gesture Builder in C++

查看:135
本文介绍了C ++中的Visual Gesture Builder的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在MSOpenTech的openFrameworks(C ++)Universal Branch工作,为永久安装构建了一个win-rt应用程序。

I am working in the Universal Branch of openFrameworks (C++) from MSOpenTech, building a win-rt app for a permanent install.

我有Kinect v2传感器在工作非常好的环境,并希望实现自定义手势(离散和连续)

I have the Kinect v2 sensor working very well in the environment and would like to implement custom gestures (discrete and continuous)

我有一个现有的WPF应用程序,它使用可视手势构建器进行自定义手势,所以我很熟悉它是如何做的走到了一起。我想把它移植到C ++,所以我可以使用openFrameworks来构建我的应用程序,但我正在努力解决这个问题。

I have an existing WPF app that uses visual gesture builder for custom gestures so I am pretty familiar with how it comes together. I would like to port this to C++ so I can use openFrameworks to build my application, but am struggling with the process.

是否有任何代码示例或其他在线资源可以帮助我开始?我遇到的所有内容都是针对C#。

Are there any code samples or other online resources to help get me started? Everything that I have come across is for C#.

提前致谢

https://github.com/MSOpenTech/openFrameworks

https://github.com/MSOpenTech/openFrameworks

推荐答案

当你说C ++时,Windows上有两种风格(Win32和WinRT / Cx)。既然您说过Universal,那么您需要查看SDK的Xaml版本,因为它适用于WinRT / Cx商店应用程序。  查看在Cx中使用的
api的离散手势基础知识,因为它与两者都是相同的扩展库。要考虑的事情是任何参考的对象将使用^而不是*因为它们是引用计数。
When you say C++ there are 2 flavors on Windows(Win32 and WinRT/Cx). Since you said Universal, you need to look at the Xaml version of the SDK since that is for WinRT/Cx store apps.  Have a look at the Discrete Gesture Basics for the api to use in Cx since it is the same extension library for both. The thing to consider is any object that would be a reference will use the ^ instead of * because they are reference counted.


这篇关于C ++中的Visual Gesture Builder的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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