KudanAR - Android
ARTrackableSet Class Reference

Public Member Functions

 ARTrackableSet ()
 
List< ARImageTrackablegetTrackables ()
 
void loadFromPath (String path)
 
void loadFromAsset (String asset)
 

Detailed Description

This class represents a set of ARImageTrackable objects, imported from a .KARMarker file.

Constructor & Destructor Documentation

ARTrackableSet ( )
inline

Initialises an empty ARTrackableSet.

Member Function Documentation

List<ARImageTrackable> getTrackables ( )
inline

Returns the list of all ARImageTrackable objects in this set.

Returns
The list of ARImageTrackable objects in this set.
void loadFromAsset ( String  asset)
inline

Load a .KARMarker file into the ARTrackableSet from a bundled asset.

Example of use:

imageTrackableSet.loadFromAsset("example.KARMarker");
Parameters
assetThe file relative to the main bundle, including extension.
void loadFromPath ( String  path)
inline

Load a .KARMarker file into the ARTrackableSet from a full file path.

Example of use:

imageTrackableSet.loadFromPath('/mnt/sdcard/images/example.KARMarker");
Parameters
pathThe full path name to the trackable set file. This includes all folders and the file extension. This file should have been generated by the Kudan AR Toolkit and be in the .KARMarker format.

The documentation for this class was generated from the following file: