I have a few nested gaze-aware elements in my WPF application. In this case, a ListBoxItem that contains “move up” and “move down” buttons on each list box element. I have a WpfInteractor registered for the ListBoxItem and for both the up and down buttons.
The WpfInteractor.GetGazePointDataStream().GazePoint() calls the GazePont callback even if the gaze is on the top most element. Is there a way to tell the interactor to ignore gaze to a child element that also has an attached WpfInteractor?
Hi @generalfault, I am afraid that there is not a way to tell the interactor to ignore the child object, as the gaze stream event being used is using builds on Gaze Aware, which is hierarchical: ie parent elements have focus if children have focus.
If you only want to know if the up or down arrow has gaze focus (or the actual list box item as well of course), you can just use the HasFocus (or HasActivationFocus/TentativeActivationFocus) properties or corresponding callbacks and only get simple events for that, you don’t need to use the actual gaze points for anything. For that, there is even built-in xaml support if you don’t want to use code behind. Hopefully this answers your question!
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Are you planning to make your eye Tracker enabled application/game available to many people? We hope so, and for this reason, we have done our best to make it easy for you to distribute your applications and games built using the Tobii SDKs.
When you download a Tobii SDK you agree to an SDK License Agreement that (with a few exceptions) allows you distribute the Tobii client library files necessary to add eye tracking to your application. One limitation is that you may only use the Tobii Core SDK to develop interactive applications. If you want to develop software for analytical purposes, post processing or aggregation of eye tracking data across multiple users, please Contact Tobii Pro. Also, you may not use the SDK to develop software that is used in so-called high-risk use applications.
We at Tobii also want to do our best to help you reach as many people as possible with your application, and help you to commercialize it if that is your goal. Contact us if you want to know more about what the opportunities will be for you during the current year, and how we expect the market for eye tracking in consumer electronics to evolve.