"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Flow of control in Dominoes

Hey need some lil help in understanding the flow of control in Dominoes app..I could figure out the most of it.. The place where im stuck is the flow of program when user selects a domino. ->user selects one of the domino ->a delete button appears[I got why the delete button appears] could you tel me how the augmented domino acts as a button..? each domino acts like a button .. could you tel me how this works? [You may give reference thru the flow of control in Dominoes.cpp] Thank you -Mukundan

Only the "leading" domino acts like a button. A virtual button is dynamically placed under the first domino. The button is created in the onQCARInitializedNative method (addVirtualButton).

Maybe you weren't asking about the virtual buttons though... If you're asking how the user selects a domino by tapping it, that is through the "picking" algorithm included in the sample.

elixirbash

Fri, 03/23/2012 - 08:40

Thank you Ksiva..That was enlightening and you had explained what i was actually looking for. Hey i'd also like to know if there is a way to partially update the xml and dat file of the dataset after loading them. The reason why im asking for this is, in the app we are working we have to have a dat

Unfortunately right now you have to download the entire dataset, there is no way to add new targets to an existing dataset. - Kim