Have pity on a poor iOS developer who's a little confused by some of the Qualcomm code (We don't deal often with things like the :: scope resolution operator for example).
I need to prepare some objects to correspond with every trackable object in the active dataset. I would like to iterate through the active dataset using the trackable name as a key, and create an NSDictionary of my own objects that have various properties I need (the model I'm using for each target and other data). What's a good strategy to create a 30-60 item NSDictionary of my custom objects anytime I load a new data set?
I see things like QCAR::ImageTracker::getActiveDataSet, in the API, but I'm a bit vexed by scope and syntax issues with trying to figure out how to use this and some of the other QCAR methods. Thanks in advance.
I just wanted to check whether you have read through the developer guide at https://ar.qualcomm.at/qdevnet/developer_guide ?
It's probably worth going through this and then as an exercise creating your own trackable and using it in the image targets application as this should give you a feel for how thing might work for you.
Essentially you can have multiple datasets here, each of which can contain a number of trackables of which up to five can be tracked simultaneously.
Not that only one dataset can be active at any one time [qUtils activateDataSet:targetEntry.dataSet];
Probably your best bet is to create a dataset via the MyTrackables section of the web site an incorporate it into your app subsequently.
HTH
N
BTW The core QCAR code is multi platform, and hence it makes heavy use of templates, rather than being in Objective C